| # AGENTS.md — trading-agent | |
| Follow `../../AGENTS.md` and `../../WORKFLOW.md`. | |
| ## Trading Rules | |
| - No real trading by default. | |
| - No automatic financial advice without clear disclaimer. | |
| - Simulations must be labeled as research or backtest. | |
| - Walk-forward backtesting is required. | |
| - No future data in features. | |
| - Store news metadata only unless content storage is explicitly validated. | |
| - Required news fields: `source_url`, `published_at`, `ingested_at`, `available_at`. | |
| - Labels must be separated from features. | |
| - Block work if temporal availability is unclear. | |
| ## Required Pre-Code Checks | |
| - Search existing strategy, data, feature and backtest code. | |
| - Confirm leakage rules. | |
| - Define tests and smoke checks. | |