This commit is contained in:
parent
a9e4967a25
commit
c60e37d699
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ public class Application extends MessageCracker implements quickfix.Application,
|
|||
newOrderSingle.set(new SettlType(orderCurrency.getSettleCode()));
|
||||
newOrderSingle.setField(new StringField(5018, orderCurrency.getTradingCode())); // FirmId
|
||||
if (orderCurrency.getBasePrice() != null)
|
||||
newOrderSingle.setField(new DecimalField(20439, orderCurrency.getBasePrice())); // базовый курс
|
||||
newOrderSingle.setField(new DecimalField(20439, orderCurrency.getBasePrice().stripTrailingZeros())); // базовый курс
|
||||
newOrderSingle.set(new HandlInst(HandlInst.AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION));
|
||||
boolean result = Session.sendToTarget(newOrderSingle, fixSessionID);
|
||||
} catch (SessionNotFound sessionNotFound) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue