public MarketData(TDFIndexData data) { ActionDay = data.ActionDay; Code = data.Code; WindCode = data.WindCode; Time = data.Time; Match = (uint)data.LastIndex; PreClose = (uint)data.PreCloseIndex; HighLimited = (uint)data.HighIndex; LowLimited = (uint)data.LowIndex; IOPV = 2; }