请选择 进入手机版 | 继续访问电脑版
楼主: mkhnhcow
7515 5

python财经数据接口Tquant [推广有奖]

  • 0关注
  • 0粉丝

学前班

40%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
20 点
帖子
1
精华
0
在线时间
0 小时
注册时间
2015-11-22
最后登录
2016-10-26

mkhnhcow 发表于 2016-10-26 16:07:35 |显示全部楼层 |坛友微信交流群
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
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) 交易日历


二维码

扫码加我 拉你入群

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

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

关键词:python quant 财经数据 Ant financial python 接口

derary66 发表于 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\

使用道具

derary66 发表于 2018-8-26 12:01:51 |显示全部楼层 |坛友微信交流群
请问楼主哪里可以直接下载为Win64编译好的Tquant包?谢谢!

使用道具

derary66 发表于 2018-8-26 12:02:33 |显示全部楼层 |坛友微信交流群
这个地址已经失效了:http://landinghub.visualstudio.com/visual-cpp-build-tools

使用道具

nickchen 发表于 2019-2-8 23:32:38 |显示全部楼层 |坛友微信交流群
我已经安装tquant还没有使用 应该不错的

使用道具

nickchen 发表于 2019-2-8 23:44:14 |显示全部楼层 |坛友微信交流群
我已经安装tquant还没有使用 应该不错的
微信图片_20190208234248.png

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-19 07:24