Hello, I'm a proficient programmer but I’m new to trading and eager to get started. I’ve downloaded IBKR’s TWS, but I’m having trouble finding an option to simulate trading on historical dates. I would appreciate any guidance on getting started. Thanks!
%% OK; but NEVER let sim trading take the placeof paper charts or paper data; especially your real market trades/investments. [2] Again cant predict it but Jack Schwager had A GOOD IDEA,usea paper sheet to cover up some candles or bars + then practice trades that way[on paper charts [777 ] Even one share will not take the place of trading one or more trades/investments for years....................................... Wisdom is profitable to direct.
You haven't tried too hard because a simple query can give you plenty of results to follow. https://www.interactivebrokers.com/campus/ibkr-quant-news/retrieving-historical-data-from-ibkr/
TWS doesn’t support simulating trades on past dates directly, but you can use the IBKR API with Python and a tool like Backtrader to backtest strategies using historical data.