Skip to content

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:

NameTypeDefaultNotes
symbolstring?Internal symbol filter (e.g. BTC-PERP)
start_timeint (Unix ms)?Lower bound
end_timeint (Unix ms)?Upper bound
limitint 1–100025Result cap (server clamps to 1000)

Example prompt:

Show me my closed SOL positions 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:

NameTypeDefaultNotes
symbolstring?Internal symbol filter
statusint?2=open, 3=filled, 4=canceled, 5=untriggered, 6=rejected, 7=expired
order_idint?Filter to a specific order
start_timeint (Unix ms)?
end_timeint (Unix ms)?
limitint 1–100025Result cap
from_order_idint?Pagination cursor (orders with ID > this)

Example prompt:

Pull my strike_get_order_history for BTC, 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_id pages backward (newest first).
  • since_trade_id polls forward (ascending — useful for tailing new fills as they happen).

They are mutually exclusive — pick one direction.

Arguments:

NameTypeDefaultNotes
symbolstring?Internal symbol filter
order_idint?Filter to fills for a specific order
start_timeint (Unix ms)?
end_timeint (Unix ms)?
limitint 1–100050Result cap
from_idint?Backward cursor (internal ID < this)
since_trade_idint?Forward cursor (trade_id > this)

Example prompt:

Get the last 100 fills via strike_get_fill_history and 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.

Copyright © 2026 CrowdTrendz Ltd. All rights reserved.