# HG Systematic
This is a library of utilities and examples to highlight how HGraph can be used to implement
systematic trading strategies.
See [this](https://hgraph.readthedocs.io/en/latest/) for more information.
## Development
The project is currently configured to make use of [Poetry](https://python-poetry.org) 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)
```bash
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.
```bash
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.
```bash
poetry install --with docs --all-extras
```
If you did not use the first command, you can find the location of the installation using:
```bash
poetry env info
```
PyCharm can make use of poetry to ``setup`` the project.
### Run Tests
```bash
# No Coverage
poetry run pytest
```
```bash
# Generate Coverage Report
poetry run pytest --cov=your_package_name --cov-report=xml
```
Raw data
{
"_id": null,
"home_page": null,
"name": "hg-systematic",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "forward propogating graph, fpg, frp, functional, functional reactive programming, graph, reactive, strategy, systematic, time series, time-series, trading",
"author": null,
"author_email": "Howard Henson <howard@henson.me.uk>",
"download_url": "https://files.pythonhosted.org/packages/9b/a0/0299d6b82a237b68dcd10fc9d5f0e55fd1b85c5578bafdf103b2c0e99a2a/hg_systematic-0.0.38.tar.gz",
"platform": null,
"description": "# HG Systematic\n\nThis is a library of utilities and examples to highlight how HGraph can be used to implement\nsystematic trading strategies.\n\n\nSee [this](https://hgraph.readthedocs.io/en/latest/) for more information.\n\n## Development\n\nThe project is currently configured to make use of [Poetry](https://python-poetry.org) for dependency management. \nTake a look at the website to see how best to install the tool.\n\nHere are some useful commands:\n\nFirst, this will cause the virtual environment to be installed in the same folder as the project (in .venv folder)\n\n```bash\npoetry config virtualenvs.in-project true\n```\n\nUse this command to set the version of Python to make use of if you want a specific version of Python.\n\n```bash\npoetry env use 3.12\n```\n\nThen use the following command to install the project and its dependencies. Note that the ``--with docs`` installs\nthe dependencies to build the documentation set which is not required otherwise, also the ``--all-extras`` is only\nrequired for the adaptors.\n\n```bash\npoetry install --with docs --all-extras\n```\n\nIf you did not use the first command, you can find the location of the installation using:\n\n```bash\npoetry env info\n```\n\nPyCharm can make use of poetry to ``setup`` the project.\n\n### Run Tests\n\n```bash\n# No Coverage\npoetry run pytest\n```\n\n```bash\n# Generate Coverage Report\npoetry run pytest --cov=your_package_name --cov-report=xml\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library and examples to show how HGraph can be used for systematic trading.",
"version": "0.0.38",
"project_urls": {
"Changelog": "https://github.com/hhenson/hg_systematic/blob/main/CHANGELOG.md",
"Documentation": "https://github.com/hhenson/hg_systematic/blob/main/README.md",
"Homepage": "https://github.com/hhenson/hg_systematic",
"Issues": "https://github.com/hhenson/hg_systematic/blob/main/ISSUES.md",
"Repository": "https://github.com/hhenson/hg_systematic.git"
},
"split_keywords": [
"forward propogating graph",
" fpg",
" frp",
" functional",
" functional reactive programming",
" graph",
" reactive",
" strategy",
" systematic",
" time series",
" time-series",
" trading"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ce64e70aa64ccf6c3f6337c5b4f819cdf2512175c6faaf0623d1674fa1501a84",
"md5": "b12e35b0dddc451b77b6c417f0c9ed98",
"sha256": "76b2382e99995952a3a2cbd51808fb6416e80beb27838d1864ff6e68d0f312f1"
},
"downloads": -1,
"filename": "hg_systematic-0.0.38-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b12e35b0dddc451b77b6c417f0c9ed98",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 38168,
"upload_time": "2025-09-09T17:12:00",
"upload_time_iso_8601": "2025-09-09T17:12:00.638240Z",
"url": "https://files.pythonhosted.org/packages/ce/64/e70aa64ccf6c3f6337c5b4f819cdf2512175c6faaf0623d1674fa1501a84/hg_systematic-0.0.38-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9ba00299d6b82a237b68dcd10fc9d5f0e55fd1b85c5578bafdf103b2c0e99a2a",
"md5": "4ca19d372bcc3483c5198bbe8a4db72d",
"sha256": "594f4d2936012caa050243db546d1669954f1470f0e100a8622a454f9fdacc25"
},
"downloads": -1,
"filename": "hg_systematic-0.0.38.tar.gz",
"has_sig": false,
"md5_digest": "4ca19d372bcc3483c5198bbe8a4db72d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 521857,
"upload_time": "2025-09-09T17:12:02",
"upload_time_iso_8601": "2025-09-09T17:12:02.279127Z",
"url": "https://files.pythonhosted.org/packages/9b/a0/0299d6b82a237b68dcd10fc9d5f0e55fd1b85c5578bafdf103b2c0e99a2a/hg_systematic-0.0.38.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-09 17:12:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hhenson",
"github_project": "hg_systematic",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "hg-systematic"
}