# 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": "reactive, graph, fpg, forward propogating graph, time series, functional reactive programming, frp, functional, time-series, systematic, trading, strategy",
"author": "Howard Henson",
"author_email": "howard@henson.me.uk",
"download_url": "https://files.pythonhosted.org/packages/be/20/9cf94a5110e8e323cb7028e2d1f9dc92115855240a3a359c299f223be381/hg_systematic-0.0.24.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\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A library and examples to show how HGraph can be used for systematic trading. ",
"version": "0.0.24",
"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": [
"reactive",
" graph",
" fpg",
" forward propogating graph",
" time series",
" functional reactive programming",
" frp",
" functional",
" time-series",
" systematic",
" trading",
" strategy"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4293615c1ffcc9faac5292cf75ab43092740ccfb49626fbdb69651d02961dcd7",
"md5": "2275058d9e4bd492de25e8c0f06ded31",
"sha256": "3fee3396bf9d05d53328f1e09e146ee595e90f408dcbda7a44785ce5c3359cb7"
},
"downloads": -1,
"filename": "hg_systematic-0.0.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2275058d9e4bd492de25e8c0f06ded31",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 27959,
"upload_time": "2025-03-22T06:58:42",
"upload_time_iso_8601": "2025-03-22T06:58:42.547397Z",
"url": "https://files.pythonhosted.org/packages/42/93/615c1ffcc9faac5292cf75ab43092740ccfb49626fbdb69651d02961dcd7/hg_systematic-0.0.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "be209cf94a5110e8e323cb7028e2d1f9dc92115855240a3a359c299f223be381",
"md5": "ac0c18049f66dbb61e164f4910ba50de",
"sha256": "357ea718fa7563be8f243dc4306de6c1321ebe1476b1d723c219b26c95a1e966"
},
"downloads": -1,
"filename": "hg_systematic-0.0.24.tar.gz",
"has_sig": false,
"md5_digest": "ac0c18049f66dbb61e164f4910ba50de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 21469,
"upload_time": "2025-03-22T06:58:43",
"upload_time_iso_8601": "2025-03-22T06:58:43.657263Z",
"url": "https://files.pythonhosted.org/packages/be/20/9cf94a5110e8e323cb7028e2d1f9dc92115855240a3a359c299f223be381/hg_systematic-0.0.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-22 06:58:43",
"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"
}