全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 python论坛
8107 5
2016-10-26
Tquant是一个PYTHON的财经数据接口,除了网抓数据外,还整合了掘金量化的PYTHON接口。

网站:Tquant财经数据接口

Tquant接口列表                                                         [td]                                        [tr]                                        [/tr]
接口代码接口说明
get_financial(symbol) 财务数据
get_ipo() IPO新股上市数据
get_tfp(Date) 停牌复牌信息
get_brief(symbol_list) 上市公司基础资料
get_lastest(symbol_list) 股本,财务简报等最新数据:
get_dividend(symbol) 分红数据
get_allotment(symbol) 配股数据
get_fh_all() 当年全部股票的分红资料
get_stocklist() 全部A股列表
get_last_daybar(symbol_list) 截面数据
get_last_tick(symbol_list) TICK截面数据
get_last100_ticks(symbol_list) 最新100条TICK
get_all_ticks(symbol_list) 开盘来全部TICK
get_moneyflow(symbol_list) 当日资金流量截面数据
get_money_on_minute(symbol) 当日资金流量每分钟数据
get_money_30days(symbol) 30天的资金流量数据
get_tick_history(symbol,Date) 历史TICK接口
get_fjb(tick) 分价表
tick_to_min(tick,n) tick转分钟K
get_last_n_daybar(symbol,n,Type) 最近N个日K
get_yearlist(symbol): K线数量按年列表
get_daybar_year(symbol,year,Type) 按年提取日K
get_all_daybar(symbol,Type) 全部日K
get_stock_bar(symbol,Type) 证券实时行情接口
get_future_list(id) 期货分类数据
get_future_symbol(id) 某个品种的全部合约代码
get_zhuli() 4大期货交易所的主力合约
get_future_bars(symbol,Type) 期货实时行情接口
get_future_info(symbol) 期货合约基本信息
get_future_tick(symbol)  期货TICK数据
get_calendar(starttime,endtime) 交易日历


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-8-26 11:52:40
试图安装Tquant,使用pip install tquant。出错,安装不成功,求楼主解惑。环境:Win7 x64,Python 3.6,Anaconda。主要出错信息如下:
1、我已经提前安装了Microsoft Visual C++ Runtime Library, vc_redist.x64.exe。但还是出现了第一个错误,信息如下:
  building 'msgpack' library
  error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C+
+ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
  ----------------------------------------
  Failed building wheel for tquant

2、第2个错误如下,不知道是否由第一个错误引起的:难道我需要安装整套的Microsoft Visual C++?
    building 'msgpack' library
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual
C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

    ----------------------------------------
Command "c:\programdata\anaconda3\python.exe -u -c "import setuptools, tokenize;
__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-d21p5r39\\tquan
t\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C
:\Users\ADMINI~1\AppData\Local\Temp\pip-record-ljsytbvd\install-record.txt --sin
gle-version-externally-managed --compile" failed with error code 1 in C:\Users\A
DMINI~1\AppData\Local\Temp\pip-install-d21p5r39\tquant\
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2018-8-26 12:01:51
请问楼主哪里可以直接下载为Win64编译好的Tquant包?谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2018-8-26 12:02:33
这个地址已经失效了:http://landinghub.visualstudio.com/visual-cpp-build-tools
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-2-8 23:32:38
我已经安装tquant还没有使用 应该不错的
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2019-2-8 23:44:14
我已经安装tquant还没有使用 应该不错的
附件列表
微信图片_20190208234248.png

原图尺寸 31.75 KB

微信图片_20190208234248.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群