Files
AI-Trader/docs/reference/data-formats.md
Bill 6cf7fe5afd docs: update reference docs for AI-Trader-Server rebrand
Update reference documentation:
- data-formats.md: Update description to reference AI-Trader-Server

Part of Phase 3: Developer & Deployment Documentation
2025-11-01 11:58:30 -04:00

31 lines
912 B
Markdown

# Data Formats
File formats and schemas used by AI-Trader-Server.
---
## Position File (`position.jsonl`)
```jsonl
{"date": "2025-01-16", "id": 1, "this_action": {"action": "buy", "symbol": "AAPL", "amount": 10}, "positions": {"AAPL": 10, "CASH": 9500.0}}
{"date": "2025-01-17", "id": 2, "this_action": {"action": "sell", "symbol": "AAPL", "amount": 5}, "positions": {"AAPL": 5, "CASH": 10750.0}}
```
---
## Price Data (`merged.jsonl`)
```jsonl
{"Meta Data": {"2. Symbol": "AAPL", "3. Last Refreshed": "2025-01-16"}, "Time Series (Daily)": {"2025-01-16": {"1. buy price": "250.50", "2. high": "252.00", "3. low": "249.00", "4. sell price": "251.50", "5. volume": "50000000"}}}
```
---
## Log Files (`log.jsonl`)
Contains complete AI reasoning and tool usage for each trading session.
---
See database schema in [docs/developer/database-schema.md](../developer/database-schema.md) for SQLite formats.