[Add]添加VtBarData的K线周期字段
This commit is contained in:
parent
7fd1d55dc3
commit
fe3b16c1b2
@ -99,7 +99,8 @@ class VtBarData(VtBaseData):
|
|||||||
self.datetime = None # python的datetime时间对象
|
self.datetime = None # python的datetime时间对象
|
||||||
|
|
||||||
self.volume = EMPTY_INT # 成交量
|
self.volume = EMPTY_INT # 成交量
|
||||||
self.openInterest = EMPTY_INT # 持仓量
|
self.openInterest = EMPTY_INT # 持仓量
|
||||||
|
self.interval = EMPTY_UNICODE # K线周期
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user