Please note, that it’s required to send all fields, but not only those affected by the change. For example, if you want to modify ExecInst of a stop order, you must send the new ExecInst along with the old StopPx, OrderQty, etc.


Field name (REST)

Field tag (WS)


Possible values

Description

msgType

35

M

G


clOrdId

11

M

string (40)

ClOrdId of the request

origClOrdId

41

C

string (40)

One of these IDs must be submitted

orderId

37

C

string (40)

symbol

55

M

string


side

54

M

Side


transactTime

60

M

timestamp


account

1

M

ulong


execInst

18

O

ExecInst


orderQty

38

M

decimal


price

44

C

decimal

Required for Limit and Stop-Limit orders

stopPx

99

C

decimal

Required for Stop and Stop-Limit orders

capPrice

1199

O

decimal

For trailing stop and attempt-zero-loss — the price beyond which the order won’t move

pegPriceType

1094


8 — TrailingStopPeg

Identifies a trailing stop or an attempt-zero-loss order

pegOffsetType

836


2 — BasisPoints

The unit of the distance to the stop price for a trailing stop or an attempt-zero-loss order

pegOffsetValue

211


ulong

Distance to the trailing stop or attempt-zero-loss

Samples

WS

REST

{
"35":"G",
"11":"myClOrdId_17",
"37":"3ac9d099-0adb-44b7-8a95-8c37c0850e25",
"38":"12",
"60":1597678650547165255,
"1":1012838720,
"55":"XBTUSD",
"54":"1"
}



{
"clOrdId":"myClOrdId_14",
"orderId":"3ac9d099-0adb-44b7-8a95-8c37c0850e25",
"orderQty":"5",
"transactTime":1597678650547165255,
"account":1012838720,
"symbol":"XBTUSD",
"side":"1",
}