PositionRequest. Guided TradingView setup saves this same request during setup. There is no separate exchange-specific webhook order language.
In the web or iOS Trading builder, complete your setup and select Position JSON below any Order, SL, SLx or TP tab. It copies the full new-position request, including all enabled protections and exact decimal fields, regardless of the selected tab. Copying does not place an order or include credentials. Use the result as the request in an API OPEN command, an advanced TradingView OPEN signal, or the MCP opening tool; each still needs its own authorization and command fields.
You can also construct a request using the fields below and the complete OPEN examples, with the exact linked account and catalog instrument. For Guided TradingView mode, Load Current Position JSON imports a valid terminal draft into the Signal mode editor; you can also paste or edit the complete request there. Generated alerts use the saved configuration. Advanced setup has no import step; your sender supplies the full request. Adapter capabilities and current trading state still decide whether a well-formed request can execute. Existing positions require a fresh modification workflow.
Required, conditional and optional
Required means include the field on every OPEN/MODIFY request, even when its value isfalse. Conditional means include it for the indicated market, feature or modification; otherwise omit it. Optional means it is not needed to enable the selected behavior. Optional does not imply nullable: use only the nullability shown in OpenAPI. Fields marked as builder configuration can be optional at JSON decoding while still necessary to express the intended trading behavior.
A request is the complete intended configuration, not a merge patch. Do not include inactive mode fields merely to make an example look exhaustive. Unknown keys are rejected. The tables below cover every PositionRequest key, including both members of each decimal pair. Exact decimals and units explains how to avoid hand-writing them.
Market, direction and decimal units
Spot versus derivative, dated versus perpetual, and linear versus inverse come from the chosen catalog instrument, not a
spot/futures boolean or ticker suffix. Not every account supports every direction, margin mode or order role.
A coefficient string "12345" with scale 2 means 123.45. Coefficients have at most 128 digits; scales are 0–30. Array pairs have matching lengths, and related order arrays preserve row order. Decode bounds allow at most 65,535 rows per batch, while actual adapter limits and the 256 KiB request bound are stricter operational constraints.
An input of "525497" at scale 1 with quantity_asset:"USDT" means 52,549.7 USDT. It is not 52,549.7 BTC and not a margin amount. A TradingView maximum is checked after canonical normalization: base units for spot/linear, quote-face units for inverse. It is a per-position cap, not an aggregate strategy budget or guaranteed quote-spending cap.
OPEN rows
All four OPEN arrays are required even for a market order. Preserve the exported builder convention for market price rows; a market order is not a guarantee of that indicated price. Do not infer adapter support from the numeric order-type enum alone.
Stop loss
A static SL price and a rearranged SL have different intent. Use the builder’s appropriate fields instead of assuming that a price copied from a chart remains the effective fee/fill-aware stop forever.
Take profit
A single full TP uses weight
1000000. Grid weights use percentage points × 1,000,000, so a 50/50 grid uses [50000000,50000000]. Existing protection normalization handles this distinction. Do not reinterpret a single full TP as a 1% close.
For rearranged TP, tp_pnls measures positive price distance from fee-aware breakeven, multiplied by 1,000,000 and bounded to 100,000,000 (100%). It is not leveraged ROI. Liftx sizes protection against actual exposure; zero builder quantity placeholders do not mean the intended exit is zero.
SLx modes
slx_enabled is required. SLx is owned by Liftx once configured; the strategy does not need to send each trailing tick.
Do not enable both trigger families in one request. Feature applicability, positive distances and reference-price constraints are validated by the existing protection logic. Enabling every boolean is not a valid “maximum functionality” request.
Exact order amendments
order_amendments is optional and applies only to exact order changes on MODIFY. Omit it on OPEN and when no physical order amendment is intended. Each entry contains the current slot_id, exact physical Liftx order_id UUID, and paired price_atomic/price_scale and/or quantity_atomic/quantity_scale. A venue order ID is not interchangeable with the Liftx UUID. Slot identity alone cannot safely identify a replaced physical order generation.
Include at least one intended price/quantity change; retain the current physical order identity when amending a placed order. The decoder accepting an optional identity is not permission to guess a generation.
Use the current modification publication. Removing a row or slot from the complete intended configuration can request cancellation; preserving its exact identity expresses continuity. Read modification before constructing a request.
Complete illustrative derivative request
This request uses fictitious link17, illustrative exact catalog ID BTC-USDT-SWAP and synthetic values. Assume this selected linear catalog supports the pictured order roles, 2x cross margin and 0.001 BTC quantity; these are not current venue constraints. It demonstrates the shape, not valid live venue configuration, position sizing advice or an immediately executable strategy.
Modification boundaries
API MODIFY requires an outerexpected_revision. Preserve immutable direction, margin mode, spot settlement and current row identities. Do not submit the original OPEN request after fills or manual changes.
TradingView protection-only modification preserves OPEN rows; use the direct API for supported OPEN amendments. No group modification exists because positions can have different fills, slots and generations. Pine cannot retrieve the current Liftx state or read webhook responses; state-dependent changes need a controller using the API and streams.