Skip to content

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.

Terminal window
curl 'https://api.squeeze.plus/api/v1/treasury/equity?range=7d'
FieldTypeMeaning
tsnumberPoint time, Unix seconds
equityUsdnumberCash plus marks
cashUsdnumberCash at that time
pnlUsdnumberChange from the start
positionsnumberOpen positions then

At most 600 points come back. Points older than 30 days are pruned.

A flat line at $100,000 means no fill has happened yet. That is the paper start.

Read the decision log.