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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gym_stopping-0.0.2.tar.gz.
File metadata
- Download URL: gym_stopping-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fdb2c583f28cb54a881e7e6e89980b56e085c40d8f01aa48c9b9acba4817ad7
|
|
| MD5 |
db08bb6e514272f6201b1f23be77ce1f
|
|
| BLAKE2b-256 |
a4f5d3fb5e78662620d799baf11be467d9182bd3603e7658abc52e452b754510
|
File details
Details for the file gym_stopping-0.0.2-py3-none-any.whl.
File metadata
- Download URL: gym_stopping-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e57a2b451d79b6b96215012298b109f2a9d10ef42ad4606679c12554b0c09a3
|
|
| MD5 |
8404bb55b25e45f68982975e2187649e
|
|
| BLAKE2b-256 |
1e1f8f98568235639aec8aff76265f2ed40f0d054143851d9deae6309346f363
|