morphiq-sdk 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/PKG-INFO +8 -7
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/README.md +7 -6
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/README.md +1 -1
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/pyproject.toml +1 -1
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/.gitignore +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/LICENSE +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/__init__.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/batch_price.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/batch_price_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/book_explain.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/book_revalue.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/book_solve.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/chunked_price.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/chunked_price_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/greeks.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/greeks_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/identify_regime.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/identify_regime_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/implied_greeks.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/implied_greeks_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/implied_volatility.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/implied_volatility_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/list_models.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/option_revalue.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/option_solve.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/price_american.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/price_async.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/price_european.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/provider_regime.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/quickstart.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/rate_card_quote.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/solver_app/README.md +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/solver_app/app.js +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/solver_app/app.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/solver_app/index.html +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/solver_app/style.css +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/standard_greeks.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/examples/tabular_price.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/README.md +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/books/explain.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/books/revalue.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/books/solve.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/cost/quotation.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/pricing/models.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/pricing/options.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/pricing/standard-five.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/regime/identification.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/scenarios/revalue.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/scenarios/solve.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/notebooks/start-here.ipynb +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/__init__.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/client.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/errors.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/market_data.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/models.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/pandas.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/py.typed +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk/workflows.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk_yahoo/__init__.py +0 -0
- {morphiq_sdk-0.3.0 → morphiq_sdk-0.3.1}/src/morphiq_sdk_yahoo/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: morphiq-sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Option pricing, Greeks, implied volatility and market regime identification through a Python API client
|
|
5
5
|
Project-URL: Homepage, https://developers.morphiqlabs.com
|
|
6
6
|
Project-URL: Documentation, https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/README.md
|
|
@@ -34,25 +34,26 @@ Provides-Extra: pandas
|
|
|
34
34
|
Requires-Dist: pandas<4,>=2.2; extra == 'pandas'
|
|
35
35
|
Description-Content-Type: text/markdown
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# Options, scenarios, books and market regimes in Python
|
|
38
38
|
|
|
39
39
|
Price European and American options, calculate standard-five or all-ten Greeks, solve implied
|
|
40
|
-
volatility, and
|
|
40
|
+
volatility, revalue scenarios and books, explain P&L, solve targets, and identify
|
|
41
|
+
market regimes from price histories.
|
|
41
42
|
|
|
42
43
|
`morphiq-sdk` is a typed Python client for the MorphIQ API, with synchronous and
|
|
43
44
|
asynchronous calls. Pricing, Greeks, implied volatility and implied Greeks
|
|
44
45
|
support ordered batches. Runnable examples and interactive notebooks cover option
|
|
45
|
-
valuation, sensitivity analysis and market-regime identification.
|
|
46
|
+
valuation, sensitivity analysis, scenarios, books and market-regime identification.
|
|
46
47
|
|
|
47
48
|
See the [documentation index](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/README.md) for all feature guides and the
|
|
48
49
|
[Python API reference](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/API.md) for methods, models and errors.
|
|
49
50
|
|
|
50
|
-
This client targets the MorphIQ API **0.10
|
|
51
|
+
This client targets the MorphIQ API **0.10** surface (**API v1 · Beta**,
|
|
51
52
|
contract label `0.1.0`): `collection:verb` routes, `option` / `market` / `model`
|
|
52
53
|
requests, grouped response metadata and RFC 9457 problem errors. Methods are
|
|
53
54
|
grouped by collection and spell each operation's canonical id, for example
|
|
54
|
-
`client.options.price(...)` for `options.price`. SDK
|
|
55
|
-
|
|
55
|
+
`client.options.price(...)` for `options.price`. The SDK is published on PyPI
|
|
56
|
+
for this contract; SDK 0.2.1 uses the retired API routes. See the
|
|
56
57
|
[0.10.0 migration guide](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/API_0_10_ADOPTION.md)
|
|
57
58
|
and [model capabilities](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/MODELS.md): BSM/BS1993 support batches
|
|
58
59
|
up to 100; QdFp and cash-dividend finite difference support single price and IV.
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Options, scenarios, books and market regimes in Python
|
|
2
2
|
|
|
3
3
|
Price European and American options, calculate standard-five or all-ten Greeks, solve implied
|
|
4
|
-
volatility, and
|
|
4
|
+
volatility, revalue scenarios and books, explain P&L, solve targets, and identify
|
|
5
|
+
market regimes from price histories.
|
|
5
6
|
|
|
6
7
|
`morphiq-sdk` is a typed Python client for the MorphIQ API, with synchronous and
|
|
7
8
|
asynchronous calls. Pricing, Greeks, implied volatility and implied Greeks
|
|
8
9
|
support ordered batches. Runnable examples and interactive notebooks cover option
|
|
9
|
-
valuation, sensitivity analysis and market-regime identification.
|
|
10
|
+
valuation, sensitivity analysis, scenarios, books and market-regime identification.
|
|
10
11
|
|
|
11
12
|
See the [documentation index](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/README.md) for all feature guides and the
|
|
12
13
|
[Python API reference](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/API.md) for methods, models and errors.
|
|
13
14
|
|
|
14
|
-
This client targets the MorphIQ API **0.10
|
|
15
|
+
This client targets the MorphIQ API **0.10** surface (**API v1 · Beta**,
|
|
15
16
|
contract label `0.1.0`): `collection:verb` routes, `option` / `market` / `model`
|
|
16
17
|
requests, grouped response metadata and RFC 9457 problem errors. Methods are
|
|
17
18
|
grouped by collection and spell each operation's canonical id, for example
|
|
18
|
-
`client.options.price(...)` for `options.price`. SDK
|
|
19
|
-
|
|
19
|
+
`client.options.price(...)` for `options.price`. The SDK is published on PyPI
|
|
20
|
+
for this contract; SDK 0.2.1 uses the retired API routes. See the
|
|
20
21
|
[0.10.0 migration guide](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/API_0_10_ADOPTION.md)
|
|
21
22
|
and [model capabilities](https://github.com/MorphIQ-Labs/morphiq-sdk-python/blob/main/docs/MODELS.md): BSM/BS1993 support batches
|
|
22
23
|
up to 100; QdFp and cash-dividend finite difference support single price and IV.
|
|
@@ -49,7 +49,7 @@ See [the quickstart](../docs/QUICKSTART.md) and [all feature guides](../docs/REA
|
|
|
49
49
|
Start Here links to the interactive workspaces; the standalone scripts remain the
|
|
50
50
|
SDK usage demonstrations.
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Single pricing, implied-volatility and Greek requests are built from the same parts: an `Option` (type, exercise style,
|
|
53
53
|
strike, time to expiry), a `Market` (spot, rates, optional cash dividends), a
|
|
54
54
|
`volatility` or a `market_price`, and a `ModelSelection`. Methods are grouped by
|
|
55
55
|
the API's collections and spell its canonical operation ids: `client.options.price()`
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "morphiq-sdk"
|
|
7
7
|
# Release Please manages this version through reviewed release PRs.
|
|
8
|
-
version = "0.3.
|
|
8
|
+
version = "0.3.1"
|
|
9
9
|
description = "Option pricing, Greeks, implied volatility and market regime identification through a Python API client"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|