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.2.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.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synthetic_ohlcv-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c7faf4202a70c825363d3d1adffb2dbec980e72481d7e891386e6650cd23207e
MD5 34ea2e91d09552730e0b126604011435
BLAKE2b-256 e58a6e095a1f769776e15704ae9704095a339f131d7e9d0ed0df0dd0a913083b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synthetic_ohlcv-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80e10300f65fe409e99a92f05492114ae1984ac3938998e9e4c8657a02383963
MD5 c77097bcbae8de5412a22f3ac636209a
BLAKE2b-256 d7fbe1f7e8d66f7fa6302d666dee5f8c2c3c47a14e922cdf61798b77cb621cba

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