I have the made the attached backtest which attempts to pull FRED M2 data via API and provide via a custom data set.

The first datapoint is fed to the algorithm via the on_data event, however no further datapoints are received.

Is there an issue with my implementation of the Custom Data class?