Adaptive.ReactiveTrader.Server.Host.Trade.Trade C# (CSharp) Method

Trade() public method

public Trade ( long tradeId, string traderName, string currencyPair, decimal notional, string dealtCurrency, DirectionDto direction, decimal spotRate, System.DateTime tradeDate, System.DateTime valueDate, TradeStatusDto status ) : System
tradeId long
traderName string
currencyPair string
notional decimal
dealtCurrency string
direction DirectionDto
spotRate decimal
tradeDate System.DateTime
valueDate System.DateTime
status TradeStatusDto
return System
        public Trade(
            long tradeId,
            string traderName,
            string currencyPair,
            decimal notional,
            string dealtCurrency,
            DirectionDto direction,
            decimal spotRate,
            DateTime tradeDate,
            DateTime valueDate,
            TradeStatusDto status)
        {
            TradeId = tradeId;
            TraderName = traderName;
            CurrencyPair = currencyPair;
            Notional = notional;
            DealtCurrency = dealtCurrency;
            Direction = direction;
            SpotRate = spotRate;
            TradeDate = tradeDate;
            ValueDate = valueDate;
            Status = status;
        }