Skip to content

v0.4.0

Latest

Choose a tag to compare

@bencered bencered released this 13 Mar 23:02
· 3 commits to main since this release
Add interval param to get_pnl_history tool (#6)

* feat: add interval param to get_pnl_history, default to 1d

Passes interval through to the API for server-side downsampling.
Defaults to '1d' so MCP consumers always get a manageable response.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: narrow interval type, document handler default

- Type interval as "1h" | "4h" | "1d" union instead of string
- Add comment explaining why ?? "1d" coexists with Zod .default()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>