shidenggui / easyhistory

用于获取维护股票的历史数据
161 stars 124 forks source link

使用rqalpha的数据使用和更新都挺方便,但是接口设计过于简单了,批量获取过多的股票信息会造成内存爆炸 #22

Open audoe opened 7 years ago

audoe commented 7 years ago

easyhistory.history这个方法应该支持获取批量股票信息,并且可以指定时间 这样定义接口比较好 def history(stock_codes, start=None, end=None, market=None, bundle_path='~/.rqalpha/bundle')