Closed trades (journal)
get_closed_tradesFetch closed round-trip trades from a trading journal to review entry/exit dates and prices, volume, net P/L, and holding period, filtered by market, symbol, or date range.
Instructions
Trading journal of round trips: entry/exit dates and prices, volume, net P/L and holding period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| from | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| page | No | ||
| limit | No | ||
| market | No | Market: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading) | egypt |
| period | No | Preset range in Cairo market days, up to now: today, 7d/30d/90d (last N days incl. today), mtd, ytd, 1y (last 12 months). Do not combine with from/to. | |
| symbol | No | Only this ticker |