A deterministic, bid/ask-aware backtesting system built on backtrader for OANDA forex and commodity instruments. Fetches historical candles via the OANDA v20 API, validates them against a strict ...
Running stockbacktester.py will test the buying and selling of stocks based on strategy parameters. The strategy parameters for buy signals are defined using: Today's volume above the 20 day moving ...