Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Portfolio → Allocate Portfolio

AI-generated

Summary

Allocate a portfolio by specifying request options such as batching, timeout, and SSL settings.

Inputs

  • requestOptions (required) — Collection of request options to configure the allocation, including batching and other HTTP settings.
  • requestOptions.batching — Configure batching options, including the number of items per batch and interval between batches.
  • requestOptions.batching.batchSize — Number of items to process in each batch; -1 disables batching.
  • requestOptions.batching.batchInterval — Time in milliseconds to wait between each batch; 0 disables the delay.
  • requestOptions.allowUnauthorizedCerts — Flag to accept responses even if SSL certificate validation fails.
  • requestOptions.proxy — HTTP proxy settings, including optional authentication.
  • requestOptions.timeout — Maximum time (in ms) to wait for the server response before aborting the request.

Output shape

no body — success/failure only

The operation does not return any data but indicates success or failure of the allocation.

Discussion