Skip to main content

HGraph Orders and Pricing Library

Provides a library, based on the hgraph functional reactive framework to support creating order and pricing logic.

The core components of the library include:

  • instruments
  • positions
  • portfolios
  • orders
  • pricing

This library is currently very green and is expected to have significant changes.

Development

This project now uses the uv package manager for dependency management and running tasks.

Once you have checked out the project, you can set up a local virtual environment and install dependencies as follows:

  1. Create or reuse a virtual environment with Python 3.11 (recommended):
uv venv -p 3.11
  1. Activate the virtual environment (example for bash/zsh):
source .venv/bin/activate
  1. Install the project and all development dependencies (tests, docs, etc.):
uv sync --all-extras --all-groups

Notes:

  • uv sync reads pyproject.toml and uv.lock and installs the project in editable mode along with dependencies.
  • If you only want runtime dependencies, omit --all-groups.
  • If you don't need optional extras, omit --all-extras.

To see where the Python interpreter lives for IDE configuration (e.g., PyCharm), after activating the venv you can run:

which python

PyCharm can be pointed at the .venv interpreter in the project root.

Run Tests

# No Coverage
uv run pytest
# Generate Coverage Report
uv run pytest --cov=hg_oap --cov-report=xml

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hg_oap-0.3.2.tar.gz (123.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hg_oap-0.3.2-py3-none-any.whl (70.3 kB view details)

Uploaded Python 3

File details

Details for the file hg_oap-0.3.2.tar.gz.

File metadata

  • Download URL: hg_oap-0.3.2.tar.gz
  • Upload date:
  • Size: 123.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hg_oap-0.3.2.tar.gz
Algorithm Hash digest
SHA256 5fc8e0ce033dc7676719dc2534aa2f437b7f0724c364a8f3bb930c4f154e7d33
MD5 6f14c98c8db1a7e1f790877cfd730e7e
BLAKE2b-256 75ea98c45948ca417d4dd5ec17285679916ffa0f68adf8f7efc8285a22af31fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_oap-0.3.2.tar.gz:

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hg_oap-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: hg_oap-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 70.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hg_oap-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a05538255b6fe956b45ff21a3ffc0bface79f917eb94501ffaf06487cf8e8df
MD5 d02c7fc6072685f7e29c4f39c4c4e9a6
BLAKE2b-256 53b955c38ccb5737d3c3a300dd6b0951ef1c93b955a303ea8c52333fdab1a346

See more details on using hashes here.

Provenance

The following attestation bundles were made for hg_oap-0.3.2-py3-none-any.whl:

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.3

2 files

This release

0.3.2 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page