Skip to main content

Module request

Module request 

Source
Expand description

Order open and cancel request types.

ie/ OrderRequestOpen & OrderRequestCancel.

Structs§

CancelReplaceAnswer
The answer to a cancel and an open that a venue carried out as one request: see ExecutionClient::cancel_replace.
CancelThenOpen
Cancels on one exchange, and the opens to send only once every one of them has been answered.
RequestCancel
RequestOpen
Parameters for opening a new order.

Enums§

CancelThenOpenError
Why a CancelThenOpen group is not valid.
OnCancelFailure
What a CancelThenOpen group does with its opens when one of its cancels fails.
ReduceOnly
Whether an open order may only reduce the position it closes, and whether it may also trade the account’s free base beyond it. Set on RequestOpen::reduce_only.

Type Aliases§

OrderRequestCancel
OrderRequestOpen
OrderResponseCancel
UnindexedOrderResponseCancel