Check my open positions and exits
check_positionsTHE first call of every scheduled run, before the scan: what each held position needs now under a strategy's exit rules. One call for position upkeep: for each held token, the live exit legs, age, PnL and the actions due (time-stop sell or sell-now, missing SL/TP, cancel the orphan leg) under the strategy's rules, plus today's counts (buys, stop-outs, open positions, closed-at-loss 7d) so you never recompute them. Do what actions says with quick_sell / create_order / cancel_order, then scan. Each action's params are the arguments for that tool; verdict is sell_now, fix_exits or hold. Nothing is placed or sold by this call. Pass the strategy you run; with no strategy and no rule it runs under the user's active strategy, else as a rules-free report (rules in the result says which).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl_pct | No | Override: stop loss this % below the average cost. Number > 0 and < 100 (30 = -30%). | |
| tp_pct | No | Override: take profit this % above the average cost. Number > 0 (100 = 2x, 200 = 3x). | |
| strategy | No | Strategy preset id, exactly one of: smart_money_confirmed, early_launch_hunter, stonkfun_trend_rider, stonkfun_whale_swarm (lowercase, underscores). Omit to pass the rules yourself or to use the user's active strategy. | |
| token_address | No | One held token's Solana mint (base58 string, not a symbol or id); omit for all. | |
| time_stop_hours | No | Override: sell a position open this many hours. Number > 0, at most 720. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||