Skip to content
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

Learn to rank portfolio #114

Open
rspadim opened this issue May 16, 2021 · 2 comments
Open

Learn to rank portfolio #114

rspadim opened this issue May 16, 2021 · 2 comments

Comments

@jankrepl
Copy link
Owner

Thanks for creating this issue!

I had a quick look at some of the papers and I have to admit that Learning to rank could be easily applied to portfolio optimization. To me the only handwavy thing is taking the predicted ranks and turning them into portfolio weights. Anyway, deepdow supports any network that spits out portfolio weights. So as long as you keep things differentiable (using torch operations only) you are fine. In other words, nothing prevents you from having a RankNet, ListNet or similar inside of you network!

If you have anything more specific in mind feel free to describe it and maybe we can think of adding it to the codebase.

@kayuksel
Copy link

Hello, I've implemented a Siamese architecture model for contrastive-learning (by pair-wise ranking of the stock returns). It can be utilized for ranking the models. The accuracy in predicting the sell-offs is quite good and can be improved by fundamental ratios. I think it is a good approach for pre-training deep models for RL-based portfolio management, as it is done here. I think such pre-training and then transfer-learning are important as it may not be possible to converge a good model during early RL training. Let me know if you would be interested in adding that here, and I would share the codes for the contrastive pre-training (of GRU).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants