gs-quant 2.2.1__tar.gz → 2.2.2__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.1 → gs_quant-2.2.2}/PKG-INFO +1 -1
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/_version.py +3 -3
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/core/query_helpers.py +1 -1
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/datagrid.py +3 -3
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/data.py +8 -11
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/base.py +4 -1
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/session.py +8 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/SKILL.md +2 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/errors.md +7 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/results.md +4 -0
- gs_quant-2.2.2/gs_quant/skills/gs-quant-overview/risk-measures.md +79 -0
- gs_quant-2.2.2/gs_quant/skills/gs-quant-overview/scenarios.md +73 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_data.py +80 -13
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant.egg-info/PKG-INFO +1 -1
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant.egg-info/SOURCES.txt +2 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/LICENSE +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/MANIFEST.in +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/NOTICE +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/NOTICE.txt +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/README.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/common/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/common/constants.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/common/enumerators.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/common/helpers.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/core/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/core/processor.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/core/processor_result.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/data_cell.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/data_column.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/data_row.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/serializers.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/datagrid/utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/analysis_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/econometrics_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/scale_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/special_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/statistics_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/processors/utility_processors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/workspaces/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/workspaces/components.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/analytics/workspaces/workspace.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/api_cache.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/api_session.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/data.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/fred/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/fred/data.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/fred/fred_query.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/assets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/apis.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/request_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/generic_datatype_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_datatype_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/test_backtest_datatypes_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/response_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/request.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/backtest_datatypes.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/generic_backtest_datatypes.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result_datatypes.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/base_screener.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/carbon.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/content.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/countries.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/data_screen.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/datagrid.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/esg.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/federated_secmaster.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/groups.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/hedges.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/indices.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/marketview/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/marketview/dashboards.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/marketview/types.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/marketview/widgets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/monitors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/parser.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/plots.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/portfolios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/price.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/reports.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/risk.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/risk_models.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/scenarios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/screens.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/secmaster.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/thematics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/users.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/workspaces.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/risk.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/action_handler.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/actions.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/backtest_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/backtest_objects.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/backtest_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/data_handler.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/data_sources.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/decorator.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/equity_vol_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/event.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/execution_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/generic_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/generic_engine_action_impls.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/order.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/predefined_asset_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/strategy.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/strategy_systematic.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/backtests/triggers.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/common.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/config/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/config/options.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/config/utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/config.ini +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/content/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/content/events/00_gsquant_meets_markets/02_optimizing_equity_trading/qes_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/content/reports_and_screens/00_fx/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/content/reports_and_screens/00_fx/vol_screen_app.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/content/reports_and_screens/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/context_base.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/coordinate.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/dataset.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/fields.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/log.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/query.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/stream.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/data/utilities.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/date.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/gscalendar.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/point.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/relative_date.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/rules.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/datetime/time.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/entities/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/entities/entitlements.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/entities/entity.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/entities/entity_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/entities/tree_entity.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/errors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/instrument/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/instrument/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/instrument/overrides.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/interfaces/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/interfaces/algebra.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/json_convertors.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/json_convertors_common.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/json_encoder.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/baskets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/factor.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/factor_analytics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/hedge.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/historical.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/index.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/indices_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/markets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/optimizer.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/portfolio.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/portfolio_manager.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/portfolio_manager_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/position_set.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/position_set_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/realtime.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/report.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/report_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/scenario.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/screens.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/markets/securities.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/__main__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/client.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/config.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/dependencies.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/middleware.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/run.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/session_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/data/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/data/tools.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/marketview/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/marketview/tools.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/registry.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/users/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/mcp/tools/users/tools.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/models/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/models/epidemiology.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/models/risk_model.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/models/risk_model_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/priceable.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/quote_reports/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/quote_reports/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/core.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/measures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/result_handlers.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/results.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/scenario_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/scenarios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/risk/transform.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/__main__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/backtesting.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/datasets.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/instruments.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/measure.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/skills/gs-quant-overview/pricing.md +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/assets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/assets_screener.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/backtests.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/base_screener.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/charts.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/common.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/content.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/coordinates.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/countries.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/data.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/data_screen.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/groups.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/hedge.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/indices.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/instrument.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/measures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/monitor.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/portfolios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/positions_v2_pricing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/price.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/reports.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/risk.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/risk_models.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/scenarios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/screens.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/secmaster.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/trades.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/workflow_quote.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/target/workspaces_markets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/analytics/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/analytics/test_datagrid.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/analytics/test_sorting_and_filtering.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/analytics/test_sparkline_processor.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/analytics/test_workspace.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_datatype_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/test_request_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/json_encoders/test_response_encoders.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/response_datatypes/test_backtest_datatypes.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result_datatypes.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/test_request.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/backtests_xasset/test_response.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_assets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_backtests.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_base_screener.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_cache.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_carbon.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_content.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_data_screen.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_esg.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_fred.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_groups.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_gs_data_tracing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_index.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_instruments.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_json.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_monitor.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_portfolios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_reports.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_risk.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_risk_models.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_scenarios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_target.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_thread_manager.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/api/test_users.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/test_backtest_eq_vol_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/test_backtest_flow_vol.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/test_backtest_predefined.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/test_generic_engine.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/backtest/test_triggers.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/config/test_config_loader.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/config/test_options.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/test_data_caching.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/test_data_coordinate.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/test_dataset.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/test_dataset_tracing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/data/test_query.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/test_date.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/test_gscalendar.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/test_point.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/test_relative_date.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/datetime_/test_time.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/entities/test_entitlements.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/entities/test_group.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/entities/test_user.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/fixtures/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/fixtures/content.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_baskets.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_close_market.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_hedger.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_indices_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_instrument.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_portfolio.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_portfolio_manager.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_position_set.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_pricing_context.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_realtime_pricing_context.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_report.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_scenarios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/markets/test_securities.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/mock_data_test_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/models/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/models/test_epidemiology.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/models/test_risk_model.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/models/test_risk_model_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/risk/test_measures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/risk/test_results.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/skills/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/skills/test_installer.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/test_base.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/test_context_base.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/test_session.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/multi_measure/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/multi_measure/test_commod.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/multi_measure/test_measure_registry.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_algebra.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_analysis.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_backtesting.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_datetime.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_econometrics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_event_study.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_helper.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_bonds.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_cognitive_credit.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_countries.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_etf.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_factset.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_fx_vol.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_inflation.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_portfolios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_rates.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_reports.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_risk_models.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_tba.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_measures_xccy.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_plot_measure_signatures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_query_kwarg_casing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_rolling.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_statistics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_tca.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_technicals.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/test_timeseries.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/timeseries/utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/tracing/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/tracing/test_tracing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/datagrid_test_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/mock_calc.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/mock_data.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/mock_request.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/test_utilities.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/test/utils/test_utils.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_api.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_asset_source.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_definitions.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_frame.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_impact.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_labels.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_macro_source.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_objects.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_processing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/_event_study/event_study_query.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/algebra.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/analysis.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/backtesting.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/datetime.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/econometrics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/event_study.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/helper.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measure_registry.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_bonds.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_cognitive_credit.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_countries.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_etf.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_factset.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_fx_vol.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_helper.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_inflation.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_portfolios.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_rates.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_reports.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_risk_models.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_tba.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/measures_xccy.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/statistics.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/tca.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/timeseries/technicals.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/tracing/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/tracing/tracing.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/workflow/__init__.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/workflow/workflow.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant.egg-info/dependency_links.txt +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant.egg-info/requires.txt +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant.egg-info/top_level.txt +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/pyproject.toml +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/setup.cfg +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/setup.py +0 -0
- {gs_quant-2.2.1 → gs_quant-2.2.2}/versioneer.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-10-
|
|
11
|
+
"date": "2026-10-27T11:03:07+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.2.
|
|
14
|
+
"full-revisionid": "e2b98f5fa0bfd3a931b9a6fcbee84c027588edea",
|
|
15
|
+
"version": "2.2.2"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ def aggregate_queries(query_infos):
|
|
|
44
44
|
series: ProcessorResult = ProcessorResult(
|
|
45
45
|
False, f'No dataset resolved for measure={coordinate.measure} with dimensions={coordinate.dimensions}'
|
|
46
46
|
)
|
|
47
|
-
asyncio.
|
|
47
|
+
asyncio.run(query_info.processor.calculate(query_info.attr, series, None))
|
|
48
48
|
continue
|
|
49
49
|
dataset_mappings.setdefault(
|
|
50
50
|
query_key,
|
|
@@ -428,13 +428,13 @@ class DataGrid:
|
|
|
428
428
|
|
|
429
429
|
for query_info in self._data_queries:
|
|
430
430
|
if isinstance(query_info, MeasureQueryInfo):
|
|
431
|
-
asyncio.
|
|
431
|
+
asyncio.run(
|
|
432
432
|
query_info.processor.calculate(
|
|
433
433
|
query_info.attr, ProcessorResult(True, None), self.rule_cache, query_info=query_info
|
|
434
434
|
)
|
|
435
435
|
)
|
|
436
436
|
elif query_info.data is None or len(query_info.data) == 0:
|
|
437
|
-
asyncio.
|
|
437
|
+
asyncio.run(
|
|
438
438
|
query_info.processor.calculate(
|
|
439
439
|
query_info.attr,
|
|
440
440
|
ProcessorResult(False, f'No data found for Coordinate {query_info.query.coordinate}'),
|
|
@@ -442,7 +442,7 @@ class DataGrid:
|
|
|
442
442
|
)
|
|
443
443
|
)
|
|
444
444
|
else:
|
|
445
|
-
asyncio.
|
|
445
|
+
asyncio.run(
|
|
446
446
|
query_info.processor.calculate(
|
|
447
447
|
query_info.attr, ProcessorResult(True, query_info.data), self.rule_cache
|
|
448
448
|
)
|
|
@@ -1401,19 +1401,16 @@ class GsDataApi(DataApi):
|
|
|
1401
1401
|
@classmethod
|
|
1402
1402
|
def get_field_types(cls, field_names: Union[str, list[str]]):
|
|
1403
1403
|
try:
|
|
1404
|
-
|
|
1404
|
+
response = cls.get_session().sync.post(
|
|
1405
|
+
'/data/fields/query', payload={'where': {'name': field_names}, 'limit': len(field_names)}
|
|
1406
|
+
)
|
|
1407
|
+
return {
|
|
1408
|
+
f['name']: (f.get('parameters') or {}).get('format') or f.get('type')
|
|
1409
|
+
for f in response.get('results', ())
|
|
1410
|
+
if f.get('name')
|
|
1411
|
+
}
|
|
1405
1412
|
except Exception:
|
|
1406
1413
|
return {}
|
|
1407
|
-
if fields:
|
|
1408
|
-
field_types = {}
|
|
1409
|
-
field: DataSetFieldEntity
|
|
1410
|
-
for field in fields:
|
|
1411
|
-
field_name = field.name
|
|
1412
|
-
field_type = field.type_
|
|
1413
|
-
field_format = field.parameters.get('format') if field.parameters else None
|
|
1414
|
-
field_types[field_name] = field_format or field_type
|
|
1415
|
-
return field_types
|
|
1416
|
-
return {}
|
|
1417
1414
|
|
|
1418
1415
|
@classmethod
|
|
1419
1416
|
def construct_dataframe_with_types(
|
|
@@ -287,7 +287,10 @@ class Base(ABC):
|
|
|
287
287
|
from types import UnionType
|
|
288
288
|
|
|
289
289
|
if isinstance(tp, UnionType):
|
|
290
|
-
|
|
290
|
+
args = tp.__args__
|
|
291
|
+
if float in args:
|
|
292
|
+
args += (int,)
|
|
293
|
+
return any(cls.__is_type_match(arg, val) for arg in args)
|
|
291
294
|
else:
|
|
292
295
|
is_generic_alias = isinstance(tp, typing._GenericAlias)
|
|
293
296
|
if not is_generic_alias:
|
|
@@ -623,6 +623,14 @@ class GsSession(ContextBase):
|
|
|
623
623
|
)
|
|
624
624
|
else:
|
|
625
625
|
raise MqError('not implemented')
|
|
626
|
+
logger.debug(
|
|
627
|
+
"%s %s%s cookies: %s headers: %s",
|
|
628
|
+
method,
|
|
629
|
+
url,
|
|
630
|
+
path,
|
|
631
|
+
tuple(f'{k.name} {k.domain}' for k in self._session.cookies),
|
|
632
|
+
tuple(k for k in self._session.headers),
|
|
633
|
+
)
|
|
626
634
|
return kwargs
|
|
627
635
|
|
|
628
636
|
def _parse_response(
|
|
@@ -142,6 +142,8 @@ For detailed guidance on specific topics, open the file whose topic or symptoms
|
|
|
142
142
|
|
|
143
143
|
- `instruments.md` — Constructing all instrument types (IRSwap, XCcy swaps, FXOption, EqOption, etc.), strikes by asset class, and FX pitfalls
|
|
144
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
|
+
- `scenarios.md` — Shocking and overriding market data: patterns, shock sizes, equity vols, FX correlation, shocked P&L over time.
|
|
146
|
+
- `risk-measures.md` — What each risk measure's number means: units, scaling with size, `currency=` and `aggregation_level=`, by asset class.
|
|
145
147
|
- `errors.md` — gs_quant error messages and what to do, and how to reach support when nothing fixes it.
|
|
146
148
|
- `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.
|
|
147
149
|
- `backtesting.md` — Guide to the gs_quant backtesting framework: Strategy, triggers, actions, GenericEngine, EquityVolEngine, transaction costs, and result extraction.
|
|
@@ -22,6 +22,13 @@ gs_quant's generic request timeout: the service it called (a dataset query, for
|
|
|
22
22
|
answer within 65 seconds. Retry; if it keeps happening, ask for less per call (for datasets, see
|
|
23
23
|
"Iterating Over Large Queries" in `datasets.md`).
|
|
24
24
|
|
|
25
|
+
### `ErrorValue object has no attribute …` / `… not 'ErrorValue'` / `unsupported operand type(s) for …: 'ErrorValue' …`
|
|
26
|
+
A calculation failed. gs_quant doesn't raise when a calculation fails: `.result()` returns an
|
|
27
|
+
`ErrorValue`, and these errors come from using it as if it were a number or a result. The cause is
|
|
28
|
+
the text after `Error was`, or what `print(result)` shows. Check each result with
|
|
29
|
+
`isinstance(result, ErrorValue)` before using it. Reading `.raw_value` on an `ErrorValue` doesn't
|
|
30
|
+
raise: it returns `None`, so a failure can slip through as a missing number.
|
|
31
|
+
|
|
25
32
|
## If nothing here fixes it
|
|
26
33
|
|
|
27
34
|
**Isolate the problem with the user before they contact support.** Cut their code down to the
|
|
@@ -120,6 +120,10 @@ jan_15 = result[dt.date(2025, 1, 15)] # PortfolioRiskResult for that single dat
|
|
|
120
120
|
result.dates # tuple of dt.date
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
+
**Failed dates.** If the calculation fails on some dates, the series leaves those dates out and
|
|
124
|
+
keeps their `ErrorValue`s in `series.error`, a dict keyed by date. If it fails on every date,
|
|
125
|
+
`.result()` returns the first date's `ErrorValue` instead of a series.
|
|
126
|
+
|
|
123
127
|
## Converting to DataFrames
|
|
124
128
|
|
|
125
129
|
All result types support conversion to pandas DataFrames:
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Risk measures
|
|
2
|
+
|
|
3
|
+
This page says what each risk measure's number means.
|
|
4
|
+
|
|
5
|
+
## Parameters
|
|
6
|
+
|
|
7
|
+
**`currency=`** converts the result into that currency, e.g. `EqDelta(currency='EUR')`;
|
|
8
|
+
`currency='local'` gives the instrument's own currency. Without it, some measures report USD rather
|
|
9
|
+
than the instrument's currency, e.g. `IRVegaParallel`.
|
|
10
|
+
|
|
11
|
+
**`aggregation_level=`** sets how finely a bucketed measure is broken down:
|
|
12
|
+
|
|
13
|
+
| Level | Result |
|
|
14
|
+
|---|---|
|
|
15
|
+
| `'Point'` (default) | a table with one row per market data point, e.g. each curve tenor |
|
|
16
|
+
| `'Class'` | a table with one row per instrument class, e.g. the cash, FRA and swap points of a rate curve |
|
|
17
|
+
| `'Asset'` | a table with one row per asset, e.g. per currency |
|
|
18
|
+
| `'Type'` | one number |
|
|
19
|
+
|
|
20
|
+
**`.unit`** on a result names its unit when it is set, e.g. the currency of a price. Many results
|
|
21
|
+
have no unit set; that does not mean they are unitless.
|
|
22
|
+
|
|
23
|
+
## Scales
|
|
24
|
+
|
|
25
|
+
**Rates, vols and fractions come back as decimals**: `IRFwdRate`, `IRSpotRate`,
|
|
26
|
+
`IRAnnualImpliedVol`, `FXAnnualImpliedVol`, `EqAnnualImpliedVol`, `FXQuotedDelta`, `FXCalcDelta`
|
|
27
|
+
and `FairPremiumInPercent`. For example, `0.0466` is 4.66%.
|
|
28
|
+
|
|
29
|
+
**Prices, premiums and sensitivities scale with the trade's size** (notional, or number of
|
|
30
|
+
options); fractions, rates, vols and spot levels don't.
|
|
31
|
+
|
|
32
|
+
## Equities
|
|
33
|
+
|
|
34
|
+
**`EqDelta` is the USD present value change for a 100% move in spot**: divide by 100 for a 1% move.
|
|
35
|
+
It is a bump-and-reprice of spot by ±1% in which vols move with spot under GS's market model, so it
|
|
36
|
+
can differ from a Black-Scholes delta. It is in USD even for a non-USD underlying, whose `.price()`
|
|
37
|
+
is in its own currency, so convert one of the two before comparing them.
|
|
38
|
+
|
|
39
|
+
With **`EqGamma`**, a spot move of `x` (a fraction, so `0.01` is 1%) changes the present value by
|
|
40
|
+
about `EqDelta * x + 50 * EqGamma * x**2`.
|
|
41
|
+
|
|
42
|
+
**`EqVega` is the USD present value change for a 1 vol point rise** in implied vol (`0.01`).
|
|
43
|
+
|
|
44
|
+
## FX
|
|
45
|
+
|
|
46
|
+
**`FXDelta` is the USD present value change for a move of 1 in spot**, one row per USD cross:
|
|
47
|
+
`PnL = dSpot * FXDelta`. **`FXCalcDelta`** is the delta as a fraction of notional, and
|
|
48
|
+
**`FXQuotedDelta`** the Black-Scholes delta as a fraction (the delta a strike such as `'25d'` is
|
|
49
|
+
solved against). **`FXDeltaHedge`** gives the notionals of USD-cross forwards that hedge the delta.
|
|
50
|
+
|
|
51
|
+
**`FXGamma` is the change in wing delta, in the underlying currency and scaled by notional, for a
|
|
52
|
+
100% move in spot.** A pair's rate is the number of units of the overlying currency per unit of the
|
|
53
|
+
underlying currency, so in USDJPY the underlying is USD and the overlying is JPY. A spot move of X%
|
|
54
|
+
changes the delta by about `FXGamma * X / 100`, and a move of 1 in spot by about `FXGamma / FXSpot`.
|
|
55
|
+
|
|
56
|
+
**`FXVega` is the USD present value change for a 1 vol point rise** in ATM vols (`0.01`).
|
|
57
|
+
|
|
58
|
+
**`FairPremium`** is the premium that makes the present value zero, paid on the premium payment
|
|
59
|
+
date, so it differs from the discounted price. **`FairPremiumInPercent`** is `FairPremium` divided
|
|
60
|
+
by notional times the forward (`FXFwd`).
|
|
61
|
+
|
|
62
|
+
**`FXSpot` reflects a spot shock only if the shock's pattern leaves `mkt_class` unset**; the price
|
|
63
|
+
moves either way.
|
|
64
|
+
|
|
65
|
+
**There is no Volga or Vanna measure**: calculate `FXVega` and `FXDelta` under a vol scenario and
|
|
66
|
+
take the difference from the unshocked values.
|
|
67
|
+
|
|
68
|
+
## Rates
|
|
69
|
+
|
|
70
|
+
**`IRDelta` is the present value change for a 1bp move in the instruments the curve is built
|
|
71
|
+
from**. **`IRGammaParallelLocalCcy`** is the change in that delta, in local currency, for a 1bp
|
|
72
|
+
move, so its unit is local currency per bp².
|
|
73
|
+
|
|
74
|
+
**`IRVega` is the present value change for a 1bp rise in normal vol**; **`IRVegaParallel`** is the
|
|
75
|
+
same in USD unless `currency=` is set, so on a non-USD trade it differs from
|
|
76
|
+
`IRVega(currency='local')` by the exchange rate.
|
|
77
|
+
|
|
78
|
+
**`IRAnnualImpliedVol` is a normal vol** as a decimal (`0.0087` is 87bp). **`IRFwdRate`** is the
|
|
79
|
+
forward par rate and **`IRSpotRate`** the spot par rate, both decimals.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Scenarios
|
|
2
|
+
|
|
3
|
+
A scenario changes market data for the calculations run inside it. It maps patterns, which select
|
|
4
|
+
market data points, to shocks, which move them:
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from gs_quant.risk import MarketDataPattern, MarketDataShock, MarketDataShockType, MarketDataShockBasedScenario
|
|
8
|
+
|
|
9
|
+
scenario = MarketDataShockBasedScenario(
|
|
10
|
+
shocks={
|
|
11
|
+
MarketDataPattern(mkt_type, mkt_asset, mkt_class, mkt_point, mkt_quoting_style): MarketDataShock(
|
|
12
|
+
MarketDataShockType.Absolute, # or Proportional, Override
|
|
13
|
+
value,
|
|
14
|
+
),
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
with PricingContext(pricing_date=d, market_data_location=loc): # the context you already price in
|
|
18
|
+
base_f = inst.price()
|
|
19
|
+
with scenario:
|
|
20
|
+
shocked_f = inst.price()
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Outside any pricing context, each calculation under the scenario is sent on its own.
|
|
24
|
+
|
|
25
|
+
**Choosing the pattern fields.** Set only the fields you need; unset fields match everything. To
|
|
26
|
+
get the values, call `inst.market()`: it lists the market data points the instrument uses, each
|
|
27
|
+
named `<mkt_type>_<mkt_asset>_<mkt_class>_<mkt_point>.<mkt_quoting_style>`. Copy the field values
|
|
28
|
+
from those names rather than guessing, because they can differ from market convention. For
|
|
29
|
+
example, EURUSD's points are under `USD/EUR`, and the spot point there holds the EURUSD rate, so a
|
|
30
|
+
shock to it moves EURUSD; `'EUR/USD'` matches nothing. Pass `mkt_point` as a tuple, such as
|
|
31
|
+
`('10Y',)`: a plain string like `'10Y'` is split into characters and does not select the 10Y point.
|
|
32
|
+
|
|
33
|
+
**A pattern that selects nothing changes nothing, without an error**: a misspelt field, a pair
|
|
34
|
+
written the other way round from its market data name, or several assets in one string. Use one
|
|
35
|
+
pattern per asset, and check that the shocked price moved.
|
|
36
|
+
|
|
37
|
+
**Absolute shocks and overrides are decimals in the point's own units**: for example, `0.0001` is
|
|
38
|
+
1bp on a rate and `0.01` is 1 vol point on an FX vol. **A proportional shock is a fraction of the
|
|
39
|
+
current level**: `0.06` raises it by 6%.
|
|
40
|
+
|
|
41
|
+
**If overriding a single point makes the model fail to calibrate**, override the whole curve
|
|
42
|
+
instead by leaving `mkt_point` unset. For example, single-tenor overrides of an FX vol can fail with
|
|
43
|
+
`Wing vols are substantially different to ATM vol`.
|
|
44
|
+
|
|
45
|
+
**FX options on several pairs take the correlation between two pairs from the vol of their cross**
|
|
46
|
+
(for example, the cross of EUR/SEK and EUR/MXN is MXN/SEK); their market data has no correlation
|
|
47
|
+
points. To test a different correlation, override the cross's ATM vol curve.
|
|
48
|
+
|
|
49
|
+
**Equities: vols are a scale (1.0) plus spreads (0.0).** An absolute shock on `mkt_class='Scale'`,
|
|
50
|
+
`mkt_quoting_style='Value'` scales the vols: `0.1` raises them by 10%. A proportional shock on
|
|
51
|
+
`ATM VOL` multiplies a spread of 0 and changes nothing.
|
|
52
|
+
|
|
53
|
+
**For shocked P&L over time**, use a `HistoricalPricingContext` in place of the `PricingContext`
|
|
54
|
+
above and subtract the two series.
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
# +1bp on the EUR 10y swap rate only
|
|
60
|
+
eur_10y = {
|
|
61
|
+
MarketDataPattern('IR', 'EUR', mkt_class='SWAP', mkt_point=('10Y',)): MarketDataShock(
|
|
62
|
+
MarketDataShockType.Absolute, 0.0001
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
# SPX vols up 10%
|
|
66
|
+
spx_vols = {
|
|
67
|
+
MarketDataPattern('EQ VOL', '.SPX', 'Scale', mkt_quoting_style='Value'): MarketDataShock(
|
|
68
|
+
MarketDataShockType.Absolute, 0.1
|
|
69
|
+
)
|
|
70
|
+
}
|
|
71
|
+
# MXN/SEK ATM vol curve set to 10.4%, which changes the EUR/SEK–EUR/MXN correlation
|
|
72
|
+
mxnsek_vol = {MarketDataPattern('FX VOL', 'MXN/SEK', 'ATM VOL'): MarketDataShock(MarketDataShockType.Override, 0.104)}
|
|
73
|
+
```
|
|
@@ -21,7 +21,6 @@ import pytest
|
|
|
21
21
|
from pandas.testing import assert_frame_equal, assert_series_equal
|
|
22
22
|
|
|
23
23
|
from gs_quant.api.gs.data import GsDataApi
|
|
24
|
-
from gs_quant.base import DictBase
|
|
25
24
|
from gs_quant.context_base import ContextMeta
|
|
26
25
|
from gs_quant.errors import MqValueError
|
|
27
26
|
from gs_quant.markets import MarketDataCoordinate
|
|
@@ -444,20 +443,21 @@ def test_get_dataset_fields(mocker):
|
|
|
444
443
|
|
|
445
444
|
|
|
446
445
|
def test_get_field_types(mocker):
|
|
446
|
+
# /data/fields/query returns raw JSON when `cls` is not passed, so `get_field_types` must
|
|
447
|
+
# read it as plain dicts rather than decoded DataSetFieldEntity objects (MMVIEW-13767:
|
|
448
|
+
# DataSetFieldEntityNumberParameters has no `.get()`, unlike a dict).
|
|
447
449
|
mock_response = {
|
|
448
450
|
"totalResults": 4,
|
|
449
451
|
"results": [
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
parameters=DictBase({'format': 'date-time'}),
|
|
460
|
-
),
|
|
452
|
+
{"name": "price", "type": "number", "parameters": {}},
|
|
453
|
+
{"name": "strikeReference", "type": "string", "parameters": {}},
|
|
454
|
+
{"name": "adjDate", "type": "string", "fieldJavaType": "DateField", "parameters": {"format": "date"}},
|
|
455
|
+
{
|
|
456
|
+
"name": "time",
|
|
457
|
+
"type": "string",
|
|
458
|
+
"fieldJavaType": "DateTimeField",
|
|
459
|
+
"parameters": {"format": "date-time"},
|
|
460
|
+
},
|
|
461
461
|
],
|
|
462
462
|
}
|
|
463
463
|
|
|
@@ -475,9 +475,76 @@ def test_get_field_types(mocker):
|
|
|
475
475
|
GsSession.current.sync.post.assert_called_once_with(
|
|
476
476
|
'/data/fields/query',
|
|
477
477
|
payload={'where': {'name': ['price', 'strikeReference', 'adjDate', 'time']}, 'limit': 4},
|
|
478
|
-
cls=DataSetFieldEntity,
|
|
479
478
|
)
|
|
480
479
|
|
|
481
480
|
|
|
481
|
+
def test_get_field_types_numeric_parameters(mocker):
|
|
482
|
+
# Regression test for MMVIEW-13767: the credit-vol dataset's numeric fields have non-null
|
|
483
|
+
# `parameters` (e.g. {"minimum": 0, "maximum": 1000}), which crashed the old
|
|
484
|
+
# `field.parameters.get('format')` call with AttributeError once parameters were decoded
|
|
485
|
+
# into a typed DataSetFieldEntityNumberParameters object instead of a dict.
|
|
486
|
+
mock_response = {
|
|
487
|
+
"results": [
|
|
488
|
+
{"name": "impliedVolatility", "type": "number", "parameters": {"minimum": 0, "maximum": 1000}},
|
|
489
|
+
{"name": "date", "type": "string", "parameters": {"format": "date"}},
|
|
490
|
+
{"name": "updateTime", "type": "string", "parameters": {"format": "date-time"}},
|
|
491
|
+
{"name": "assetId", "type": "string"},
|
|
492
|
+
],
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
mocker.patch.object(
|
|
496
|
+
GsSession.__class__, 'default_value', return_value=GsSession.get(Environment.QA, 'client_id', 'secret')
|
|
497
|
+
)
|
|
498
|
+
mocker.patch.object(GsSession.current.sync, 'post', return_value=mock_response)
|
|
499
|
+
|
|
500
|
+
response = GsDataApi.get_field_types(field_names=['impliedVolatility', 'date', 'updateTime', 'assetId'])
|
|
501
|
+
|
|
502
|
+
assert response == {
|
|
503
|
+
'impliedVolatility': 'number',
|
|
504
|
+
'date': 'date',
|
|
505
|
+
'updateTime': 'date-time',
|
|
506
|
+
'assetId': 'string',
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
def test_get_field_types_malformed_result_falls_back(mocker):
|
|
511
|
+
# A result missing `name` should not raise - get_field_types should return {} so that
|
|
512
|
+
# construct_dataframe_with_types falls back to the catalog API (get_types).
|
|
513
|
+
mocker.patch.object(
|
|
514
|
+
GsSession.__class__, 'default_value', return_value=GsSession.get(Environment.QA, 'client_id', 'secret')
|
|
515
|
+
)
|
|
516
|
+
mocker.patch.object(GsSession.current.sync, 'post', return_value={"results": [{"type": "number"}]})
|
|
517
|
+
|
|
518
|
+
response = GsDataApi.get_field_types(field_names=['impliedVolatility'])
|
|
519
|
+
assert response == {}
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
def test_construct_dataframe_with_types_standard_fields(mocker):
|
|
523
|
+
# End-to-end guard: with standard_fields=True, get_field_types must still correctly
|
|
524
|
+
# identify date columns so they get converted with pd.to_datetime, not silently left as
|
|
525
|
+
# strings (which the getattr(parameters, 'format_', None) fix proposed on MMVIEW-13639
|
|
526
|
+
# would have caused).
|
|
527
|
+
mocker.patch.object(
|
|
528
|
+
GsSession.__class__, 'default_value', return_value=GsSession.get(Environment.QA, 'client_id', 'secret')
|
|
529
|
+
)
|
|
530
|
+
mocker.patch.object(
|
|
531
|
+
GsSession.current.sync,
|
|
532
|
+
'post',
|
|
533
|
+
return_value={
|
|
534
|
+
"results": [
|
|
535
|
+
{"name": "impliedVolatility", "type": "number", "parameters": {"minimum": 0, "maximum": 1000}},
|
|
536
|
+
{"name": "date", "type": "string", "parameters": {"format": "date"}},
|
|
537
|
+
{"name": "assetId", "type": "string"},
|
|
538
|
+
],
|
|
539
|
+
},
|
|
540
|
+
)
|
|
541
|
+
|
|
542
|
+
data = [{"date": "2026-10-12", "impliedVolatility": 12.5, "assetId": "MA123"}]
|
|
543
|
+
df = GsDataApi.construct_dataframe_with_types('CREDIT_VOL_DATASET', data, standard_fields=True)
|
|
544
|
+
|
|
545
|
+
assert df.index.name == 'date'
|
|
546
|
+
assert pd.api.types.is_datetime64_any_dtype(df.index)
|
|
547
|
+
|
|
548
|
+
|
|
482
549
|
if __name__ == "__main__":
|
|
483
550
|
pytest.main(args=["test_data.py"])
|
|
@@ -225,6 +225,8 @@ gs_quant/skills/gs-quant-overview/instruments.md
|
|
|
225
225
|
gs_quant/skills/gs-quant-overview/measure.md
|
|
226
226
|
gs_quant/skills/gs-quant-overview/pricing.md
|
|
227
227
|
gs_quant/skills/gs-quant-overview/results.md
|
|
228
|
+
gs_quant/skills/gs-quant-overview/risk-measures.md
|
|
229
|
+
gs_quant/skills/gs-quant-overview/scenarios.md
|
|
228
230
|
gs_quant/target/__init__.py
|
|
229
231
|
gs_quant/target/assets.py
|
|
230
232
|
gs_quant/target/assets_screener.py
|
|
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
|
{gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/__init__.py
RENAMED
|
File without changes
|
{gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/json_encoders/request_encoders.py
RENAMED
|
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
|
{gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gs_quant-2.2.1 → gs_quant-2.2.2}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result.py
RENAMED
|
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
|