Appearance
History
Read-only tools for digging through past activity. All three support symbol/time/limit filters and return raw Strike payloads (the LLM is good at filtering and summarising these in chat).
strike_get_closed_positions
Historical closed positions with realized PnL. Useful for reviewing past trades.
Arguments:
| Name | Type | Default | Notes |
|---|---|---|---|
symbol | string? | — | Internal symbol filter (e.g. BTC-PERP) |
start_time | int (Unix ms)? | — | Lower bound |
end_time | int (Unix ms)? | — | Upper bound |
limit | int 1–1000 | 25 | Result cap (server clamps to 1000) |
Example prompt:
Show me my closed
SOLpositions over the last 7 days and total the realized PnL.
strike_get_order_history
Historical orders, filterable by status and time range. Supports cursor-based pagination via from_order_id.
Arguments:
| Name | Type | Default | Notes |
|---|---|---|---|
symbol | string? | — | Internal symbol filter |
status | int? | — | 2=open, 3=filled, 4=canceled, 5=untriggered, 6=rejected, 7=expired |
order_id | int? | — | Filter to a specific order |
start_time | int (Unix ms)? | — | |
end_time | int (Unix ms)? | — | |
limit | int 1–1000 | 25 | Result cap |
from_order_id | int? | — | Pagination cursor (orders with ID > this) |
Example prompt:
Pull my
strike_get_order_historyforBTC, filtered to filled orders only, last 30 days.
strike_get_fill_history
Historical fills — each fill is a partial or full execution of an order. Supports two cursor modes:
from_idpages backward (newest first).since_trade_idpolls forward (ascending — useful for tailing new fills as they happen).
They are mutually exclusive — pick one direction.
Arguments:
| Name | Type | Default | Notes |
|---|---|---|---|
symbol | string? | — | Internal symbol filter |
order_id | int? | — | Filter to fills for a specific order |
start_time | int (Unix ms)? | — | |
end_time | int (Unix ms)? | — | |
limit | int 1–1000 | 50 | Result cap |
from_id | int? | — | Backward cursor (internal ID < this) |
since_trade_id | int? | — | Forward cursor (trade_id > this) |
Example prompt:
Get the last 100 fills via
strike_get_fill_historyand show me realized PnL per symbol.
Building a P&L report
A useful pattern: ask the LLM to call strike_get_closed_positions for realized PnL, then strike_get_fill_history for the underlying fills, and have it cross-reference them in a single chat-rendered report.
