How do I read the equity curve?
Use GET /api/v1/treasury/equity?range=24h. It returns TreasuryEquityPointDto[]. range can be 1h, 6h, 24h, or 7d.
curl 'https://api.squeeze.plus/api/v1/treasury/equity?range=7d'| Field | Type | Meaning |
|---|---|---|
ts | number | Point time, Unix seconds |
equityUsd | number | Cash plus marks |
cashUsd | number | Cash at that time |
pnlUsd | number | Change from the start |
positions | number | Open positions then |
At most 600 points come back. Points older than 30 days are pruned.
Sample
Section titled “Sample”A flat line at $100,000 means no fill has happened yet. That is the paper start.