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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99d3a08176aa6226d4638a7a3ebbcfc05a186be44d76cfb79e297029fdb4b9db
|
|
| MD5 |
1c28b22ab94232606a23816066c9b309
|
|
| BLAKE2b-256 |
5c0bd7e827eee4b3c7c20dbe1b67cd542b386b31a89f6225a085f2fad4280f1a
|
Provenance
The following attestation bundles were made for hg_systematic-0.0.45.tar.gz:
Publisher:
deploy-on-tag.yml on hhenson/hg_systematic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hg_systematic-0.0.45.tar.gz -
Subject digest:
99d3a08176aa6226d4638a7a3ebbcfc05a186be44d76cfb79e297029fdb4b9db - Sigstore transparency entry: 583576507
- Sigstore integration time:
-
Permalink:
hhenson/hg_systematic@08dc18be7ff385cbdb4a589bcc13be7ad5eb88a4 -
Branch / Tag:
refs/tags/v_0.0.45 - Owner: https://github.com/hhenson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-on-tag.yml@08dc18be7ff385cbdb4a589bcc13be7ad5eb88a4 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
168d32ba6bb043204de1ca8877131dac1a28b8ccbdda4d1bb8b62c23a927fa4a
|
|
| MD5 |
a2f2d4ed97f590708daa48300294b7a5
|
|
| BLAKE2b-256 |
efe87055126168491391294e171c5589b9ba7d0266465bc2ea972b1b8395b1d4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hg_systematic-0.0.45-py3-none-any.whl -
Subject digest:
168d32ba6bb043204de1ca8877131dac1a28b8ccbdda4d1bb8b62c23a927fa4a - Sigstore transparency entry: 583576511
- Sigstore integration time:
-
Permalink:
hhenson/hg_systematic@08dc18be7ff385cbdb4a589bcc13be7ad5eb88a4 -
Branch / Tag:
refs/tags/v_0.0.45 - Owner: https://github.com/hhenson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-on-tag.yml@08dc18be7ff385cbdb4a589bcc13be7ad5eb88a4 -
Trigger Event:
push
-
Statement type: