get_bot_position_state
Retrieve a bot's saved position details—direction, quantity, entry price, and flat status—to compare against live Tradovate positions and detect tracking drift.
Instructions
Read the persisted position state file for a bot. Returns direction (BUY/SELL/null), qty, entry_price, and flat status. This is the bot's internal tracking — compare to Tradovate get_positions() to detect drift.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bot_id": "<bot_id>"
},
"name": "get_bot_position_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes |