This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-predictions / OrderResult

OrderResult ​

OrderResult = { index: number; order: Order; success: true; } | { error: { code?: string; message: string; }; index: number; success: false; }

Result of one order inside OrdersApi.placeBatch. The batch is not atomic: each order succeeds or fails on its own. The failure carries only the gateway's message (it does not send a code).