Skip to content
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 95 commits into from
Dec 12, 2019

Conversation

zhangyuting
Copy link
Owner

No description provided.

thippo and others added 30 commits January 14, 2017 22:41
添加3个新函数(可获取指定股票公司历史所有的财务报表数据)
增加获取黄金和外汇储备,get_gold_and_foreign_reserves()
#例如ts.get_k_data(code='601206',start='2015-11-01'),如果不加这个判断,会抛异常说data没有date属性(因为data为空DataFrame)
实际上你不需要抛异常,只用把这个空的df返回即可
添加获取国内期货日数据功能
jimmysoa and others added 29 commits September 13, 2017 23:42
错误信息如下:
/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
增加20种常用的技术指标算法
中金所csv文件有些数据缺失 导致如处理2018-01-19日文件时报错
# Conflicts:
#	.gitignore
#	setup.py
#	tushare/__init__.py
#	tushare/stock/classifying.py
#	tushare/stock/cons.py
#	tushare/stock/reference.py
#	tushare/stock/trading.py
添加多种指标,并且结果与同花顺校验过
@zhangyuting zhangyuting merged commit 1c2f01f into zhangyuting:master Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet