给Tick属性,增加TradingDay的属性,用于记录今仓和昨仓。
This commit is contained in:
parent
452efb4da7
commit
258dbd1b5c
@ -186,6 +186,7 @@ class VtTickData(VtBaseData):
|
|||||||
self.openInterest = EMPTY_INT # 持仓量
|
self.openInterest = EMPTY_INT # 持仓量
|
||||||
self.time = EMPTY_STRING # 时间 11:20:56.5
|
self.time = EMPTY_STRING # 时间 11:20:56.5
|
||||||
self.date = EMPTY_STRING # 日期 20151009
|
self.date = EMPTY_STRING # 日期 20151009
|
||||||
|
self.tradingDay = EMPTY_STRING # 交易日期
|
||||||
|
|
||||||
# 常规行情
|
# 常规行情
|
||||||
self.openPrice = EMPTY_FLOAT # 今日开盘价
|
self.openPrice = EMPTY_FLOAT # 今日开盘价
|
||||||
|
Loading…
Reference in New Issue
Block a user