Merge pull request #731 from vnpy/master

合并一个DataService修改
This commit is contained in:
vn.py 2018-02-09 18:31:05 +08:00 committed by GitHub
commit eaa2c74c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ def generateVtBar(row):
bar.close = row['close'] bar.close = row['close']
bar.volume = row['volume'] bar.volume = row['volume']
bar.date = str(row['trade_date']) bar.date = str(row['date'])
bar.time = str(row['time']).rjust(6, '0') bar.time = str(row['time']).rjust(6, '0')
#将bar的时间改成提前一分钟 #将bar的时间改成提前一分钟