This commit is contained in:
parent
949232bbd7
commit
7f4d63a396
1 changed files with 2 additions and 0 deletions
|
|
@ -205,6 +205,8 @@ public class Application extends MessageCracker implements quickfix.Application,
|
|||
newOrderSingle.setField(new ContraBroker(orderCurrency.getCounterTradingCode()));
|
||||
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.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