public TradeSignalProcessor(Func <Account> getAccountInfo, Action <string> logMessage, Func <List <MarketOrder> > getMarketOrders, Func <VolumeRoundType> getVolumeRound, ITradeSharpServerTrade proxy, CurrentProtectedContext protectedContext, FarmAccount farmAccount) { this.getAccountInfo = getAccountInfo; this.proxy = proxy; this.logMessage = logMessage; this.getMarketOrders = getMarketOrders; this.getVolumeRound = getVolumeRound; this.protectedContext = protectedContext; this.farmAccount = farmAccount; }
public TradeSignalProcessor(Func<Account> getAccountInfo, Action<string> logMessage, Func<List<MarketOrder>> getMarketOrders, Func<VolumeRoundType> getVolumeRound, ITradeSharpServerTrade proxy, CurrentProtectedContext protectedContext, FarmAccount farmAccount) { this.getAccountInfo = getAccountInfo; this.proxy = proxy; this.logMessage = logMessage; this.getMarketOrders = getMarketOrders; this.getVolumeRound = getVolumeRound; this.protectedContext = protectedContext; this.farmAccount = farmAccount; }