whchien/ai-trader — reverse-engineered prompt

Reverse engineered prompt

Build me a Python trading backtesting tool that feels ready to use from the command line. I want to be able to run a strategy from a simple YAML config file, do a quick backtest on a CSV, and fetch historical market data for US stocks, Taiwan stocks, crypto, and forex. It should come with a solid set of built in strategies, show me what strategies are available, and make it easy to add my own later without digging through confusing code.

Please also include local data caching with SQLite so repeated data pulls are fast, plus a clean folder of example configs, sample data, and a few example scripts that show the main workflows. I also want an MCP server mode so an AI assistant can talk to the backtesting engine in plain English, run tests, fetch data, and inspect strategies.

Make the project feel polished and config driven, with clear docs and sensible defaults. If anything is unclear, look up the current docs online and fill in the gaps with practical choices.

Want more depth? Deep Reverse