post https://live.moment-api.com/v1/trading/order//execution-order/external/
Creates an execution order for processing an external trade for the specified order. A user may want to trade off-platform and report the trade to Moment for record-keeping & updating the order status, this endpoint facilitates that.
Requirements:
- The parent order must be in the
pending_execution
orpartially_filled
state. - Multiple execution orders can be created for a single order provided that the sum of their open quantities does not exceed the open quantity of the order.
Once submitted, you will receive one of the following events:
- A
system_update
event with anevent_type
ofexecution_order_request
that indicates the request was received. - A
system_update
event with anevent_type
ofexecution_order_reject
if the request fails. - An
order_update
event with anevent_type
ofexecution_order_create
if the request succeeds & is pending execution.
All events include the execution_order_id
.