Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Portfolio optimization with deep learning.

License

NotificationsYou must be signed in to change notification settings

jankrepl/deepdow

Repository files navigation

final

codecovDocumentation StatusPyPI versionDOI

deepdow (read as "wow") is a Python package connecting portfolio optimization and deep learning. Its goal is tofacilitate research of networks that perform weight allocation inone forward pass.

Installation

pip install deepdow

Resources

Description

deepdow attempts tomerge two very common steps in portfolio optimization

  1. Forecasting of future evolution of the market (LSTM, GARCH,...)
  2. Optimization problem design and solution (convex optimization, ...)

It does so by constructing a pipeline of layers. The last layer performs the allocation and all the previous ones serveas feature extractors. The overall network isfully differentiable and one can optimize its parameters by gradientdescent algorithms.

deepdow is not ...

  • focused on active trading strategies, it only finds allocations to be held over some horizon (buy and hold)
    • one implication is that transaction costs associated with frequent, short-term trades, will not be a primary concern
  • a reinforcement learning framework, however, one might easily reusedeepdow layers in other deep learning applications
  • a single algorithm, instead, it is a framework that allows for easy experimentation with powerful building blocks

Some features

  • all layers built ontorch and fully differentiable
  • integrates differentiable convex optimization (cvxpylayers)
  • implements clustering based portfolio allocation algorithms
  • multiple dataloading strategies (RigidDataLoader,FlexibleDataLoader)
  • integration withmlflow andtensorboard via callbacks
  • provides variety of losses like sharpe ratio, maximum drawdown, ...
  • simple to extend and customize
  • CPU and GPU support

Citing

If you usedeepdow (including ideas proposed in the documentation, examples and tests) in your research pleasemake sure to cite it.To obtain all the necessary citing information, click on theDOI badge at the beginning of this README and you will be automatically redirected to an external website.Note that we are currently usingZenodo.


[8]ページ先頭

©2009-2026 Movatter.jp