I'm using the code from the second video in the learn from the experts video series however whenever I run the plots for the sample dates i get the error "Cannot Convert float NaN to integer". However when i run it for 2018-01-04 to end date the plots generate perfectly.
All code detailing the error can be found under tearsheet results ,and directly above that.