Skip to main content
Returns every open TWAP order on the account. A TWAP order leaves this list when it completes, expires, or is cancelled or rejected. This list doesn’t include TWAP order strategies. To see both kinds, use Get TWAP records.

Query Parameters

FieldTypeNeedDescriptionExample
”account”stringrequiredAccount address to filter TWAP orders42trU9A5…

Response

  • Status 200: Successfully retrieved open TWAP orders
FieldTypeDescription
”order_id”integerTWAP order ID
”client_order_id”UUID or nullCLOID of the TWAP order if assigned by user
”symbol”stringTrading pair symbol
”side”stringWhether the order is a bid or an ask
”initial_amount”decimal stringTotal amount (in token denomination) of the TWAP order
”filled_amount”decimal stringAmount (in token denomination) filled so far
”reduce_only”booleanIf each sub-order is reduce only
”slippage_percent”decimal stringMaximum slippage for each sub-order, in percent
”planned_sub_order_amount”decimal stringPlanned amount (in token denomination) of each sub-order, set at creation
”planned_sub_order_count”integerNumber of planned sub-orders
”past_sub_order_count”integerNumber of planned sub-orders processed so far
”total_filled_value”decimal stringTotal value (price × amount) filled across all sub-orders. Divide by filled_amount to get the average fill price
”expiration”integerTimestamp in milliseconds when the TWAP order’s time runs out: 30 seconds after the end of duration_in_seconds
”created_at”integerTimestamp in milliseconds when the TWAP order was created on Pacifica
”updated_at”integerTimestamp in milliseconds when the TWAP order was last updated
  • Status 400: Invalid request parameters
  • Status 500: Internal server error

Code Example (Python)