Exemplo n.º 1
0
 private BigDecimal getDefaultLot() {
   Account account = this.get_Account();
   TradePolicyDetail tradePolicyDetail =
       this._settingsManager.getTradePolicyDetail(
           account.get_TradePolicyId(), this._instrument.get_Id());
   return this._isForDelivery
       ? tradePolicyDetail.get_PhysicalMinDeliveryQuantity()
       : AppToolkit.getDefaultLot(this._instrument, true, tradePolicyDetail, this);
 }
Exemplo n.º 2
0
 public static MakeOrderAccount create(
     TradingConsole tradingConsole,
     SettingsManager settingsManager,
     Account account,
     Instrument instrument,
     boolean isForDelivery) {
   return MakeOrderAccount.create(
       tradingConsole, settingsManager, account.get_Id(), instrument.get_Id(), isForDelivery);
 }