-- 作者:jinzita123
-- 发布时间:2019/10/16 17:16:55
--
补充: def get_data(obj, code, num=4, typeName=\'1m\'): data = history_bars(code, num, typeName, [\'open\', \'high\', \'low\', \'close\', \'datetime\'], True, adjusted_price=False) data = pd.DataFrame(data) if len(data)!=0: data.columns = [\'open\', \'high\', \'low\', \'close\', \'datetime\'] return data
其实就是history——bar的疑问
|