public void GetBalance(Broker broker) { if (broker == Broker.Zb) { BalanceZb = _brokerAdapterRouter.GetBalance(broker); } else { BalanceHpx = _brokerAdapterRouter.GetBalance(broker); } }
private void LogBalances(BrokerBalance balance) { Log.Info($"{balance.Broker} Leg1={balance.Leg1} Leg2={balance.Leg2}"); }