首页 > 其他 > 详细

从BATS交易所获取空头头寸

时间:2016-08-07 17:00:48      阅读:275      评论:0      收藏:0      [点我收藏+]

Getting short volume from BATS

 
In my last post I have gone through the steps needed to get the short volume data from the BATS exchange. The code provided was however of the quick-n-dirty variety. I have now packaged everything to bats.py module that can be found on google code. (you will need the rest of the TradingWithPython library to run bats.py)

Usage:
1
2
3
4
5
6
import tradingWithPython as twp # main library
import tradingWithPython.lib.bats as bats # bats module
 
dl = bats.BATS_Data(‘C:\\batsData‘) # init with directory to save data
dl.updateDb() # update data
s = dl.loadData() # process zip files

从BATS交易所获取空头头寸

原文:http://www.cnblogs.com/duan-qs/p/5746360.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!