forked from waditu/tushare
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge latest tushare including pro api #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加3个新函数(可获取指定股票公司历史所有的财务报表数据)
增加获取黄金和外汇储备,get_gold_and_foreign_reserves()
#例如ts.get_k_data(code='601206',start='2015-11-01'),如果不加这个判断,会抛异常说data没有date属性(因为data为空DataFrame) 实际上你不需要抛异常,只用把这个空的df返回即可
修正ts.get_k_data
添加获取国内期货日数据功能
fix issue.
错误信息如下: /usr/bin/python2.7 /home/byhankswang/open-source-projects/tushare/test_unittest.py Traceback (most recent call last): File "/home/byhankswang/open-source-projects/tushare/test_unittest.py", line 64, in <module> df = dc.get_czce_daily(date="20170926", type="future") File "/home/byhankswang/open-source-projects/tushare/tushare/futures/domestic.py", line 156, in get_czce_daily if html.find(u'您的访问出错了') >= 0 or html.find('无期权每日行情交易记录') >= 0: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128) Process finished with exit code 1
修复函数get_czce_daily异常错误信息
fix ts.cap_tops exception
fix #433 补全获取股票行业分类数据
修复 get_nav_open 接口一次请求全部数据时报错 HTTP Error 500: Internal Server Error
…,BIAS,ASI,VR,ARBR,DPO,TRIX,BBI,MTM,OBV指标。
增加20种常用的技术指标算法
中金所csv文件有些数据缺失 导致如处理2018-01-19日文件时报错
Update domestic.py
修改get_sina_dd 方法
# Conflicts: # .gitignore # setup.py # tushare/__init__.py # tushare/stock/classifying.py # tushare/stock/cons.py # tushare/stock/reference.py # tushare/stock/trading.py
添加多种指标,并且结果与同花顺校验过
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.