I would like to train a Naive Bayes classifier on data I get through the data. history function. I start with an empty data frame and then I get the data when the market closes on a particular day and append it to my data frame and retrain my model on the whole data. So my model learns as it trades. Is there any way I can pre-train the data before I enter paper trading? This would be like training the model in backtesting and using the trained model for paper trading where it will be trained with the new data as well as the backtesting data.