stock-trading-ml
stock-trading-ml copied to clipboard
droping the IPO day data
when you intend to drop the IPO day data with data = data.drop(0, axis=0)
, you're actually dropping the most recent data, not the oldest.
Should instead be data = data.drop(data.shape[0] - 1, axis=0)