-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use LSTM as the feature extractor of financial data #688
Comments
Great question, was wondering same thing |
@Zero1366166516 great question! Your codes of LSTM as feature extractor are welcome! I will talk with one or two group members to work with you, it is very valuable to provide to our community members. I heard several times when users requested this feature. |
I previously made a CNN feature extractor for mlppolicy strategy network, which can be shared with everyone.
The following is the call part.
|
I would like to ask whether this algorithm can be used in real stock trading, and how to realize the operation of the next day in the real world. |
Can you elaborate more? Are you asking feedback about its feasibility in a live trading task? Or would you like to plug it into a paper trading demo? |
My idea is to use it in the real world to use DRL algorithm to make portfolio, such as predicting whether positions should be adjusted tomorrow and how to use it in trading. |
Could I understand it as a general question about applying DRL to real-world portfolio allocation? As far as I know, DRL is a quite powerful tool; tens of hedge funds and investment banks have deployed it.....and they got around 40% annual return over the past year. Probably not invest significant capital yet. ElegantRL has polished the DRL algorithms and is easily adapted to finance applications. If you need algorithmic support, please let me know. |
Thank you very much for your help. Let me talk about my situation first. I am interested in quantitative investment. I am also a shareholder. I found that MLP is used as the feature extractor in the DRL model used to study finance now. I want to try CNN and LSTM as the feature extractor. Now I use the routine of Sb3 to modify a CNN feature extractor, and the effect is OK (after I use MLP as the feature extractor for backtesting, I had better get an annualized yield of 13%, and CNN had better get an annualized yield of 20%). |
You may be interested to know this repo https://github.com/AI4Finance-Foundation/FinRL-Live-Trading If you like, please try to interact with members there. |
Hi @Zero1366166516 |
Hello, I have LSTM as the feature extractor of financial data the problem. I also want to build an LSTM feature extractor on Sb3 for financial time series data, using mlppolicy strategy network. I want to ask whether fin-rl now has an LSTM algorithm feature extractor.
When looking up the problem #195 in finrl, I now use the Sb3 framework in finrl, and support LSTM as the feature extractor in SB1. How can I smoothly migrate back.
Thank you for your previous exploration.
The text was updated successfully, but these errors were encountered: