After a te
message you receive shortly a tu
message that contains the real trade id (ID
) and additional/updated fields.
[
CHAN_ID,
'tu',
[
ID,
SYMBOL,
MTS,
ORDER_ID,
EXEC_AMOUNT,
EXEC_PRICE,
ORDER_TYPE,
0,
FEE,
FEE_CURRENCY,
CLIENT_ID,
IRREVERSIBLE
...
]
]
Stream Fields
Term | Type | Description |
---|---|---|
ID | integer | Trade database id |
SYMBOL | string | Symbol (tEOSUST, …) |
MTS_CREATE | integer | Execution timestamp |
ORDER_ID | integer | Order id |
EXEC_AMOUNT | float | Positive means buy, negative means sell |
EXEC_PRICE | float | Execution price |
ORDER_TYPE | string | Order type |
ORDER_PRICE | float | Order price |
MAKER | int | 1 if true, -1 if false |
FEE | float | Fee |
FEE_CURRENCY | string | Fee currency |
IRREVERSIBLE | int | 1 = block irreversible, 0 = block can be reversed |