private static SecurityId GetSecurityId(QScalp.Security security, string boardCode) { return(new SecurityId { SecurityCode = security.Ticker, BoardCode = boardCode, }); }
private BusinessEntities.Security GetSecurity(QScalp.Security security, ExchangeBoard board) { return(new BusinessEntities.Security { Id = _idGenerator.GenerateId(security.Ticker, board), Code = security.Ticker, Board = board, PriceStep = (decimal)security.Step, //Decimals = security.Precision }); }