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
Portfolio → Cancel Pending Futures Sweep
AI-generatedSummary
Cancel pending futures sweep requests in a portfolio.
Inputs
- requestOptions — Options for customizing the request, including batching settings and connection options.
- requestOptions.batching — Settings for batching requests, including batch size and interval.
- requestOptions.batching.batch.batchSize — Number of items to process per batch. A value of -1 disables batching.
- requestOptions.batching.batch.batchInterval — Delay in milliseconds between batches of requests. A value of 0 disables the interval.
- requestOptions.allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors.
- requestOptions.proxy — HTTP proxy settings for the request.
- requestOptions.timeout — Maximum time in milliseconds to wait for a server response before aborting the request.
Output shape
no body — success/failure only
Successful cancellation will return no content; errors will be indicated by error messages.
Examples
Example 1: Cancel a specific pending sweep in the portfolio successfully while respecting batch size.
Set batchSize to 10 and batchInterval to 2000ms.
Example 2: Cancel sweeps while allowing for SSL issues and using a proxy connection.
Set allowUnauthorizedCerts to true and provide a proxy URL.