欢迎来到RankFan的Blogs

扩大
缩小

量化平台/数据的使用

聚宽

https://blog.csdn.net/lxb20083321/article/details/118669506

Get_price

field必须是['open', 'close', 'high', 'low', 'volume', 'money', 'avg', 'high_limit', 'low_limit', 'pre_close', 'paused', 'factor', 'price', 'open_interest']中的一个
image-20220827204314010

案例:聚宽的应用

TuShare

  • pro.index_weight

指数成分和权重, 比如获取 沪深300 里成分股在对应交易日的权重。

image-20220818163709100

如果换成其他指数可以嘛? 000002.sh 也可以换成上证指数。

  • index

指数日线行情, 可以指数的价格信息。

image-20220818170334798

posted on 2022-08-29 13:53  RankFan  阅读(52)  评论(0编辑  收藏  举报

导航