I am having an issue where I hit the 4,000 data point limit quickly. Is there a way to reduce the data points in my codebase so I can do longer back tests? I can only get 3 days of orders in with my backtests currently. 

The other thing I am having issues with is consolidating the data I would like to try running the code using 15 minutes 30 minute and 45 minute candles. Any help with the consolidation function would be fantastic. I've tried using it a few times and am not fully understanding how to implement it