Skip to content

Revolutionizing Portfolio Management in the age of Generative AI using DRL and GAN

License

Notifications You must be signed in to change notification settings

LoopGlitch26/Portfolio-Optimization

Repository files navigation

Revolutionizing Portfolio Management in the age of Generative AI

Introduction

Traditional portfolio management has relied on human expertise and heuristics to select assets and optimize portfolios. The combination of deep reinforcement learning (DRL) and generative adversarial networks (GANs) provides a robust framework for portfolio management. The aim of the project is to revolutionize portfolio management in the age of Generative AI and demonstrate the potential of DRL and GANs to improve portfolio performance and manage risk. This approach enables the creation of synthetic data that can be utilized to train an agent, resulting in improved investment decision-making.

image

Problem Identification

Traditional portfolio management relies on human expertise and heuristics, which can be suboptimal and lead to losses. Market conditions are constantly changing, making it difficult to adapt and optimize portfolio strategies in a timely manner.

Solution Approach

Develop a GAN-based synthetic dataset by forecasting market conditions to simulate multiple investment scenarios and reduce the impact of real-time market fluctuations. Train a DRL model on the synthetic dataset to identify low-risk high-return investment opportunities and optimize portfolio performance by continuously adapting to evolving market conditions.

Model Diagram

image

Dataset Description

The dataset contains the stock data of FAANG companies from 1st January 2015. It was sourced from a dataset available on Kaggle and Yahoo Finance that contains daily stock market data for Facebook, Amazon, Apple, Netflix, and Google.

image

Parameters used:

  • Basic Variables: Highest Price, Lowest Price, Opening Price, Closing Price, Volume
  • Technical Indicators: Simple Moving Average (SMA), Exponential Moving Average (EMA), Moving Average Convergence Divergence (MACD), Relative Strength Index (RSI), Average True Range (ATR), Bollinger Bands, Raw Stochastic Value (RSV)

image

Flowchart

Data Preprocessing:

Screenshot 2023-06-17 at 5 21 44 AM

GAN + DRL:

Screenshot 2023-06-15 at 4 36 22 PM

Portfolio Prediction

Facebook:

image image

Amazon:

image image

Apple:

image image

Netflix:

image image

Google:

image image

Result Analysis

GAN Loss Plot:

image

Portfolio Rewards:

image

Future Scope

  • Analyze news articles, social media feeds, and other textual data to extract sentiment and assess market sentiment towards FAANG companies, leveraging the use of NLP techniques.

  • Conduct additional comparative analysis of the DRL and GAN's combined model with other advanced existing systems, exploring its performance across different market conditions and asset classes.

  • Enhance the synthetic asset return generation capabilities of the proposed system by incorporating more sophisticated algorithms and techniques to provide even better insights for investment decisions.

About

Revolutionizing Portfolio Management in the age of Generative AI using DRL and GAN

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published