Get stats card
stats_cardRender a local account's ROI, Sharpe, win rate, and P&L as a postable text card, with open positions valued at live midpoints; choose tweet, markdown, or plain text.
Instructions
Render one account's ROI, Sharpe, win rate and P&L as a postable text card.
Reads the local account and posts nothing. Open positions are valued at live midpoints (0 if a lookup fails). Use stats for raw numbers, share_content for platform and template choices, or pk_card to compare two accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'tweet' (X/Twitter), 'markdown' (chat apps) or 'plain' (no formatting). Default 'markdown'. | markdown |
| account | No | Paper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |