private static void Initialize(InitialQuotation item, DataRow dataRow)
        {
            item.InstrumentId = (Guid)dataRow["InstrumentID"];
            item.Timestamp    = (DateTime)dataRow["Timestamp"];

            item.Bid  = dataRow.GetItemValue <string>("Bid", null);
            item.Ask  = dataRow.GetItemValue <string>("Ask", null);
            item.High = dataRow.GetItemValue <string>("High", null);
            item.Low  = dataRow.GetItemValue <string>("Low", null);
            item.Open = dataRow.GetItemValue <string>("Open", null);
            if (dataRow.Table.Columns.Contains("Volume") && dataRow["Volume"] != DBNull.Value && (double)dataRow["Volume"] > 0)
            {
                item.Volume = ((double)dataRow["Volume"]).ToString();
            }
            if (dataRow.Table.Columns.Contains("TotalVolume") && dataRow["TotalVolume"] != DBNull.Value && (double)dataRow["TotalVolume"] > 0)
            {
                item.TotalVolume = ((double)dataRow["TotalVolume"]).ToString();
            }
            if (dataRow.Table.Columns.Contains("IsPrivateDailyAsk"))
            {
                item.IsPrivateDailyAsk = dataRow.GetItemValue <bool>("IsPrivateDailyAsk", false);
            }
            if (dataRow.Table.Columns.Contains("IsPrivateDailyBid"))
            {
                item.IsPrivateDailyBid = dataRow.GetItemValue <bool>("IsPrivateDailyBid", false);
            }
            item.IsPrivateOpen  = dataRow.GetItemValue <bool>("IsPrivateOpen", false);
            item.PreClose       = dataRow.GetItemValue <string>("PrevClose", null);
            item.IsPrivateClose = dataRow.GetItemValue <bool>("IsPrivateClose", false);
        }
        private static void Initialize(InitialQuotation item, DataRow dataRow)
        {
            item.InstrumentId = (Guid)dataRow["InstrumentID"];
            item.Timestamp = (DateTime)dataRow["Timestamp"];

            item.Bid = dataRow.GetItemValue<string>("Bid", null);
            item.Ask = dataRow.GetItemValue<string>("Ask", null);
            item.High = dataRow.GetItemValue<string>("High", null);
            item.Low = dataRow.GetItemValue<string>("Low", null);
            item.Open = dataRow.GetItemValue<string>("Open", null);
            if (dataRow.Table.Columns.Contains("Volume") && dataRow["Volume"] != DBNull.Value && (double)dataRow["Volume"] > 0) item.Volume = ((double)dataRow["Volume"]).ToString();
            if (dataRow.Table.Columns.Contains("TotalVolume") && dataRow["TotalVolume"] != DBNull.Value && (double)dataRow["TotalVolume"] > 0) item.TotalVolume = ((double)dataRow["TotalVolume"]).ToString();
            if (dataRow.Table.Columns.Contains("IsPrivateDailyAsk")) item.IsPrivateDailyAsk = dataRow.GetItemValue<bool>("IsPrivateDailyAsk", false);
            if (dataRow.Table.Columns.Contains("IsPrivateDailyBid")) item.IsPrivateDailyBid = dataRow.GetItemValue<bool>("IsPrivateDailyBid", false);
            item.IsPrivateOpen = dataRow.GetItemValue<bool>("IsPrivateOpen", false);
            item.PreClose = dataRow.GetItemValue<string>("PrevClose", null);
            item.IsPrivateClose = dataRow.GetItemValue<bool>("IsPrivateClose", false);
        }