private void SellIfPossible(IRebalancingTradeData rebalancingTradeData) { if (_account.CanSell(rebalancingTradeData.Quantity, rebalancingTradeData.Symbol)) { _account.Sell(rebalancingTradeData.Symbol, rebalancingTradeData.Quantity); } }