Portfolio optimization with deep learning.
See the code
deepdow (read as "wow") is a Python package connecting portfolio optimization and deep learning. Its goal is to
facilitate research of networks that perform weight allocation in one forward pass.
pip install deepdow
deepdow attempts to merge two very common steps in portfolio optimization
It does so by constructing a pipeline of layers. The last layer performs the allocation and all the previous ones serve as feature extractors. The overall network is fully differentiable and one can optimize its parameters by gradient descent algorithms.
deepdow is not ...deepdow layers in other deep learning applicationstorch and fully differentiablecvxpylayers)RigidDataLoader, FlexibleDataLoader)mlflow and tensorboard via callbacksIf you use deepdow (including ideas proposed in the documentation, examples and tests) in your research please make sure to cite it.
To obtain all the necessary citing information, click on the DOI badge at the beginning of this README and you will be automatically redirected to an external website.
Note that we are currently using Zenodo.
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
634 followers · starred Aug 2025
38 followers · starred Jan 2025
37 followers · starred Jun 2023
852 followers · starred Apr 2025
Portfolio optimization with deep learning.
See the code
deepdow (read as "wow") is a Python package connecting portfolio optimization and deep learning. Its goal is to
facilitate research of networks that perform weight allocation in one forward pass.
pip install deepdow
deepdow attempts to merge two very common steps in portfolio optimization
It does so by constructing a pipeline of layers. The last layer performs the allocation and all the previous ones serve as feature extractors. The overall network is fully differentiable and one can optimize its parameters by gradient descent algorithms.
deepdow is not ...deepdow layers in other deep learning applicationstorch and fully differentiablecvxpylayers)RigidDataLoader, FlexibleDataLoader)mlflow and tensorboard via callbacksIf you use deepdow (including ideas proposed in the documentation, examples and tests) in your research please make sure to cite it.
To obtain all the necessary citing information, click on the DOI badge at the beginning of this README and you will be automatically redirected to an external website.
Note that we are currently using Zenodo.
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
634 followers · starred Aug 2025
38 followers · starred Jan 2025
37 followers · starred Jun 2023
852 followers · starred Apr 2025