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
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
File details
Details for the file hg_systematic-0.0.3.tar.gz
.
File metadata
- Download URL: hg_systematic-0.0.3.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab6c526c2057a2c8ca22040e8c9610e80ce556a9daa3e7c532e946f5fc7b6be |
|
MD5 | ea4173eb3a48e740d016c94511aa5903 |
|
BLAKE2b-256 | e8ff277e961d4ee2104deee4eca525639e04643552c038fa1742a61f5e8c7d9f |
Provenance
The following attestation bundles were made for hg_systematic-0.0.3.tar.gz
:
Publisher:
deploy-on-tag.yml
on hhenson/hg_systematic
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
hg_systematic-0.0.3.tar.gz
- Subject digest:
5ab6c526c2057a2c8ca22040e8c9610e80ce556a9daa3e7c532e946f5fc7b6be
- Sigstore transparency entry: 147371962
- Sigstore integration time:
- Predicate type:
File details
Details for the file hg_systematic-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: hg_systematic-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c21dfdaa8b867291dd4a9f1fdd73cb5e30a34d0c03963cada522797e505ea708 |
|
MD5 | c99a447ac34dfc6b96a8da5b64d3f991 |
|
BLAKE2b-256 | b11b8cb7212c2a106e7484a5dfba2b066fefb143ec9178848b3661c989e980cd |
Provenance
The following attestation bundles were made for hg_systematic-0.0.3-py3-none-any.whl
:
Publisher:
deploy-on-tag.yml
on hhenson/hg_systematic
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
hg_systematic-0.0.3-py3-none-any.whl
- Subject digest:
c21dfdaa8b867291dd4a9f1fdd73cb5e30a34d0c03963cada522797e505ea708
- Sigstore transparency entry: 147371963
- Sigstore integration time:
- Predicate type: