Integrate TradeLossMD analysis into your workflow. Upload tradebooks, get behavioral insights and psychology reports programmatically.
All API requests require an API key sent in the X-API-Key header.
X-API-Key: tlmd_live_your_key_hereCreate API keys from your Teams Dashboard. Keys start with tlmd_live_ (production) or tlmd_test_ (sandbox).
| Plan | Per Minute | Per Month | Overage |
|---|---|---|---|
| Teams Starter | 10 req/min | 500 req/mo | Not available |
| Teams Pro | 60 req/min | 2,000 req/mo | Contact sales |
| Enterprise | Custom | Custom | Negotiable |
Rate limit headers are returned on every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
/v1/analyzeUpload and analyze a tradebook CSV/Excel file
{ upload_id, status, message }/v1/status/{upload_id}Check processing status and get results
{ upload_id, status, analysis: { pnl_summary, behavioral, psychology, tdi_score } }/v1/historyGet upload/analysis history
{ items: [...], total, limit, offset }curl -X POST "https://api.tradelossmd.com/v1/analyze" \ -H "X-API-Key: tlmd_live_your_key_here" \ -F "[email protected]" # Poll for results curl "https://api.tradelossmd.com/v1/status/{upload_id}" \ -H "X-API-Key: tlmd_live_your_key_here"