Skip to main content

A library to faciliate building order and pricing strategies

Project description

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

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. Once you have checked out the project, you can install the project for development using the following command:

This is optional, but you can ensure python uses the version of python you require.

poetry env use 3.11

Then use the following command to install the project and it's depenencies:

poetry install

Then 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


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.1.5.tar.gz (36.9 kB view hashes)

Uploaded Source

Built Distribution

hg_oap-0.1.5-py3-none-any.whl (46.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page