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
This project uses uv for environment and dependency management.
See https://docs.astral.sh/uv/ for installation instructions.
Here are some useful commands:
Create a local virtual environment in the project directory (./.venv) with Python 3.12:
uv venv --python 3.12
Install the project and its dependencies:
uv sync
uv sync --extra docs
uv sync --all-extras --all-groups
PyCharm can use the interpreter from ./.venv (created by uv) to set up the project.
Recent versions of PyCharm support uv, use the "uv" interpreter type.
Run Tests
uv run pytest
uv run pytest --cov=hg_systematic --cov-report=xml