The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

character

name

decimal value

~

Tilde

126

`

Accent Grave

60

_

Underscore

95

!

Exclamation Mark

33

Asterisk

42

,

Comma

44

-

Hyphen

45

:

Colon

58

=

Equals Sign

61

[

Left Square Bracket

91

]

Right Square Bracket

93



Table 8.1.disallowed prohibited characters in clOrdId

Where minQty is supported by the ECN, if the remaining amount drops below minQty, the remaining amount will be cancelled by the ECN, resulting in OrderCanceled instead of OrderDone as the final state.

modify order modifyOrder() is supported on certain exchanges, namely CME, EBS, CurrenexCURRENEX, FxcmFXCM, FXall FXALL and HotspotHOTSPOT. Only GTC orders can be modified; both price and amount can be changed. To modify an order the customer must specify a new clNewID and the original clOrdID of the order. Note that submitOrder() and modifyOrder() both result in the same onOrderSubmitted() callback on success. To differentiate, the Customer must correlate the requested clNewID with the response clOrdID.

The same approach applies for OrderCanceled, OrderCancelRejected, and OrderRejected
responses.

In the case of OrderCanceled, the value in the cxlID field corresponds to clNewID value in the
ModifyOrder message.

In the case of OrderCancelRejected, the value in the clOrdID field corresponds to clOrdID in
OrderSubmitted.

order cancellation To cancel an order, call the cancelOrder() method. Either the orderId or the clOrdID can be used.
Additionally, a valid cxlID is required to identify the cancellation request. This identifier is restricted to the same format as clOrdID.

Info
titleNote
Where a modifyorder() request is submitted to a venue that does not support open order modification than an OrderCancelRejected message will be received, a breakdown of these message definitions can be found at *Cancel Order Rejection/Reasons