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