Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Portfolio → Create Portfolio

AI-generated

Summary

Create a new portfolio in Coinbase CDP.

Inputs

  • requestOptions (required) — Options to customize the portfolio creation request, including batching, SSL handling, proxy configuration, and timeout.
  • requestOptions.batching.batch.batchSize — Number of items per batch for throttling requests. -1 disables batching; 0 treats as 1.
  • requestOptions.batching.batch.batchInterval — Delay in milliseconds between request batches. 0 disables the interval.
  • requestOptions.allowUnauthorizedCerts — Accept response even if SSL certificate validation fails.
  • requestOptions.proxy — HTTP proxy for the request, with optional authentication.
  • requestOptions.timeout — Maximum wait time in milliseconds for the server to respond before aborting.

Output shape

no body — success/failure only

Successful requests will generate a new portfolio, whereas failures will indicate issues with input parameters or API constraints.

Discussion