Skip to main content

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:

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gym_stopping-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for gym_stopping-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0fdb2c583f28cb54a881e7e6e89980b56e085c40d8f01aa48c9b9acba4817ad7
MD5 db08bb6e514272f6201b1f23be77ce1f
BLAKE2b-256 a4f5d3fb5e78662620d799baf11be467d9182bd3603e7658abc52e452b754510

See more details on using hashes here.

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

Hashes for gym_stopping-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e57a2b451d79b6b96215012298b109f2a9d10ef42ad4606679c12554b0c09a3
MD5 8404bb55b25e45f68982975e2187649e
BLAKE2b-256 1e1f8f98568235639aec8aff76265f2ed40f0d054143851d9deae6309346f363

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page