Relative Content

Tag Archive for back-testingbacktrader

How to handle stock delisting with Backtrader

I am trying to backtest a momentum strategy in Backtrader with 10 year historical data. There are instances where the stock is bought during a rebalance and then it gets delisted before the next rebalance happens. How to handle such cases where the price data are missing after the stock is bought.