Actions51
- Accounts Actions
- Products Actions
- Orders Actions
- Portfolio Actions
- List Portfolios
- Create Portfolio
- Move Portfolio Funds
- Get Portfolio Breakdown
- Delete Portfolio
- Edit Portfolio
- Get Futures Balance Summary
- Get Intraday Margin Setting
- Set Intraday Margin Setting
- Get Current Margin Window
- List Futures Positions
- Get Futures Position
- Schedule Futures Sweep
- List Futures Sweeps
- Cancel Pending Futures Sweep
- Allocate Portfolio
- Get Perpetuals Portfolio Summary
- List Perpetuals Positions
- Get Perpetuals Position
- Get Portfolios Balances
- Opt Inor Outof Multi Asset Collateral
- Fees Actions
- Converts Actions
- Public Actions
- Payment Methods Actions
- Data Actions
Orders → Create Order
AI-generatedSummary
Create an order in the Coinbase CDP by sending a request with specified options.
Inputs
- requestOptions (required) — Options for the request including batching configurations, SSL certificate handling, proxy settings, and timeout settings.
Output shape
a response object detailing the order creation result.
The 'requestOptions' parameter supports batching to optimize request handling, and individual settings allow adjusting SSL validation and request timing.
Examples
Example 1: Create a single order without batching.
Set the 'requestOptions' with 'batchSize' as -1 and 'batchInterval' as 0.
Example 2: Create multiple orders with batching enabled.
Set 'batchSize' to a positive number (e.g., 50) and define 'batchInterval' in milliseconds (e.g., 1000).