Actions34
- Account Actions
- Confirmation Actions
- Market Actions
- Order Actions
- Position Actions
- Session Actions
- Watchlist Actions
Position → Preview
AI-generatedSummary
Builds a position request preview from the selected market, direction, size, and optional stops and limits. It applies the configured safety checks and returns the request without sending it to Capital.com or opening a position.
Inputs
- EPIC (required) — Market EPIC to include in the request.
- Direction — Buy or sell; defaults to Buy.
- Size — Position size; defaults to 1.
- Stops & Limits — Optional guaranteed or trailing stop settings and stop/profit amount, distance, or level values. Values of 0 are omitted from the request.
Output shape
A single record
Contains
preview: trueandrequest, the assembled position request body. Preview also enforces the configured Max Size Guard and Allowed EPICs safety checks; violations produce an error. It does not send the request to the broker.