Skip to main content

Interactive synthetic OHLCV kline generator for learnable trading experiments.

Project description

Synthetic Klines

Standalone synthetic OHLCV kline generator for learnable trading experiments.

Requires Python 3.11 or newer.

Installation

Install from PyPI with pip:

python -m pip install synthetic-ohlcv

Or install with uv:

uv pip install synthetic-ohlcv

Run The App

After installation, run:

synthetic-ohlcv

Open http://127.0.0.1:8100.

For local development, you can also run:

uv run synthetic-ohlcv

Use a custom port when needed:

uv run synthetic-ohlcv --port 8110

Python API

from synthetic_ohlcv import SyntheticKlinesConfig, make_synthetic_ohlcv

frame = make_synthetic_ohlcv(SyntheticKlinesConfig(rows=4_000, seed=43))

Generated datasets contain exactly:

timestamp, open, high, low, close, volume, turnover

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

synthetic_ohlcv-0.1.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

synthetic_ohlcv-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file synthetic_ohlcv-0.1.1.tar.gz.

File metadata

  • Download URL: synthetic_ohlcv-0.1.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for synthetic_ohlcv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cfa132f9e5ea451f7b0f19aca75012df7e18b51bdeb16bb5ec850bf1a6db806b
MD5 9ca579dda97a07b6c83dd80548cdbf6c
BLAKE2b-256 42b06c06c49e37d3fcc47b53b32c84ab8160308a5a612519d7eea540ea505a59

See more details on using hashes here.

File details

Details for the file synthetic_ohlcv-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: synthetic_ohlcv-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for synthetic_ohlcv-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5aba2ff9de5edd0c554fcc12dce7698b80e2c728c71b45ed6304199a45f30f4
MD5 9b8c370f02cba8748ec6dbe0361f8ef5
BLAKE2b-256 36fc81c72970063889235b3da6970310ad12ebc6f6fb173f1de2f06dc7ca358f

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