public TradeAbstracted(Trade trade, TradingRulesRepository tradingRulesRepository) { _trade = trade; _tradingRulesRepository = tradingRulesRepository; Base = _tradingRulesRepository.GetBaseCcy(_trade.Symbol); Quote = _tradingRulesRepository.GetQuoteCcy(_trade.Symbol); }
public ManuallyExtractedTradeAbstracted(ManuallyExtractedTrade trade, TradingRulesRepository tradingRulesRepository) { _trade = trade; _tradingRulesRepository = tradingRulesRepository; }