Actions31
- Market Data Actions
- Account Actions
- Order Actions
- Position Actions
Order → Create Market Order
AI-generatedSummary
Create a market order on Pacifica
Inputs
- orderSymbol (required) — Trading pair symbol (e.g., BTC, ETH, SOL). Uppercased before API call.
- side (required) — Order side: bid for buy/long, ask for sell/short. Default: bid.
- amount (required) — Order amount in base asset units. String type.
- slippagePercent — Maximum slippage tolerance (e.g., 0.5 = 0.5%). Default: 0.5. Applies to market and stop-market orders.
- reduceOnly — Whether the order can only reduce an existing position. Default: false.
- clientOrderId — Optional client-defined order identifier (UUID). If provided, sent to the API as client_order_id.
Output shape
Pacifica API response JSON containing the created market order details. Structure not defined by this node; depends on API response.
Returned as the main item JSON from the node's execute function.
Examples
Example 1: Place a buy order for 0.01 BTC with default slippage and no reduce-only flag
orderSymbol: BTC, side: bid, amount: 0.01, slippagePercent: 0.5, reduceOnly: false, clientOrderId: omitted