tushare股票前复权数据获取及实现均线、kdj、macd等计算

上传者: 36112576 | 上传时间: 2019-12-21 20:45:25 | 文件大小: 38KB | 文件类型: rar
解压后运行demo即可获取固定编码的股票日线数据,其中引用的函数ma、kdj、macd、rsi等计算代码位于indexes文件夹。demosession1只是添加了for循环用于获取所有沪深数据,获取数据值为前复权数据,和常规股票软件显示结果一致。

文件下载

资源详情

[{"title":"( 32 个子文件 38KB ) tushare股票前复权数据获取及实现均线、kdj、macd等计算","children":[{"title":"model_for_stock","children":[{"title":".gitignore <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"info","children":null,"spread":false},{"title":"database2csv.py <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 33.71KB </span>","children":null,"spread":false},{"title":"config.ini <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_rsi.py <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"test_kdj.py <span style='color:#111;'> 689B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"test_ma.py <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"test_macd.py <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"test_mtm.py <span style='color:#111;'> 608B </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"global_data.cpython-36.pyc <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"global_data.py <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"demo.py <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"demosession1.py <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"getid.py <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"indexes","children":[{"title":"cci.py <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"kdj.py <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"ma.cpython-36.pyc <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"macd.cpython-36.pyc <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"cci.cpython-36.pyc <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"kdj.cpython-36.pyc <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"mtm.cpython-36.pyc <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"base.cpython-36.pyc <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"rsi.cpython-36.pyc <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"ma.py <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"macd.py <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"rsi.py <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"mtm.py <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • jinking01 :
    这个运行出错怎么解决呀?谢谢 File "D:\ProgramData\Anaconda3\envs\model_for_stock\lib\socket.py", line 707, in cr
    2021-06-27
  • 土豆西瓜大芝麻 :
    这个运行出错怎么解决呀?谢谢 File "D:\ProgramData\Anaconda3\envs\model_for_stock\lib\socket.py", line 707, in cre
    2021-06-27
  • bamboo06 :
    不错,感谢分享
    2020-07-20
  • bamboo06 :
    不错,感谢分享
    2020-07-20
  • MOODSKY :
    非常好,感谢提供。
    2020-05-11
  • 李晋尘 :
    非常好,感谢提供。
    2020-05-11
  • tsaokeywoo :
    多谢分享。。。
    2019-09-23
  • tsaokeywoo :
    多谢分享。。。
    2019-09-23

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明