Welcome to NeuralHedge’s documentation!
NeuralHedge is a Python library implements PyTorch realization of Hedging, Utility Maximization and Portfolio Optimization with neural networks. In particular it is made up of fully data-driven neural solver, where you could input your own data. The strategy, model and solver class are fully decoupled, making it very easy to implement your personalized problem. This implementation is very light weighted and essentially only relies on PyTorch for convenient future maintenance.
Installation📦
Install the latest stable release:
(.venv) $ pip install neuralhedge
Install the latest github version:
(.venv) $ pip install git+https://github.com/justinhou95/NeuralHedge.git
Clone the github repo for development to access to tests, tutorials and scripts.
(.venv) $ git clone https://github.com/justinhou95/NeuralHedge.git
and install in develop mode
(.venv) $ cd NeuralHedge
(.venv) $ pip install -e .
Contents: