Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Portfolio → Get Current Margin Window

AI-generated

Summary

Get the current margin window associated with a specified portfolio.

Inputs

  • requestOptions (required) — Collection of request options for customizing the API call.
  • requestOptions.batching — Options for batching requests including batch size and interval.
  • requestOptions.batching.batchSize — Defines the number of items to process per batch. Set to -1 to disable.
  • requestOptions.batching.batchInterval — Time interval (in milliseconds) between each batch request. Set to 0 to disable.
  • requestOptions.allowUnauthorizedCerts — Allow the operation to proceed without verifying SSL certificate validity.
  • requestOptions.proxy — Specify an HTTP proxy to route requests through.
  • requestOptions.timeout — Maximum time in milliseconds to wait for a server response before timing out.

Output shape

the current margin window data

Response includes data related to the margin window for the specified portfolio.

Discussion