gs-quant 2.2.0__tar.gz → 2.2.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.
- {gs_quant-2.2.0 → gs_quant-2.2.1}/PKG-INFO +2 -2
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/_version.py +3 -3
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/SKILL.md +9 -4
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/backtesting.md +2 -2
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/datasets.md +1 -1
- gs_quant-2.2.1/gs_quant/skills/gs-quant-overview/errors.md +34 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/instruments.md +14 -0
- gs_quant-2.2.1/gs_quant/skills/gs-quant-overview/pricing.md +268 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/results.md +1 -1
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/statistics.py +1 -1
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/PKG-INFO +2 -2
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/SOURCES.txt +1 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/requires.txt +1 -1
- {gs_quant-2.2.0 → gs_quant-2.2.1}/pyproject.toml +1 -1
- gs_quant-2.2.0/gs_quant/skills/gs-quant-overview/pricing.md +0 -192
- {gs_quant-2.2.0 → gs_quant-2.2.1}/LICENSE +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/MANIFEST.in +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/NOTICE +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/NOTICE.txt +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/README.md +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/constants.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/enumerators.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/helpers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/processor.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/processor_result.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/query_helpers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_cell.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_column.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_row.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/datagrid.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/serializers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/analysis_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/econometrics_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/scale_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/special_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/statistics_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/utility_processors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/components.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/workspace.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/api_cache.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/api_session.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/fred_query.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/assets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/apis.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/request_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/generic_datatype_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_datatype_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/test_backtest_datatypes_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/request.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/backtest_datatypes.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/generic_backtest_datatypes.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result_datatypes.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/base_screener.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/carbon.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/content.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/countries.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/data_screen.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/datagrid.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/esg.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/federated_secmaster.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/groups.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/hedges.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/indices.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/dashboards.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/types.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/widgets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/monitors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/parser.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/plots.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/portfolios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/price.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/reports.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/risk.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/risk_models.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/scenarios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/screens.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/secmaster.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/thematics.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/users.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/workspaces.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/risk.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/action_handler.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/actions.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_objects.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/data_handler.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/data_sources.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/decorator.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/equity_vol_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/event.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/execution_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/generic_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/generic_engine_action_impls.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/order.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/predefined_asset_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/strategy.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/strategy_systematic.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/triggers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/base.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/common.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/options.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config.ini +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/events/00_gsquant_meets_markets/02_optimizing_equity_trading/qes_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/00_fx/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/00_fx/vol_screen_app.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/context_base.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/coordinate.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/dataset.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/fields.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/log.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/query.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/stream.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/utilities.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/date.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/gscalendar.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/point.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/relative_date.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/rules.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/time.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entitlements.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entity.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entity_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/tree_entity.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/errors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/overrides.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/interfaces/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/interfaces/algebra.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_convertors.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_convertors_common.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_encoder.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/baskets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/factor.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/factor_analytics.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/hedge.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/historical.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/index.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/indices_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/markets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/optimizer.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio_manager.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio_manager_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/position_set.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/position_set_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/realtime.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/report.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/report_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/scenario.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/screens.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/securities.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/__main__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/client.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/config.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/dependencies.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/middleware.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/run.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/session_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/data/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/data/tools.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/marketview/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/marketview/tools.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/registry.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/users/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/users/tools.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/epidemiology.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/risk_model.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/risk_model_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/priceable.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/quote_reports/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/quote_reports/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/core.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/measures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/result_handlers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/results.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/scenario_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/scenarios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/transform.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/session.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/__main__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/measure.md +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/assets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/assets_screener.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/backtests.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/base_screener.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/charts.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/common.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/content.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/coordinates.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/countries.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/data_screen.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/groups.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/hedge.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/indices.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/instrument.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/measures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/monitor.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/portfolios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/positions_v2_pricing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/price.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/reports.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/risk.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/risk_models.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/scenarios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/screens.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/secmaster.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/trades.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/workflow_quote.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/workspaces_markets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_datagrid.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_sorting_and_filtering.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_sparkline_processor.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_workspace.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_datatype_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/test_request_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/test_response_encoders.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/response_datatypes/test_backtest_datatypes.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result_datatypes.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/test_request.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/test_response.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_assets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_backtests.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_base_screener.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_cache.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_carbon.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_content.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_data_screen.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_esg.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_fred.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_groups.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_gs_data_tracing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_index.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_instruments.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_json.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_monitor.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_portfolios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_reports.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_risk.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_risk_models.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_scenarios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_target.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_thread_manager.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_users.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_eq_vol_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_flow_vol.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_predefined.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_generic_engine.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_triggers.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/config/test_config_loader.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/config/test_options.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_data_caching.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_data_coordinate.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_dataset.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_dataset_tracing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_query.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_date.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_gscalendar.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_point.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_relative_date.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_time.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_entitlements.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_group.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_user.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/fixtures/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/fixtures/content.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_baskets.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_close_market.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_hedger.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_indices_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_instrument.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_portfolio.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_portfolio_manager.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_position_set.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_pricing_context.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_realtime_pricing_context.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_report.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_scenarios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_securities.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/mock_data_test_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_epidemiology.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_risk_model.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_risk_model_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/risk/test_measures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/risk/test_results.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/skills/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/skills/test_installer.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_base.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_context_base.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_session.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/test_commod.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/test_measure_registry.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_algebra.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_analysis.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_backtesting.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_datetime.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_econometrics.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_event_study.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_helper.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_bonds.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_cognitive_credit.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_countries.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_etf.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_factset.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_fx_vol.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_inflation.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_portfolios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_rates.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_reports.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_risk_models.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_tba.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_xccy.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_plot_measure_signatures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_query_kwarg_casing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_rolling.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_statistics.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_tca.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_technicals.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_timeseries.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/tracing/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/tracing/test_tracing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/datagrid_test_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_calc.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_data.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_request.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/test_utilities.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/test_utils.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_api.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_asset_source.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_definitions.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_frame.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_impact.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_labels.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_macro_source.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_objects.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_processing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_query.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/algebra.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/analysis.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/backtesting.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/datetime.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/econometrics.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/event_study.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/helper.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measure_registry.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_bonds.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_cognitive_credit.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_countries.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_etf.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_factset.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_fx_vol.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_helper.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_inflation.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_portfolios.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_rates.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_reports.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_risk_models.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_tba.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_xccy.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/tca.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/technicals.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/tracing/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/tracing/tracing.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/workflow/__init__.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/workflow/workflow.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/dependency_links.txt +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/top_level.txt +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/setup.cfg +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/setup.py +0 -0
- {gs_quant-2.2.0 → gs_quant-2.2.1}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gs_quant
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Goldman Sachs Quant
|
|
5
5
|
Author-email: Goldman Sachs <developer@gs.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -28,7 +28,7 @@ Requires-Dist: lmfit
|
|
|
28
28
|
Requires-Dist: more_itertools
|
|
29
29
|
Requires-Dist: msgpack
|
|
30
30
|
Requires-Dist: nest-asyncio
|
|
31
|
-
Requires-Dist: numpy
|
|
31
|
+
Requires-Dist: numpy>1.17.0
|
|
32
32
|
Requires-Dist: opentelemetry-api
|
|
33
33
|
Requires-Dist: opentelemetry-sdk
|
|
34
34
|
Requires-Dist: pandas>=1.4
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-10-
|
|
11
|
+
"date": "2026-10-13T10:20:55+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.2.
|
|
14
|
+
"full-revisionid": "bbe7071653ccfc0d431e11c3a31dbd511afc394f",
|
|
15
|
+
"version": "2.2.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gs-quant-overview
|
|
3
|
-
description: "
|
|
3
|
+
description: "Guide to writing gs_quant code: sessions, instruments, portfolios, pricing and risk, results, datasets and backtesting. Use for any coding task that uses the gs_quant library, including slow pricing, timeouts, gs_quant error messages, and prices that differ from other tools or look a day old."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# gs_quant Quick Start
|
|
7
7
|
|
|
8
|
+
Before writing code that prices, calculates risk or resolves instruments, read `pricing.md`.
|
|
9
|
+
|
|
8
10
|
## 1. Creating a Session with `GsSession.use`
|
|
9
11
|
|
|
10
12
|
All API communication in `gs_quant` flows through an authenticated `GsSession`. Before making any pricing or data calls you must initialise a session with `GsSession.use()`.
|
|
@@ -73,6 +75,8 @@ print(swap.fixed_rate) # e.g. 0.0345
|
|
|
73
75
|
2. The service computes any missing parameters — par rate, premium, forward points, etc.
|
|
74
76
|
3. By default (`in_place=True`), the instrument is updated in place. Pass `in_place=False` to receive a new resolved copy.
|
|
75
77
|
|
|
78
|
+
For marking an entered trade to market and reading resolved terms, see "Relative terms and resolve()" in `pricing.md`.
|
|
79
|
+
|
|
76
80
|
---
|
|
77
81
|
|
|
78
82
|
## 3. Combining Instruments in Portfolios
|
|
@@ -134,10 +138,11 @@ results = portfolio.calc([DollarPrice, IRDelta]) # multiple risk measures
|
|
|
134
138
|
|
|
135
139
|
## See Also
|
|
136
140
|
|
|
137
|
-
For detailed guidance on specific topics,
|
|
141
|
+
For detailed guidance on specific topics, open the file whose topic or symptoms match the task.
|
|
138
142
|
|
|
139
|
-
- `instruments.md` — Constructing all instrument types (IRSwap, XCcy swaps, FXOption, EqOption, etc.) and FX pitfalls
|
|
140
|
-
- `pricing.md` —
|
|
143
|
+
- `instruments.md` — Constructing all instrument types (IRSwap, XCcy swaps, FXOption, EqOption, etc.), strikes by asset class, and FX pitfalls
|
|
144
|
+
- `pricing.md` — PricingContext, HistoricalPricingContext and LiveMarket: which close is used and market data location, choosing contexts, long calculations and `is_batch`, relative terms and `resolve()`. Symptoms: slow code, many requests, timeouts, prices that differ from other tools or look a day old.
|
|
145
|
+
- `errors.md` — gs_quant error messages and what to do, and how to reach support when nothing fixes it.
|
|
141
146
|
- `datasets.md` — Accessing market and reference data via the gs_quant Dataset class: get_data, get_data_series, get_data_last, get_coverage, uploading data, batching large queries. Covers TREOD for equities, FXIVOL_STANDARD, symbol dimensions, and common pitfalls.
|
|
142
147
|
- `backtesting.md` — Guide to the gs_quant backtesting framework: Strategy, triggers, actions, GenericEngine, EquityVolEngine, transaction costs, and result extraction.
|
|
143
148
|
- `measure.md` — writing custom measures with `@plot_measure` and `@risk_measure` decorators
|
|
@@ -236,7 +236,7 @@ trigger = StrategyRiskTrigger(trig_req, [exit_action, add_action])
|
|
|
236
236
|
| `show_progress` | Show progress bar | True |
|
|
237
237
|
| `initial_value` | Starting cash value | 0 |
|
|
238
238
|
| `result_ccy` | Currency for results | None |
|
|
239
|
-
| `market_data_location` | `'LDN'`, `'NYC'`, `'HKG'` | None |
|
|
239
|
+
| `market_data_location` | `'LDN'`, `'NYC'`, `'HKG'`, `'TKO'` | None |
|
|
240
240
|
| `is_batch` | Use websocket batching | True |
|
|
241
241
|
|
|
242
242
|
---
|
|
@@ -360,7 +360,7 @@ Transaction costs appear in `backtest.result_summary` as the `'Transaction Costs
|
|
|
360
360
|
|
|
361
361
|
## 9. Best Practices
|
|
362
362
|
|
|
363
|
-
- **Always set `premium=0` on FX options** — see `
|
|
363
|
+
- **Always set `premium=0` on FX options** — see `instruments.md` for details
|
|
364
364
|
- **Match trade_duration to trigger frequency** for roll strategies (e.g. `'1m'` + `'1m'`)
|
|
365
365
|
- **Use `'expiration_date'`** to hold options until expiry
|
|
366
366
|
- **Order triggers correctly** — entry before hedge: `Strategy(None, [entry_trigger, hedge_trigger])`
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Errors and What They Mean
|
|
2
|
+
|
|
3
|
+
Find the error message you are seeing, then follow the fix.
|
|
4
|
+
|
|
5
|
+
### `'PricingFuture' object has no attribute …` / `Cannot evaluate results under the same pricing context being used to produce them`
|
|
6
|
+
Inside a `PricingContext`, calculations return futures that are filled in when the context exits.
|
|
7
|
+
Call `.result()` after the `with` block, not inside it. Outside any context, calculations return
|
|
8
|
+
the value directly.
|
|
9
|
+
|
|
10
|
+
### `received 1000 (OK); then sent 1000 (OK)` / `Fatal error with websocket`
|
|
11
|
+
The websocket used by `is_batch=True` dropped. Rerun with `is_batch=False` (`run_backtest` accepts
|
|
12
|
+
it too). These errors never give wrong numbers, only missing ones.
|
|
13
|
+
|
|
14
|
+
### `504` / `Okay... There's a problem, but we're on it.` (an HTML error page)
|
|
15
|
+
A service behind gs_quant timed out or is having trouble. If the code sends many small requests
|
|
16
|
+
(e.g. a loop of one instrument and one measure), group them first; see "Choosing contexts" in
|
|
17
|
+
`pricing.md`. Otherwise the cause is on the server side (e.g. a service restart, queued jobs or
|
|
18
|
+
a wider Marquee issue), so retry later; if it persists, see "If nothing here fixes it".
|
|
19
|
+
|
|
20
|
+
### `ReadTimeout: … Read timed out. (read timeout=65)`
|
|
21
|
+
gs_quant's generic request timeout: the service it called (a dataset query, for example) didn't
|
|
22
|
+
answer within 65 seconds. Retry; if it keeps happening, ask for less per call (for datasets, see
|
|
23
|
+
"Iterating Over Large Queries" in `datasets.md`).
|
|
24
|
+
|
|
25
|
+
## If nothing here fixes it
|
|
26
|
+
|
|
27
|
+
**Isolate the problem with the user before they contact support.** Cut their code down to the
|
|
28
|
+
shortest snippet that still shows the error or the wrong number: as few lines, instruments and
|
|
29
|
+
measures as possible, no helper functions, classes or notebooks, every value written inline, and
|
|
30
|
+
an explicit pricing date and `market_data_location`. Confirm the snippet still reproduces it.
|
|
31
|
+
|
|
32
|
+
**Then tell the user to email `gs-quant-support@ny.email.gs.com`** with that snippet, its full
|
|
33
|
+
output (the error, or the number they got and the one they expected, plus any tracing link it
|
|
34
|
+
shows) and the gs_quant version (`gs_quant.__version__`).
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Instruments are the building blocks of gs_quant. Every tradeable product is represented as a dataclass in `gs_quant.instrument`. Construct an instrument by importing its class and supplying the key economic parameters — any parameter you omit will be resolved by the server later.
|
|
4
4
|
|
|
5
|
+
## Strikes by asset class
|
|
6
|
+
|
|
7
|
+
A number is an absolute level (rates and spreads as decimals: `0.04` = 4%). Relative strikes use
|
|
8
|
+
each asset class's own syntax:
|
|
9
|
+
|
|
10
|
+
| Asset class (field) | Reference | Scaled or shifted | Delta | Solve for premium |
|
|
11
|
+
|---|---|---|---|---|
|
|
12
|
+
| Equities (`EqOption.strike_price`) | `'ATMS'` spot, `'ATMF'` forward | `'95%'` of spot, `'1.05*ATMF'` | `'25d'` | `'p=10%'` |
|
|
13
|
+
| FX (`FXOption.strike_price`) | `'s'` spot, `'f'` forward | `'s+1%'`, `'1.05*s'` | `'25d'` | `'p=1%'` |
|
|
14
|
+
| Rates (`IRSwaption.strike`, `IRSwap.fixed_rate`, `IRCap.cap_rate`) | `'ATM'` | `'ATM+25'`, `'ATM-25'` (bp) | `'25d'` | |
|
|
15
|
+
| Credit (`CDIndexOption.strike`) | `'s'` spot spread | `'s+1%'` | `'25d'` | |
|
|
16
|
+
|
|
17
|
+
Deltas are unsigned; the option type sets the side.
|
|
18
|
+
|
|
5
19
|
## Interest Rate Swap
|
|
6
20
|
|
|
7
21
|
```python
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
# Pricing in gs_quant
|
|
2
|
+
|
|
3
|
+
Pricing instruments and portfolios in gs_quant: PricingContext, HistoricalPricingContext for historical pricing over date ranges, and LiveMarket for real-time FX pricing. Covers which close market is used, market data location, choosing contexts for speed, long calculations and batch mode, relative terms and `resolve()`, and async patterns.
|
|
4
|
+
|
|
5
|
+
## PricingContext Basics
|
|
6
|
+
|
|
7
|
+
All pricing in gs_quant happens within a `PricingContext`. Without `market=`, it prices on a close market; see "Close market and location" below for which close.
|
|
8
|
+
|
|
9
|
+
```python
|
|
10
|
+
from gs_quant.markets import PricingContext
|
|
11
|
+
from gs_quant.risk import DollarPrice, IRDelta
|
|
12
|
+
|
|
13
|
+
# Implicit default context
|
|
14
|
+
price = swap.dollar_price()
|
|
15
|
+
|
|
16
|
+
# Explicit context with parameters
|
|
17
|
+
with PricingContext(pricing_date=dt.date(2025, 1, 15), market_data_location='LDN'):
|
|
18
|
+
price_f = swap.dollar_price()
|
|
19
|
+
delta_f = swap.calc(IRDelta)
|
|
20
|
+
|
|
21
|
+
price = price_f.result()
|
|
22
|
+
delta = delta_f.result()
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Key parameters:**
|
|
26
|
+
|
|
27
|
+
| Parameter | Description |
|
|
28
|
+
|---|---|
|
|
29
|
+
| `pricing_date` | Date for pricing (default: today) |
|
|
30
|
+
| `market_data_location` | `'NYC'`, `'LDN'`, `'HKG'` or `'TKO'` (default: `'LDN'`) |
|
|
31
|
+
| `market` | Market object (e.g. `CloseMarket()`, `LiveMarket()`) |
|
|
32
|
+
| `csa_term` | CSA term for discounting |
|
|
33
|
+
| `is_batch` | Use batch mode for long-running calculations |
|
|
34
|
+
| `is_async` | Return immediately without blocking |
|
|
35
|
+
| `show_progress` | Display a tqdm progress bar |
|
|
36
|
+
|
|
37
|
+
Inside an entered `PricingContext`, calculations return `PricingFuture` objects. Call `.result()` after exiting the context.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Close market and location: prices differ from other tools, or look a day old
|
|
42
|
+
|
|
43
|
+
**Without `market=`, gs_quant prices on the close of the pricing date at `market_data_location`
|
|
44
|
+
(default LDN)**, in both `PricingContext` and `HistoricalPricingContext`. Today is the exception:
|
|
45
|
+
by default gs_quant assumes today's close isn't marketized until midnight in that location, so
|
|
46
|
+
today (the default pricing date) is priced on the previous weekday's close, and so is the last date
|
|
47
|
+
of a `HistoricalPricingContext` ending today. A weekend or holiday you pass as the pricing date is
|
|
48
|
+
not moved to a business day.
|
|
49
|
+
|
|
50
|
+
**Set `market_data_location` to the close you compare against.** NYC and LDN closes are different
|
|
51
|
+
snapshots, so location is a common reason gs_quant disagrees with other tools. Set it on the
|
|
52
|
+
outermost context (inner contexts inherit it), or once for the session, outside any context:
|
|
53
|
+
|
|
54
|
+
```python
|
|
55
|
+
PricingContext.current = PricingContext(market_data_location='NYC')
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**For live prices, pass a live market:** `PricingContext(market=LiveMarket('NYC'))`.
|
|
59
|
+
|
|
60
|
+
**To use today's close once it is in**, set the time when you expect the close data to have been
|
|
61
|
+
marketized, in the pricing context's location:
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
CloseMarket.roll_hr_and_min = (17, 30)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
After that time, if today's close isn't in yet, pricing fails.
|
|
68
|
+
`CloseMarket(date=..., location=..., check=False)` always uses exactly the date you give.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Choosing contexts: slow code, many requests, 504s
|
|
73
|
+
|
|
74
|
+
**Pick the context by the shape of the job.**
|
|
75
|
+
|
|
76
|
+
| Job | Use |
|
|
77
|
+
|---|---|
|
|
78
|
+
| Same instrument(s), many dates | one `HistoricalPricingContext` |
|
|
79
|
+
| Many instruments, one date | one `PricingContext` around a `Portfolio` |
|
|
80
|
+
| Instrument terms change per date (strike from that day's spot, expiry from a row, a field that must equal the pricing date) | an outer `PricingContext` with an inner dated one per date |
|
|
81
|
+
| A step needs an earlier result (resolve, then price later; hedge on the previous delta) | separate contexts in sequence, `.result()` in between |
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
prices = {}
|
|
85
|
+
with PricingContext(market_data_location='NYC'): # outer: sends everything on exit
|
|
86
|
+
for d, inst in instrument_by_date.items():
|
|
87
|
+
with PricingContext(pricing_date=d): # inner: sets only the date
|
|
88
|
+
prices[d] = inst.price()
|
|
89
|
+
prices = {d: f.result() for d, f in prices.items()}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Don't open and exit a `PricingContext` on every pass of a loop:** each exit sends and waits, so
|
|
93
|
+
requests go one at a time. If you must, set `is_async=True` and call `.result()` only after the loop.
|
|
94
|
+
|
|
95
|
+
**If you must use a scenario, wrap it in a pricing context.** A scenario is not a pricing context:
|
|
96
|
+
outside a `PricingContext`, each `.calc()` is sent and awaited on its own, even inside
|
|
97
|
+
`with MarketDataShockBasedScenario(...)`. Write `with scenario, PricingContext():`.
|
|
98
|
+
|
|
99
|
+
**There should be no need to add your own threads.** `PricingContext` already sends requests in
|
|
100
|
+
parallel.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Long calculations: timeouts, `is_batch`
|
|
105
|
+
|
|
106
|
+
**Set `is_batch=True` on the context for calculations that take more than about 3 minutes.**
|
|
107
|
+
Without it, each request must finish within about 3 minutes or fail; with it, results come back
|
|
108
|
+
over a websocket and each request gets up to 10 minutes. If the websocket drops, see `errors.md`.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Historical Pricing with `HistoricalPricingContext`
|
|
113
|
+
|
|
114
|
+
Compute risk measures across a range of dates using the close-of-business market for each date.
|
|
115
|
+
|
|
116
|
+
### Basic Usage
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
import datetime as dt
|
|
120
|
+
from gs_quant.instrument import IRSwap
|
|
121
|
+
from gs_quant.markets import HistoricalPricingContext
|
|
122
|
+
from gs_quant.risk import DollarPrice
|
|
123
|
+
|
|
124
|
+
swap = IRSwap('Pay', '10y', 'USD')
|
|
125
|
+
|
|
126
|
+
with HistoricalPricingContext(dt.date(2025, 1, 2), dt.date(2025, 1, 31)):
|
|
127
|
+
price_f = swap.price()
|
|
128
|
+
|
|
129
|
+
price_series = price_f.result() # a pandas Series indexed by date
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### By Number of Business Days
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
with HistoricalPricingContext(10):
|
|
136
|
+
price_f = swap.price()
|
|
137
|
+
|
|
138
|
+
price_series = price_f.result()
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### With Custom Date List
|
|
142
|
+
|
|
143
|
+
```python
|
|
144
|
+
dates = [dt.date(2025, 1, 2), dt.date(2025, 3, 15), dt.date(2025, 6, 30)]
|
|
145
|
+
|
|
146
|
+
with HistoricalPricingContext(dates=dates):
|
|
147
|
+
price_f = swap.price()
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Key Parameters
|
|
151
|
+
|
|
152
|
+
| Parameter | Description |
|
|
153
|
+
|---|---|
|
|
154
|
+
| `start` | Start date (or number of business days back from today) |
|
|
155
|
+
| `end` | End date (defaults to today) |
|
|
156
|
+
| `calendars` | Holiday calendar(s) for date generation |
|
|
157
|
+
| `dates` | Explicit iterable of dates (mutually exclusive with `start`) |
|
|
158
|
+
| `is_batch` | Use batch mode for long-running calculations (avoids timeouts) |
|
|
159
|
+
| `is_async` | Return immediately without blocking |
|
|
160
|
+
| `show_progress` | Display a tqdm progress bar |
|
|
161
|
+
| `market_data_location` | `'NYC'`, `'LDN'`, `'HKG'` or `'TKO'` (defaults to `'LDN'`) |
|
|
162
|
+
| `csa_term` | CSA term for discounting |
|
|
163
|
+
|
|
164
|
+
### Historical Pricing with Portfolios
|
|
165
|
+
|
|
166
|
+
```python
|
|
167
|
+
with HistoricalPricingContext(dt.date(2025, 1, 2), dt.date(2025, 1, 31)):
|
|
168
|
+
result = portfolio.calc(DollarPrice)
|
|
169
|
+
|
|
170
|
+
# result is a PortfolioRiskResult with a date dimension
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Relative terms and resolve(): marking an entered trade to market
|
|
176
|
+
|
|
177
|
+
**Relative terms are re-resolved on every pricing date, so they describe a new trade on each
|
|
178
|
+
date** (e.g. `expiry='6m'` means a new 6-month option each day, not one option ageing). To mark an
|
|
179
|
+
entered trade to market, fix its terms on the entry date: resolve it on that date (or give absolute
|
|
180
|
+
dates and levels), then price it on later dates.
|
|
181
|
+
|
|
182
|
+
```python
|
|
183
|
+
with PricingContext(pricing_date=entry_date, market_data_location='NYC'):
|
|
184
|
+
trade.resolve() # fields are filled in when the context exits
|
|
185
|
+
with HistoricalPricingContext(entry_date, end, market_data_location='NYC'):
|
|
186
|
+
mtm = trade.price()
|
|
187
|
+
mtm = mtm.result()
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**If you resolve to read the terms, resolve in the same context you price in.** `resolve()` fixes
|
|
191
|
+
the terms on the market it runs under (the default close if there is no context), so pricing it on
|
|
192
|
+
another market prices a trade struck on the first one, e.g. yesterday's ATM strike under today's
|
|
193
|
+
live market.
|
|
194
|
+
|
|
195
|
+
**`resolve()` does not raise when it fails.** It logs the error and leaves the field as you wrote
|
|
196
|
+
it (e.g. still the string `'ATM'`); check the resolved fields before using them.
|
|
197
|
+
|
|
198
|
+
**`resolve(in_place=False)` returns the resolved copy instead of changing the instrument**, like any
|
|
199
|
+
other calculation: a future inside a context, so call `.result()`. Under `HistoricalPricingContext`
|
|
200
|
+
it is the only option, and the result is a dict of resolved copies by date (useful to see, say, the
|
|
201
|
+
strike each date picks). `in_place=True` raises there, because one object can't hold a different set
|
|
202
|
+
of terms for each date.
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Live Market Pricing with `LiveMarket`
|
|
207
|
+
|
|
208
|
+
By default, `PricingContext` uses close-of-business market data. To price against **real-time, live market data**, set `market=LiveMarket()`. This uses a market snapshot captured at the moment the calculation runs.
|
|
209
|
+
|
|
210
|
+
> **Note:** Live market pricing is currently only available for **FX instruments** (e.g. `FXOption`, `FXForward`, `FXBinary`, `FXMultiCrossBinary`).
|
|
211
|
+
|
|
212
|
+
### Basic Usage
|
|
213
|
+
|
|
214
|
+
```python
|
|
215
|
+
from gs_quant.instrument import FXOption
|
|
216
|
+
from gs_quant.markets import PricingContext, LiveMarket
|
|
217
|
+
from gs_quant.risk import DollarPrice
|
|
218
|
+
|
|
219
|
+
option = FXOption(
|
|
220
|
+
pair='EURUSD',
|
|
221
|
+
expiration_date='3m',
|
|
222
|
+
option_type='Call',
|
|
223
|
+
strike_price='ATMF',
|
|
224
|
+
notional_amount=10e6,
|
|
225
|
+
premium=0,
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
with PricingContext(market=LiveMarket()):
|
|
229
|
+
price_f = option.dollar_price()
|
|
230
|
+
|
|
231
|
+
price = price_f.result() # priced against the live market
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### Live Market with Portfolios
|
|
235
|
+
|
|
236
|
+
```python
|
|
237
|
+
from gs_quant.instrument import FXOption, FXForward
|
|
238
|
+
from gs_quant.markets import PricingContext, LiveMarket
|
|
239
|
+
from gs_quant.markets.portfolio import Portfolio
|
|
240
|
+
from gs_quant.risk import DollarPrice
|
|
241
|
+
|
|
242
|
+
portfolio = Portfolio(
|
|
243
|
+
[
|
|
244
|
+
FXOption(
|
|
245
|
+
pair='EURUSD',
|
|
246
|
+
expiration_date='3m',
|
|
247
|
+
option_type='Call',
|
|
248
|
+
strike_price='ATMF',
|
|
249
|
+
notional_amount=10e6,
|
|
250
|
+
premium=0,
|
|
251
|
+
name='EUR Call',
|
|
252
|
+
),
|
|
253
|
+
FXForward(pair='USDJPY', settlement_date='6m', notional_amount=10e6, name='JPY Fwd'),
|
|
254
|
+
]
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
with PricingContext(market=LiveMarket()):
|
|
258
|
+
result = portfolio.calc(DollarPrice)
|
|
259
|
+
|
|
260
|
+
prices = result[DollarPrice]
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### Key Points
|
|
264
|
+
|
|
265
|
+
- **No caching** — results are not cached since the market state changes continuously.
|
|
266
|
+
- **Combines with other parameters** — you can still set `csa_term`, `is_async`, `is_batch`, etc. alongside `market=LiveMarket()`.
|
|
267
|
+
|
|
268
|
+
See `results.md` for more information on extracting results from pricing calculation (FloatWithInfo, DataFrameWithInfo, PortfolioRiskResult, etc.)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Result Extraction
|
|
2
2
|
|
|
3
|
-
Extracting and working with gs_quant calculation results: FloatWithInfo, SeriesWithInfo, DataFrameWithInfo, ErrorValue, MultipleRiskMeasureResult, PortfolioRiskResult. Covers futures, slicing portfolio results by instrument/measure/date, historical results, to_frame(), error handling, and arithmetic.
|
|
3
|
+
Extracting and working with gs_quant calculation results: FloatWithInfo, SeriesWithInfo, DataFrameWithInfo, ErrorValue, MultipleRiskMeasureResult, PortfolioRiskResult. Covers futures, slicing portfolio results by instrument/measure/date, historical results, to_frame(), error handling, and arithmetic.
|
|
4
4
|
|
|
5
5
|
Calculation results in gs_quant are rich typed objects that carry metadata (risk key, unit, error info) alongside the actual values.
|
|
6
6
|
|
|
@@ -431,7 +431,7 @@ def mode(x: pd.Series, w: Union[Window, int, str] = Window(None, 0)) -> pd.Serie
|
|
|
431
431
|
)
|
|
432
432
|
return apply_ramp(pd.Series(values, index=x.index, dtype=np.dtype(float)), w)
|
|
433
433
|
else:
|
|
434
|
-
return apply_ramp(x.rolling(w.w, 0).apply(lambda y: stats.mode(y).mode, raw=True), w)
|
|
434
|
+
return apply_ramp(x.rolling(w.w, 0).apply(lambda y: stats.mode(y).mode[0], raw=True), w)
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
@plot_function
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gs_quant
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Goldman Sachs Quant
|
|
5
5
|
Author-email: Goldman Sachs <developer@gs.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -28,7 +28,7 @@ Requires-Dist: lmfit
|
|
|
28
28
|
Requires-Dist: more_itertools
|
|
29
29
|
Requires-Dist: msgpack
|
|
30
30
|
Requires-Dist: nest-asyncio
|
|
31
|
-
Requires-Dist: numpy
|
|
31
|
+
Requires-Dist: numpy>1.17.0
|
|
32
32
|
Requires-Dist: opentelemetry-api
|
|
33
33
|
Requires-Dist: opentelemetry-sdk
|
|
34
34
|
Requires-Dist: pandas>=1.4
|
|
@@ -220,6 +220,7 @@ gs_quant/skills/__main__.py
|
|
|
220
220
|
gs_quant/skills/gs-quant-overview/SKILL.md
|
|
221
221
|
gs_quant/skills/gs-quant-overview/backtesting.md
|
|
222
222
|
gs_quant/skills/gs-quant-overview/datasets.md
|
|
223
|
+
gs_quant/skills/gs-quant-overview/errors.md
|
|
223
224
|
gs_quant/skills/gs-quant-overview/instruments.md
|
|
224
225
|
gs_quant/skills/gs-quant-overview/measure.md
|
|
225
226
|
gs_quant/skills/gs-quant-overview/pricing.md
|