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

The project is currently configured to make use of Poetry for dependency management. Take a look at the website to see how best to install the tool.

Here are some useful commands:

First, this will cause the virtual environment to be installed in the same folder as the project (in .venv folder)

poetry config virtualenvs.in-project true

Use this command to set the version of Python to make use of if you want a specific version of Python.

poetry env use 3.12

Then use the following command to install the project and its dependencies. Note that the --with docs installs the dependencies to build the documentation set which is not required otherwise, also the --all-extras is only required for the adaptors.

poetry install --with docs --all-extras

If you did not use the first command, you can find the location of the installation using:

poetry env info

PyCharm can make use of poetry to setup the project.

Run Tests

# No Coverage
poetry run pytest
# Generate Coverage Report
poetry run pytest --cov=your_package_name --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.33.tar.gz (498.8 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.33-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hg_systematic-0.0.33.tar.gz
Algorithm Hash digest
SHA256 00ffc9f71551bb05af2cbe2eb5b16ef78f26debdfe3fe2b555c06bc12d9b87a6
MD5 6f42882ab27f4dbfe92e7d1ec61703ab
BLAKE2b-256 8ca25e8ccbd900ffd441ff618b6d110d8872700ac7407f64deeb8ca20b4d9490

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_systematic-0.0.33.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.33-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hg_systematic-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 d2dd9bdf303dd3f3fcb2991083aec3fff6942d6c95969257ae1299882e42f99d
MD5 20c96223de20726d004d6d7878647906
BLAKE2b-256 be76979f2eb135c0eabe62e7117ed8f48c2d9d2e26fc6c7838f775e259ad0260

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_systematic-0.0.33-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