3 Commits
Author SHA1 Message Date
FXDavid-OffbeatForex 766e1405cd Add MT5 optimization, holdout, Monte Carlo, and reports 2026-10-08 08:21:08 -07:00
FXDavidandClaude Sonnet 4.6 3490441649 Audit fixes: public repo readiness + MCP improvements
- Add MIT LICENSE
- Anonymize broker path in config.example.yaml; add slippage_points + risk_per_trade
- Fix encoding ansi→cp1252 in signals.py (cross-platform safe)
- Fix install.py silently ignoring pip errors
- Cap get_ohlcv at 2000 bars; add ping tool; clarify HTML report UX in descriptions
- Escape symbol/timeframe in HTML report to prevent malformed output
- Move run_*.py to scripts/; move example CSVs to examples/
- Update .gitignore to block accidental CSV commits from root
- README: Python 3.9+ requirement, Chart.js internet note, new sections for examples/ and scripts/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 12:08:23 -07:00
FXDavidandClaude Opus 4.8 8391d68312 Initial commit: MBT — MT5 Backtest Toolkit
Backtest any MetaTrader 5 indicator by talking to Claude.

- SignalLogger.mqh: drop-in MQL5 include, writes standard signal CSV
- core/: config-driven MT5 connection, OHLCV fetch, signal reader, backtest engine, HTML report
- mcp_server.py: generic Claude tools (get_ohlcv, get_signals, backtest, validate_signals, get_config)
- install.py + README: one-shot setup and docs

Principle: never recalculates the indicator in Python — reads the indicator's
own logged signals and replays real MT5 bars forward to resolve WIN/LOSS/OPEN.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 15:39:40 +03:00