The Lab

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »


The Customer Application can populate clOrdID and use this to track Trading Events.

Max Length: 20 characters
Valid characters:  include the printable ASCII character set (32 <= decimal value <=126) with the following exceptions:

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. – 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, CURRENEX, FXCM, FXALL, HOTSPOT and MOEX. 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.

Note

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 in Cancel Order Rejection Reasons.
  • No labels