hansbuehler / deephedging Goto Github PK
View Code? Open in Web Editor NEWImplementation of the vanilla Deep Hedging engine
License: GNU General Public License v3.0
Implementation of the vanilla Deep Hedging engine
License: GNU General Public License v3.0
Dr. Hans, with the current development of LLM and GPT, do you believe that there exists a Base model for Financial Market? It will be trained with market data and info, and capture the relationships between different markets, e.g. Equity, FX, and etc. Once we have this, we could build other functionalities on top of it, like hedging.
Thanks
The current code is incompatible with Tensorflow 2.11 due to updates of the optimizer API:s.
The Adam and RMSprop optimizers no longer has the get_weights()
method.
See some info here. A quick fix is to simply pass to the legacy namespace.
This implies changing one row in trainer.py and one row in trainer_serialize.ipynb.
In trainer.py change:
optimzier = config.train("optimizer", "RMSprop", help="Optimizer" )
to:
optimzier = config.train("optimizer", tf.keras.optimizers.legacy.RMSprop(), help="Optimizer" )
And in trainer_serialize.ipynb equivalently set the optimizer as:
...
# trainer
from tensorflow.keras.optimizers.legacy import Adam
config.trainer.train.optimizer = Adam()
...
Apparently the old optimizers are to be kept indefinitely thus this should be a relatively stable solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.