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.8.tar.gz (11.9 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.8-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hg_systematic-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ddabb78d91818f2aecbb68f1d4cbfa83d79c98ee4e52d3aa382c934dc487f236
MD5 817104e64fa295f5905956ccac15c5b1
BLAKE2b-256 e82befbb61734b5c698849d82ee568ee2ab195a1f6e52dd794d5c3c84c1fa521

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for hg_systematic-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f543b9c5ceed88cc32d708eb0f9bafde81d0084a39eba67dd7adbffeca21a8b3
MD5 33bff0485e58bb165c9db8fbcf6b10bb
BLAKE2b-256 22466f11bb5e1627bec2434928e9d02834090dcb9b2b0d1c2f73a8b30f965746

See more details on using hashes here.

Provenance

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