Skip to main content
QUICK REVIEW

[Paper Review] Cryptocurrency Portfolio Management with Deep Reinforcement Learning

Zhengyao Jiang, Jinjun Liang|arXiv (Cornell University)|Dec 5, 2016
Stock Market Forecasting MethodsDecision Sciences6 references41 citations
TL;DR

This paper proposes a model-free deep reinforcement learning approach using a convolutional neural network (CNN) to directly output portfolio weights from historical cryptocurrency price data, training via deterministic policy gradient to maximize cumulative return. In a 30-minute backtest on Poloniex, the CNN agent achieved 16.3x return over 1.8 months, outperforming most benchmarks with lower risk, though slightly underperforming PAMR in raw return while achieving a higher Sharpe ratio.

ABSTRACT

Portfolio management is the decision-making process of allocating an amount of fund into different financial investment products. Cryptocurrencies are electronic and decentralized alternatives to government-issued money, with Bitcoin as the best-known example of a cryptocurrency. This paper presents a model-less convolutional neural network with historic prices of a set of financial assets as its input, outputting portfolio weights of the set. The network is trained with 0.7 years' price data from a cryptocurrency exchange. The training is done in a reinforcement manner, maximizing the accumulative return, which is regarded as the reward function of the network. Backtest trading experiments with trading period of 30 minutes is conducted in the same market, achieving 10-fold returns in 1.8 months' periods. Some recently published portfolio selection strategies are also used to perform the same back-tests, whose results are compared with the neural network. The network is not limited to cryptocurrency, but can be applied to any other financial markets.

Motivation & Objective

  • To develop a model-free, end-to-end portfolio management system that learns directly from market price data without relying on financial theories or assumptions.
  • To address the limitations of discrete action spaces and Q-function estimation in deep reinforcement learning for continuous portfolio allocation.
  • To enable scalable, adaptive portfolio trading in financial markets using deep learning, particularly in volatile environments like cryptocurrency exchanges.
  • To evaluate the performance of the proposed method against established portfolio selection algorithms in a real-world backtest environment.

Proposed method

  • A convolutional neural network (CNN) processes raw historical price matrices of multiple financial assets as input, learning to map market patterns to portfolio weights.
  • The network is trained using a deterministic policy gradient (DPG) algorithm with a direct reward function based on cumulative portfolio return, avoiding Q-function estimation.
  • The reward function is defined as the logarithmic cumulative return of the portfolio, encouraging wealth growth while minimizing risk.
  • Training is performed on 0.7 years of price data from the Poloniex cryptocurrency exchange, with backtesting conducted over a 30-minute trading interval.
  • Hyperparameter tuning and model selection are performed using cross-validation, though the temporal proximity of training and test sets introduces a performance evaluation dilemma.
  • The method is designed to be extensible to any financial market, not limited to cryptocurrencies.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent learn to allocate portfolio weights directly from raw price data without prior financial modeling?
  • RQ2How does a model-free, continuous-action deep reinforcement learning approach compare to established portfolio selection algorithms in terms of return and risk?
  • RQ3What is the impact of temporal proximity between training and test data on the generalization and performance of the learned policy?
  • RQ4Can a deterministic policy gradient approach with direct reward shaping outperform existing methods in high-frequency, volatile markets like cryptocurrency?

Key findings

  • The CNN agent achieved a final portfolio value of 16.305x over the backtest period (May 14 to July 3, 2016), significantly outperforming the Universal Portfolio and other benchmarks.
  • Despite a lower cumulative return than the Passive Aggressive Mean Reversion (PAMR) strategy, the CNN agent achieved a higher Sharpe ratio (0.296) and lower maximum drawdown, indicating superior risk-adjusted performance.
  • The agent's performance was highly sensitive to the temporal distance between training and test sets, with closer test periods yielding better results, suggesting a time-limited validity window.
  • Overfitting occurred at different epochs on the cross-validation and test sets, indicating a trade-off between suppressing overfitting and preserving short-term market patterns.
  • The method demonstrated scalability and adaptability to different financial markets, as it does not rely on predefined models or assumptions about market behavior.
  • The small training set and limited asset diversity restricted the depth of the network, suggesting potential for improvement with larger, more diverse datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.