As of December 12, 2019.
This package is my implementation of an HFT environment extending a POMDP framework from OpenAI.
Module containing various environment implementations.
trend_following.py
implementation where the agent uses market orders to trade crytocurrencies.market_maker.py
implementation where the agent uses limit orders to trade cryptocurrencies
Module containing utility classes for the gym_trading
module.
broker.py
,position.py
, andorder.py
manages orders & executions, position inventories, and PnL calculations forenvs
render_env.py
renders midpoint price data as the agent steps through the environmentplot_history.py
renders environment observations and PnLreward.py
contains the reward functionsstatistics
contains trackers for risk, rewards, etc.
Module containing test cases for gym_trading
's modules.