Skip to main content

Module answer

Module answer 

Source
Expand description

What /exchange answers to a trading action, read per item. A count of statuses that does not match what was sent is unreadable, never a partial success, except an error decided by the payload alone, which comes back once and stands for every item.

Enums§

CancelAnswer
What the venue said of one cancel, or of a TWAP’s cancel.
OrderAnswer
What the venue said of one order.
TwapAnswer
What the venue said of a TWAP.

Functions§

cancels
A cancel or cancelByCloid answer, sent cancels in it.
orders
An order or batchModify answer, sent orders in it.
read
The answer’s text, read: ok, or the venue’s refusal of the whole action.
send_cancels
Posts a signed cancel or cancelByCloid body once and reads its answer.
send_orders
Posts a signed order or batchModify body once and reads its answer.
send_taken
Posts any other signed trading body once: taken, or refused.
send_twap
Posts a signed twapOrder body once and reads its answer.
send_twap_cancel
Posts a signed twapCancel body once and reads its answer.
taken
An answer that says only that it was taken: a single modify, leverage, margin, scheduleCancel, noop. A status that is an error refuses it.
twap
A twapOrder answer.
twap_cancel
A twapCancel answer.