Пример #1
0
 public TradeAbstracted(Trade trade, TradingRulesRepository tradingRulesRepository)
 {
     _trade = trade;
     _tradingRulesRepository = tradingRulesRepository;
     Base  = _tradingRulesRepository.GetBaseCcy(_trade.Symbol);
     Quote = _tradingRulesRepository.GetQuoteCcy(_trade.Symbol);
 }
Пример #2
0
 public ManuallyExtractedTradeAbstracted(ManuallyExtractedTrade trade, TradingRulesRepository tradingRulesRepository)
 {
     _trade = trade;
     _tradingRulesRepository = tradingRulesRepository;
 }