Skip to content

Next Financial Decision Model: A reinforcement learning project that develops a trading agent for financial environments. The agent is implemented using the PPO algorithm from TensorFlow's tf-agents library. The project includes a custom financial environment and a data-driven reward system.

Notifications You must be signed in to change notification settings

Hanbry/next-financial-decision-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Financial Decision Model

This project utilizes reinforcement learning to develop a trading agent capable of operating in a financial environment. The implementation leverages the tf-agents library from TensorFlow for efficient and effective reinforcement learning algorithms.

Project Structure

  • agents/: Contains the implementation of the PPO agent.
  • checkpoints/: Contains the saved model checkpoints.
  • data/: Contains the financial data used for training and evaluation.
  • environments/: Contains the implementation of the financial environment.
  • experiments/: Contains the scripts to run experiments.
  • models/: Contains the model definitions.

Branches

The main branch is configured to run on Apple's M-series chips. The cuda12-version branch is configured to run on devices with CUDA 12.3. Both branches are up to date with the latest developments.

Setup

pip install pipenv
pipenv install

Train

Run and continue from last checkpoint

pipenv run python3 main.py

Run and clean all previous checkpoints

pipenv run python3 main.py --clean_run

About

Next Financial Decision Model: A reinforcement learning project that develops a trading agent for financial environments. The agent is implemented using the PPO algorithm from TensorFlow's tf-agents library. The project includes a custom financial environment and a data-driven reward system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages