Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Portfolio → Get Intraday Margin Setting

AI-generated

Summary

Retrieve the intraday margin setting for a specified portfolio.

Inputs

  • requestOptions (required) — Options to customize the request, including batching, SSL handling, proxy settings, and timeout.
  • requestOptions.batching.batchSize — Specify the number of items per batch, with -1 to disable batching.
  • requestOptions.batching.batchInterval — Set the time interval (in ms) between each batch of requests; 0 to disable.
  • requestOptions.allowUnauthorizedCerts — Allow responses from servers with invalid SSL certificates.
  • requestOptions.proxy — HTTP proxy settings, including authentication if needed.
  • requestOptions.timeout — Set the maximum wait time (in ms) for a server response before timing out.

Output shape

a single record containing the intraday margin setting for the portfolio

Response depends on the existing margin settings and may include error messages if applicable.

Discussion