In my QuantConnect trading algorithm, I train a neural network on a dataset and do live trading on the same dataset. Is there some way I can pass the pandas dataframe from my training into my SubscriptionDataSource, to improve efficiency and reduce data duplication?

Cheers!