Positions
Returns processed open positions for the authenticated user
Processed open positions fetched successfully
Processed open positions fetched successfully
Create a pair trading position with various execution types: MARKET (immediate execution), TRIGGER (conditional execution), TWAP (time-weighted average), or LADDER (multiple ratio levels)
Slippage tolerance percentage (0.01 = 1%)
0.01Order execution type
Applied leverage
10Position size in USD
1000Required trigger threshold for TRIGGER orders (price, dominance, ratios, etc.)
45000Trigger type for TRIGGER orders (PRICE, PRICE_RATIO, WEIGHTED_RATIO, BTC_DOM, CROSS_ASSET_PRICE, PREDICTION_MARKET_OUTCOME)
PRICEPossible values: Direction for TRIGGER orders
Asset to monitor when triggerType is CROSS_ASSET_PRICE
ETHMarket code to monitor when triggerType is PREDICTION_MARKET_OUTCOME
KALSHI:EVENT_CODETWAP duration in minutes (required for TWAP orders)
120TWAP interval in seconds (time between chunks). Defaults to 30 seconds if not provided.
30Randomize TWAP execution timing
falseStop loss trigger. PERCENTAGE: % change vs entry; DOLLAR: fixed USD change; POSITION_VALUE: % change of position value.
{"type":"PERCENTAGE","value":15}Take profit trigger. PERCENTAGE: % change vs entry; DOLLAR: fixed USD change; POSITION_VALUE: % change of position value.
{"type":"PERCENTAGE","value":25}Referral code to be attached to user address if user has no referral code
0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'Position order created successfully
Position order created successfully
Close a position using MARKET (immediate execution) or TWAP (time-weighted average) execution type
Position identifier
Type of close order
TWAP duration in minutes - required if executionType is TWAP
60TWAP interval in seconds (time between close chunks). Defaults to 30 seconds if not provided.
30Randomize TWAP execution times - optional for TWAP orders
trueReferral code to be attached to user address if user has no referral code
0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'Position close order created
Position close order created
Fetches all open positions and closes them sequentially using MARKET or TWAP execution
Type of close order
TWAP duration in minutes - required if executionType is TWAP
60TWAP interval in seconds (time between close chunks). Defaults to 30 seconds if not provided.
30Randomize TWAP execution times - optional for TWAP orders
trueReferral code to be attached to user address if user has no referral code
0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'Close orders created for all positions
Close orders created for all positions
Position identifier
Type of position adjustment (reduce or increase)
REDUCEPossible values: Percentage of position to adjust (1-100%)
25Type of execution for the adjustment
MARKETPossible values: Required if executionType is LIMIT
50000Referral code to be attached to user address if user has no referral code
0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'Position adjustment order created successfully
Position adjustment order created successfully
Position identifier
Advance adjustment executed
Advance adjustment executed
Position identifier
Applied leverage
10Leverage updated successfully
Leverage updated successfully
Position identifier
Risk parameters updated successfully
Risk parameters updated successfully
Last updated