A OpenAI Gym Env for continuous control
Project description
gym-stopping
Brief description:
- control space: discrete {0,1}, continue or stop
- state space: continuous (0, \infty), [0,1], stock price and time to maturity
- default parameters: spot = 90.0, strike = 100.0, drift = 0.02, sigma = 0.20, maturity = 1.0, periods = 365
To install:
- pip install gym-stopping
- import gym_stopping
To load:
- env = gym.make("stopping-v0")
To update version after changes:
- change version to, e.g., 1.0.7 from setup.py file
- git clone https://github.com/claudia-viaro/gym-stopping.git
- cd gym-update
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gym_stopping-0.0.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for gym_stopping-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e57a2b451d79b6b96215012298b109f2a9d10ef42ad4606679c12554b0c09a3 |
|
MD5 | 8404bb55b25e45f68982975e2187649e |
|
BLAKE2b-256 | 1e1f8f98568235639aec8aff76265f2ed40f0d054143851d9deae6309346f363 |