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.0.tar.gz (18.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: synthetic_ohlcv-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 78291c5dfda6f1ce02410e15953dacf2e84422094b2337bc070debe65dd41242
MD5 45bf21385163248f5f9270acb8ec02c5
BLAKE2b-256 1e851a46de0e9f3d031d4acfedf801960a775d2600fa020b42d2b239e7349425

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