public void Write(WriterDataItem item, PbTick tick) { // 对于换交易日,应当将前一天的关闭 if (item.TradingDay != tick.TradingDay) { item.Close(); item.TradingDay = tick.TradingDay; } item.Tick = tick; item.Write(); }
public void Write(WriterDataItem item,PbTick tick) { // 对于换交易日,应当将前一天的关闭 if (item.TradingDay != tick.TradingDay) { item.Close(); item.TradingDay = tick.TradingDay; } item.Tick = tick; item.Write(); }