I'm looking for some help on creating a notebook/algo for the following. Anyone willing to help me out?
- Securities that have an earnings date x days away
- Volume change of these securities over x days
- Price change of these securities over x days
The goal of the algorithm would be to identify changes in volume and price as earnings approaches. If volume is high and % price change is negative, go short. If volume is high and % price changes is positive go long.
A backtest would determine if there is a correlation between price and volume near earnings by going long or short and holding for x number of days.