mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
docs: update API_REFERENCE.md database tables section for new schema
- Replaced old table references (positions, reasoning_logs) with new schema tables - Updated table list: trading_days, holdings, actions - Added link to complete database schema documentation
This commit is contained in:
@@ -896,13 +896,15 @@ All simulation data is stored in SQLite database at `data/jobs.db`.
|
||||
|
||||
- **jobs** - Job metadata and status
|
||||
- **job_details** - Per model-day execution details
|
||||
- **positions** - Trading position records
|
||||
- **holdings** - Portfolio holdings breakdown
|
||||
- **reasoning_logs** - AI decision reasoning (if enabled)
|
||||
- **trading_days** - Day-centric trading results with daily P&L metrics
|
||||
- **holdings** - Portfolio holdings snapshots (ending positions only)
|
||||
- **actions** - Trade execution ledger
|
||||
- **tool_usage** - MCP tool usage statistics
|
||||
- **price_data** - Historical price data cache
|
||||
- **price_coverage** - Data availability tracking
|
||||
|
||||
See [docs/developer/database-schema.md](docs/developer/database-schema.md) for complete schema reference.
|
||||
|
||||
### Data Retention
|
||||
|
||||
- Job data persists indefinitely by default
|
||||
|
||||
Reference in New Issue
Block a user