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.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

hg_systematic-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hg_systematic-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hg_systematic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 991824dd10ce77dbd6405a06ebf4598a5b7b0813d503d741dd43e69452ea4037
MD5 4bb47da2f13cd04049fadc134a611f08
BLAKE2b-256 5d2b40fd07ebc812c8352d5b2f96af25488e0c3cf5388a38fd5ecd862b152a17

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for hg_systematic-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59f545a55356ff52fe81aa3bcb4ef1a3442d1b1bda7e3af5a8e55a7435dda065
MD5 1dcf1c026c1ae716b7f8ddd789f8fbce
BLAKE2b-256 2753206c818387d8a62583272cb8cfb464d780f19da757bc7b6ec762ca9dd498

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page