mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
Update reference documentation: - data-formats.md: Update description to reference AI-Trader-Server Part of Phase 3: Developer & Deployment Documentation
912 B
912 B
Data Formats
File formats and schemas used by AI-Trader-Server.
Position File (position.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)
{"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 for SQLite formats.