Skip to main content

A library and examples to show how HGraph can be used for systematic trading.

Project description

HG Systematic

This is a library of utilities and examples to highlight how HGraph can be used to implement systematic trading strategies.

See this for more information.

Development

This project uses uv for environment and dependency management. See https://docs.astral.sh/uv/ for installation instructions.

Here are some useful commands:

Create a local virtual environment in the project directory (./.venv) with Python 3.12:

uv venv --python 3.12

Install the project and its dependencies:

# Base dependencies
uv sync

# Include documentation dependencies
uv sync --extra docs

# Install all optional extras (e.g. tests, adaptors)
uv sync --all-extras --all-groups

PyCharm can use the interpreter from ./.venv (created by uv) to set up the project. Recent versions of PyCharm support uv, use the "uv" interpreter type.

Run Tests

# No Coverage
uv run pytest
# Generate Coverage Report
uv run pytest --cov=hg_systematic --cov-report=xml

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

hg_systematic-0.0.45.tar.gz (532.4 kB view details)

Uploaded Source

Built Distribution

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

hg_systematic-0.0.45-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file hg_systematic-0.0.45.tar.gz.

File metadata

  • Download URL: hg_systematic-0.0.45.tar.gz
  • Upload date:
  • Size: 532.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hg_systematic-0.0.45.tar.gz
Algorithm Hash digest
SHA256 99d3a08176aa6226d4638a7a3ebbcfc05a186be44d76cfb79e297029fdb4b9db
MD5 1c28b22ab94232606a23816066c9b309
BLAKE2b-256 5c0bd7e827eee4b3c7c20dbe1b67cd542b386b31a89f6225a085f2fad4280f1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_systematic-0.0.45.tar.gz:

Publisher: deploy-on-tag.yml on hhenson/hg_systematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hg_systematic-0.0.45-py3-none-any.whl.

File metadata

  • Download URL: hg_systematic-0.0.45-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hg_systematic-0.0.45-py3-none-any.whl
Algorithm Hash digest
SHA256 168d32ba6bb043204de1ca8877131dac1a28b8ccbdda4d1bb8b62c23a927fa4a
MD5 a2f2d4ed97f590708daa48300294b7a5
BLAKE2b-256 efe87055126168491391294e171c5589b9ba7d0266465bc2ea972b1b8395b1d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_systematic-0.0.45-py3-none-any.whl:

Publisher: deploy-on-tag.yml on hhenson/hg_systematic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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