public ForexTick(ForexBrokerAccount account, DateTime dateTime, double bid, double ask, double spread, long minVolume, long maxVolume, string symbol) { m_dateTime = dateTime; m_bid = bid; m_ask = ask; m_volumeMax = maxVolume; m_volumeMin = minVolume; m_spread = spread; string buy = symbol.Remove(0, 3); string sell = symbol.Remove(3); m_buy = (Currency)Enum.Parse(typeof(Currency), buy); m_sell = (Currency)Enum.Parse(typeof(Currency), sell); m_account = account; }