Xiaoguang LiUsing Dynamic Time Warping (DTW) to Cluster StocksStock Classification5 min read·May 6, 2023----
Xiaoguang LiFlask makes it so easy to share your predictions (drl4t-06)Until now, we have a trained deep reinforcement learning trading model. Now it is time to try to use it to predict tomorrow’s stock market.3 min read·Apr 1, 2023----
Xiaoguang LiTraining DQN models for trading using PyTorch and Stable-Baselines3 (drl4t-05)After we created a custom Gym Env for trading in Create custom OpenAI Gym environment for Deep Reinforcement Learning (drl4t-04), it is…4 min read·Mar 28, 2023--1--1
Xiaoguang LiCreate custom OpenAI Gym environment for Deep Reinforcement Learning (drl4t-04)Stock trading is a complex economic behavior and no one can give a formula to predict it accurately. Well, this is just where Deep…5 min read·Mar 26, 2023----
Xiaoguang LiData preparation, where to get a list of all NYSE and NASDAQ stocks (drl4t-03)The key to machine learning is data. In order to train a machine learning model for predicting trading trends, we need to obtain as much…5 min read·Mar 19, 2023----
Xiaoguang LiTechnical indicators, tools for predicting trading market trends (drl4t-02)The most basic method to predict trends in the trading market is to analyze historical trading data. Technical indicators are mathematical…4 min read·Mar 18, 2023----
Xiaoguang LiAcquiring data, the first step towards using machine learning for stock trading (drl4t-01)Applying machine learning to stock trading is an exciting idea but also a tough challenge. I will try to use a series of posts to introduce…3 min read·Mar 17, 2023----