# 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](https://python-poetry.org) 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.
```bash
poetry env use 3.11
```
Then use the following command to install the project and it's depenencies:
```bash
poetry install
```
Then 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-oap",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "reactive, graph, fpg, forward propogating graph, time series, functional reactive programming, order, pricing, oms",
"author": "Howard Henson",
"author_email": "howard@henson.me.uk",
"download_url": "https://files.pythonhosted.org/packages/81/51/2037da5cfcb6781a0f9c85b124c28c1d10251e13fbb3046f0a97af241a72/hg_oap-0.1.10.tar.gz",
"platform": null,
"description": "# HGraph Orders and Pricing Library\n\nProvides a library, based on the hgraph functional reactive framework to\nsupport creating order and pricing logic.\n\nThe core components of the library include:\n\n* instruments\n* positions\n* portfolios\n* orders\n* pricing\n\nThis library is currently very green and is expected to have significant changes.\n\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.\nOnce you have checked out the project, you can install the project for development using the following command:\n\nThis is optional, but you can ensure python uses the version of python you require.\n\n```bash\npoetry env use 3.11\n```\n\nThen use the following command to install the project and it's depenencies:\n\n```bash\npoetry install\n```\n\nThen 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 to faciliate building order and pricing strategies",
"version": "0.1.10",
"project_urls": {
"Changelog": "https://github.com/hhenson/hg_oap/blob/main/CHANGELOG.md",
"Documentation": "https://hhenson.readthedocs.io",
"Homepage": "https://github.com/hhenson/hg_oap",
"Issues": "https://github.com/hhenson/hg_oap/blob/main/ISSUES.md",
"Repository": "https://github.com/hhenson/hg_oap.git"
},
"split_keywords": [
"reactive",
" graph",
" fpg",
" forward propogating graph",
" time series",
" functional reactive programming",
" order",
" pricing",
" oms"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2961c98cd78da4bc01382cc58ac5da0b2410625a06a24dc43f8b1a0390d12e66",
"md5": "8916042b51eccf5250f625ee7d1ae2bd",
"sha256": "e07b342decb05e390b5567dccdf5ed590dc97cf2571529a75e74be3429576fca"
},
"downloads": -1,
"filename": "hg_oap-0.1.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8916042b51eccf5250f625ee7d1ae2bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 50063,
"upload_time": "2024-11-03T15:17:16",
"upload_time_iso_8601": "2024-11-03T15:17:16.666599Z",
"url": "https://files.pythonhosted.org/packages/29/61/c98cd78da4bc01382cc58ac5da0b2410625a06a24dc43f8b1a0390d12e66/hg_oap-0.1.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "81512037da5cfcb6781a0f9c85b124c28c1d10251e13fbb3046f0a97af241a72",
"md5": "ed44900d4006ed37c7532765e2d431a4",
"sha256": "9da6df67fe6b230cf37173e5b926f8b547a9702ad422087df899cee32a082822"
},
"downloads": -1,
"filename": "hg_oap-0.1.10.tar.gz",
"has_sig": false,
"md5_digest": "ed44900d4006ed37c7532765e2d431a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 40116,
"upload_time": "2024-11-03T15:17:17",
"upload_time_iso_8601": "2024-11-03T15:17:17.880912Z",
"url": "https://files.pythonhosted.org/packages/81/51/2037da5cfcb6781a0f9c85b124c28c1d10251e13fbb3046f0a97af241a72/hg_oap-0.1.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-03 15:17:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hhenson",
"github_project": "hg_oap",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "hg-oap"
}