Actions31
- Market Data Actions
- Account Actions
- Order Actions
- Position Actions
Order → Get Order History
AI-generatedSummary
Get order history for a symbol or all symbols with a limit
Inputs
- orderSymbol — Trading pair symbol (e.g., BTC, ETH). If empty, returns history for all symbols. Defaults to 'BTC'.
- orderHistoryLimit — Maximum number of orders to return (1-1000). Defaults to 100.
Output shape
Array of order objects from the Pacifica API /api/v1/orders/history endpoint
Each order object contains details such as order ID, symbol, side, amount, price, status, timestamps, etc. (exact structure depends on API response).
Examples
Example 1: Get recent BTC order history
orderSymbol: 'BTC', orderHistoryLimit: 50
Example 2: Get all recent order history (all symbols)
orderSymbol: '', orderHistoryLimit: 100