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.
Files changed (437) hide show
  1. {gs_quant-2.2.0 → gs_quant-2.2.1}/PKG-INFO +2 -2
  2. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/_version.py +3 -3
  3. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/SKILL.md +9 -4
  4. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/backtesting.md +2 -2
  5. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/datasets.md +1 -1
  6. gs_quant-2.2.1/gs_quant/skills/gs-quant-overview/errors.md +34 -0
  7. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/instruments.md +14 -0
  8. gs_quant-2.2.1/gs_quant/skills/gs-quant-overview/pricing.md +268 -0
  9. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/results.md +1 -1
  10. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/statistics.py +1 -1
  11. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/PKG-INFO +2 -2
  12. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/SOURCES.txt +1 -0
  13. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/requires.txt +1 -1
  14. {gs_quant-2.2.0 → gs_quant-2.2.1}/pyproject.toml +1 -1
  15. gs_quant-2.2.0/gs_quant/skills/gs-quant-overview/pricing.md +0 -192
  16. {gs_quant-2.2.0 → gs_quant-2.2.1}/LICENSE +0 -0
  17. {gs_quant-2.2.0 → gs_quant-2.2.1}/MANIFEST.in +0 -0
  18. {gs_quant-2.2.0 → gs_quant-2.2.1}/NOTICE +0 -0
  19. {gs_quant-2.2.0 → gs_quant-2.2.1}/NOTICE.txt +0 -0
  20. {gs_quant-2.2.0 → gs_quant-2.2.1}/README.md +0 -0
  21. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/__init__.py +0 -0
  22. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/__init__.py +0 -0
  23. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/__init__.py +0 -0
  24. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/constants.py +0 -0
  25. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/enumerators.py +0 -0
  26. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/common/helpers.py +0 -0
  27. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/__init__.py +0 -0
  28. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/processor.py +0 -0
  29. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/processor_result.py +0 -0
  30. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/core/query_helpers.py +0 -0
  31. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/__init__.py +0 -0
  32. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_cell.py +0 -0
  33. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_column.py +0 -0
  34. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/data_row.py +0 -0
  35. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/datagrid.py +0 -0
  36. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/serializers.py +0 -0
  37. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/datagrid/utils.py +0 -0
  38. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/__init__.py +0 -0
  39. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/analysis_processors.py +0 -0
  40. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/econometrics_processors.py +0 -0
  41. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/scale_processors.py +0 -0
  42. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/special_processors.py +0 -0
  43. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/statistics_processors.py +0 -0
  44. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/processors/utility_processors.py +0 -0
  45. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/__init__.py +0 -0
  46. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/components.py +0 -0
  47. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/analytics/workspaces/workspace.py +0 -0
  48. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/__init__.py +0 -0
  49. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/api_cache.py +0 -0
  50. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/api_session.py +0 -0
  51. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/data.py +0 -0
  52. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/__init__.py +0 -0
  53. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/data.py +0 -0
  54. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/fred/fred_query.py +0 -0
  55. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/__init__.py +0 -0
  56. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/assets.py +0 -0
  57. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests.py +0 -0
  58. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/__init__.py +0 -0
  59. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/apis.py +0 -0
  60. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/__init__.py +0 -0
  61. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/request_encoders.py +0 -0
  62. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
  63. {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
  64. {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
  65. {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
  66. {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
  67. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/json_encoders/response_encoders.py +0 -0
  68. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/request.py +0 -0
  69. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response.py +0 -0
  70. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/__init__.py +0 -0
  71. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/backtest_datatypes.py +0 -0
  72. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/generic_backtest_datatypes.py +0 -0
  73. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result.py +0 -0
  74. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result_datatypes.py +0 -0
  75. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/base_screener.py +0 -0
  76. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/carbon.py +0 -0
  77. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/content.py +0 -0
  78. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/countries.py +0 -0
  79. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/data.py +0 -0
  80. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/data_screen.py +0 -0
  81. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/datagrid.py +0 -0
  82. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/esg.py +0 -0
  83. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/federated_secmaster.py +0 -0
  84. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/groups.py +0 -0
  85. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/hedges.py +0 -0
  86. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/indices.py +0 -0
  87. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/__init__.py +0 -0
  88. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/dashboards.py +0 -0
  89. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/types.py +0 -0
  90. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/marketview/widgets.py +0 -0
  91. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/monitors.py +0 -0
  92. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/parser.py +0 -0
  93. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/plots.py +0 -0
  94. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/portfolios.py +0 -0
  95. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/price.py +0 -0
  96. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/reports.py +0 -0
  97. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/risk.py +0 -0
  98. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/risk_models.py +0 -0
  99. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/scenarios.py +0 -0
  100. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/screens.py +0 -0
  101. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/secmaster.py +0 -0
  102. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/thematics.py +0 -0
  103. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/users.py +0 -0
  104. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/gs/workspaces.py +0 -0
  105. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/risk.py +0 -0
  106. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/api/utils.py +0 -0
  107. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/__init__.py +0 -0
  108. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/action_handler.py +0 -0
  109. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/actions.py +0 -0
  110. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_engine.py +0 -0
  111. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_objects.py +0 -0
  112. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/backtest_utils.py +0 -0
  113. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/core.py +0 -0
  114. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/data_handler.py +0 -0
  115. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/data_sources.py +0 -0
  116. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/decorator.py +0 -0
  117. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/equity_vol_engine.py +0 -0
  118. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/event.py +0 -0
  119. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/execution_engine.py +0 -0
  120. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/generic_engine.py +0 -0
  121. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/generic_engine_action_impls.py +0 -0
  122. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/order.py +0 -0
  123. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/predefined_asset_engine.py +0 -0
  124. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/strategy.py +0 -0
  125. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/strategy_systematic.py +0 -0
  126. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/backtests/triggers.py +0 -0
  127. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/base.py +0 -0
  128. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/common.py +0 -0
  129. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/__init__.py +0 -0
  130. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/options.py +0 -0
  131. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config/utils.py +0 -0
  132. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/config.ini +0 -0
  133. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/__init__.py +0 -0
  134. {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
  135. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/00_fx/__init__.py +0 -0
  136. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/00_fx/vol_screen_app.py +0 -0
  137. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/content/reports_and_screens/__init__.py +0 -0
  138. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/context_base.py +0 -0
  139. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/__init__.py +0 -0
  140. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/coordinate.py +0 -0
  141. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/core.py +0 -0
  142. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/dataset.py +0 -0
  143. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/fields.py +0 -0
  144. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/log.py +0 -0
  145. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/query.py +0 -0
  146. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/stream.py +0 -0
  147. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/data/utilities.py +0 -0
  148. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/__init__.py +0 -0
  149. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/date.py +0 -0
  150. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/gscalendar.py +0 -0
  151. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/point.py +0 -0
  152. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/relative_date.py +0 -0
  153. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/rules.py +0 -0
  154. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/datetime/time.py +0 -0
  155. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/__init__.py +0 -0
  156. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entitlements.py +0 -0
  157. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entity.py +0 -0
  158. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/entity_utils.py +0 -0
  159. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/entities/tree_entity.py +0 -0
  160. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/errors.py +0 -0
  161. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/__init__.py +0 -0
  162. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/core.py +0 -0
  163. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/instrument/overrides.py +0 -0
  164. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/interfaces/__init__.py +0 -0
  165. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/interfaces/algebra.py +0 -0
  166. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_convertors.py +0 -0
  167. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_convertors_common.py +0 -0
  168. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/json_encoder.py +0 -0
  169. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/__init__.py +0 -0
  170. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/baskets.py +0 -0
  171. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/core.py +0 -0
  172. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/factor.py +0 -0
  173. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/factor_analytics.py +0 -0
  174. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/hedge.py +0 -0
  175. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/historical.py +0 -0
  176. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/index.py +0 -0
  177. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/indices_utils.py +0 -0
  178. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/markets.py +0 -0
  179. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/optimizer.py +0 -0
  180. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio.py +0 -0
  181. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio_manager.py +0 -0
  182. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/portfolio_manager_utils.py +0 -0
  183. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/position_set.py +0 -0
  184. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/position_set_utils.py +0 -0
  185. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/realtime.py +0 -0
  186. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/report.py +0 -0
  187. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/report_utils.py +0 -0
  188. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/scenario.py +0 -0
  189. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/screens.py +0 -0
  190. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/markets/securities.py +0 -0
  191. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/__init__.py +0 -0
  192. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/__main__.py +0 -0
  193. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/client.py +0 -0
  194. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/config.py +0 -0
  195. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/dependencies.py +0 -0
  196. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/middleware.py +0 -0
  197. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/run.py +0 -0
  198. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/session_utils.py +0 -0
  199. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/__init__.py +0 -0
  200. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/data/__init__.py +0 -0
  201. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/data/tools.py +0 -0
  202. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/marketview/__init__.py +0 -0
  203. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/marketview/tools.py +0 -0
  204. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/registry.py +0 -0
  205. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/users/__init__.py +0 -0
  206. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/mcp/tools/users/tools.py +0 -0
  207. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/__init__.py +0 -0
  208. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/epidemiology.py +0 -0
  209. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/risk_model.py +0 -0
  210. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/models/risk_model_utils.py +0 -0
  211. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/priceable.py +0 -0
  212. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/quote_reports/__init__.py +0 -0
  213. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/quote_reports/core.py +0 -0
  214. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/__init__.py +0 -0
  215. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/core.py +0 -0
  216. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/measures.py +0 -0
  217. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/result_handlers.py +0 -0
  218. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/results.py +0 -0
  219. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/scenario_utils.py +0 -0
  220. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/scenarios.py +0 -0
  221. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/risk/transform.py +0 -0
  222. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/session.py +0 -0
  223. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/__init__.py +0 -0
  224. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/__main__.py +0 -0
  225. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/skills/gs-quant-overview/measure.md +0 -0
  226. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/__init__.py +0 -0
  227. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/assets.py +0 -0
  228. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/assets_screener.py +0 -0
  229. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/backtests.py +0 -0
  230. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/base_screener.py +0 -0
  231. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/charts.py +0 -0
  232. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/common.py +0 -0
  233. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/content.py +0 -0
  234. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/coordinates.py +0 -0
  235. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/countries.py +0 -0
  236. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/data.py +0 -0
  237. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/data_screen.py +0 -0
  238. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/groups.py +0 -0
  239. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/hedge.py +0 -0
  240. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/indices.py +0 -0
  241. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/instrument.py +0 -0
  242. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/measures.py +0 -0
  243. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/monitor.py +0 -0
  244. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/portfolios.py +0 -0
  245. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/positions_v2_pricing.py +0 -0
  246. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/price.py +0 -0
  247. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/reports.py +0 -0
  248. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/risk.py +0 -0
  249. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/risk_models.py +0 -0
  250. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/scenarios.py +0 -0
  251. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/screens.py +0 -0
  252. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/secmaster.py +0 -0
  253. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/trades.py +0 -0
  254. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/workflow_quote.py +0 -0
  255. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/target/workspaces_markets.py +0 -0
  256. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/__init__.py +0 -0
  257. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/__init__.py +0 -0
  258. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_datagrid.py +0 -0
  259. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_sorting_and_filtering.py +0 -0
  260. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_sparkline_processor.py +0 -0
  261. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/analytics/test_workspace.py +0 -0
  262. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/__init__.py +0 -0
  263. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/__init__.py +0 -0
  264. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/__init__.py +0 -0
  265. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
  266. {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
  267. {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
  268. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/test_request_encoders.py +0 -0
  269. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/json_encoders/test_response_encoders.py +0 -0
  270. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/response_datatypes/test_backtest_datatypes.py +0 -0
  271. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result.py +0 -0
  272. {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
  273. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/test_request.py +0 -0
  274. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/backtests_xasset/test_response.py +0 -0
  275. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_assets.py +0 -0
  276. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_backtests.py +0 -0
  277. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_base_screener.py +0 -0
  278. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_cache.py +0 -0
  279. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_carbon.py +0 -0
  280. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_content.py +0 -0
  281. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_data.py +0 -0
  282. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_data_screen.py +0 -0
  283. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_esg.py +0 -0
  284. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_fred.py +0 -0
  285. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_groups.py +0 -0
  286. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_gs_data_tracing.py +0 -0
  287. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_index.py +0 -0
  288. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_instruments.py +0 -0
  289. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_json.py +0 -0
  290. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_monitor.py +0 -0
  291. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_portfolios.py +0 -0
  292. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_reports.py +0 -0
  293. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_risk.py +0 -0
  294. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_risk_models.py +0 -0
  295. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_scenarios.py +0 -0
  296. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_target.py +0 -0
  297. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_thread_manager.py +0 -0
  298. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/api/test_users.py +0 -0
  299. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/__init__.py +0 -0
  300. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_eq_vol_engine.py +0 -0
  301. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_flow_vol.py +0 -0
  302. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_backtest_predefined.py +0 -0
  303. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_generic_engine.py +0 -0
  304. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/backtest/test_triggers.py +0 -0
  305. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/config/test_config_loader.py +0 -0
  306. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/config/test_options.py +0 -0
  307. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/__init__.py +0 -0
  308. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_data_caching.py +0 -0
  309. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_data_coordinate.py +0 -0
  310. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_dataset.py +0 -0
  311. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_dataset_tracing.py +0 -0
  312. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/data/test_query.py +0 -0
  313. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/__init__.py +0 -0
  314. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_date.py +0 -0
  315. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_gscalendar.py +0 -0
  316. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_point.py +0 -0
  317. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_relative_date.py +0 -0
  318. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/datetime_/test_time.py +0 -0
  319. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_entitlements.py +0 -0
  320. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_group.py +0 -0
  321. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/entities/test_user.py +0 -0
  322. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/fixtures/__init__.py +0 -0
  323. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/fixtures/content.py +0 -0
  324. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/__init__.py +0 -0
  325. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_baskets.py +0 -0
  326. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_close_market.py +0 -0
  327. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_hedger.py +0 -0
  328. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_indices_utils.py +0 -0
  329. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_instrument.py +0 -0
  330. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_portfolio.py +0 -0
  331. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_portfolio_manager.py +0 -0
  332. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_position_set.py +0 -0
  333. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_pricing_context.py +0 -0
  334. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_realtime_pricing_context.py +0 -0
  335. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_report.py +0 -0
  336. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_scenarios.py +0 -0
  337. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/markets/test_securities.py +0 -0
  338. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/mock_data_test_utils.py +0 -0
  339. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/__init__.py +0 -0
  340. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_epidemiology.py +0 -0
  341. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_risk_model.py +0 -0
  342. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/models/test_risk_model_utils.py +0 -0
  343. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/risk/test_measures.py +0 -0
  344. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/risk/test_results.py +0 -0
  345. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/skills/__init__.py +0 -0
  346. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/skills/test_installer.py +0 -0
  347. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_base.py +0 -0
  348. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_context_base.py +0 -0
  349. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/test_session.py +0 -0
  350. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/__init__.py +0 -0
  351. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/__init__.py +0 -0
  352. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/test_commod.py +0 -0
  353. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/multi_measure/test_measure_registry.py +0 -0
  354. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_algebra.py +0 -0
  355. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_analysis.py +0 -0
  356. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_backtesting.py +0 -0
  357. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_datetime.py +0 -0
  358. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_econometrics.py +0 -0
  359. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_event_study.py +0 -0
  360. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_helper.py +0 -0
  361. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures.py +0 -0
  362. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_bonds.py +0 -0
  363. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_cognitive_credit.py +0 -0
  364. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_countries.py +0 -0
  365. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_etf.py +0 -0
  366. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_factset.py +0 -0
  367. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_fx_vol.py +0 -0
  368. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_inflation.py +0 -0
  369. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_portfolios.py +0 -0
  370. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_rates.py +0 -0
  371. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_reports.py +0 -0
  372. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_risk_models.py +0 -0
  373. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_tba.py +0 -0
  374. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_measures_xccy.py +0 -0
  375. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_plot_measure_signatures.py +0 -0
  376. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_query_kwarg_casing.py +0 -0
  377. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_rolling.py +0 -0
  378. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_statistics.py +0 -0
  379. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_tca.py +0 -0
  380. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_technicals.py +0 -0
  381. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/test_timeseries.py +0 -0
  382. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/timeseries/utils.py +0 -0
  383. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/tracing/__init__.py +0 -0
  384. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/tracing/test_tracing.py +0 -0
  385. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/__init__.py +0 -0
  386. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/datagrid_test_utils.py +0 -0
  387. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_calc.py +0 -0
  388. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_data.py +0 -0
  389. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/mock_request.py +0 -0
  390. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/test_utilities.py +0 -0
  391. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/test/utils/test_utils.py +0 -0
  392. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/__init__.py +0 -0
  393. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/__init__.py +0 -0
  394. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_api.py +0 -0
  395. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_asset_source.py +0 -0
  396. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_definitions.py +0 -0
  397. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_frame.py +0 -0
  398. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_impact.py +0 -0
  399. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_labels.py +0 -0
  400. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_macro_source.py +0 -0
  401. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_objects.py +0 -0
  402. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_processing.py +0 -0
  403. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/_event_study/event_study_query.py +0 -0
  404. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/algebra.py +0 -0
  405. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/analysis.py +0 -0
  406. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/backtesting.py +0 -0
  407. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/datetime.py +0 -0
  408. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/econometrics.py +0 -0
  409. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/event_study.py +0 -0
  410. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/helper.py +0 -0
  411. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measure_registry.py +0 -0
  412. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures.py +0 -0
  413. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_bonds.py +0 -0
  414. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_cognitive_credit.py +0 -0
  415. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_countries.py +0 -0
  416. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_etf.py +0 -0
  417. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_factset.py +0 -0
  418. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_fx_vol.py +0 -0
  419. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_helper.py +0 -0
  420. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_inflation.py +0 -0
  421. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_portfolios.py +0 -0
  422. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_rates.py +0 -0
  423. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_reports.py +0 -0
  424. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_risk_models.py +0 -0
  425. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_tba.py +0 -0
  426. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/measures_xccy.py +0 -0
  427. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/tca.py +0 -0
  428. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/timeseries/technicals.py +0 -0
  429. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/tracing/__init__.py +0 -0
  430. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/tracing/tracing.py +0 -0
  431. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/workflow/__init__.py +0 -0
  432. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant/workflow/workflow.py +0 -0
  433. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/dependency_links.txt +0 -0
  434. {gs_quant-2.2.0 → gs_quant-2.2.1}/gs_quant.egg-info/top_level.txt +0 -0
  435. {gs_quant-2.2.0 → gs_quant-2.2.1}/setup.cfg +0 -0
  436. {gs_quant-2.2.0 → gs_quant-2.2.1}/setup.py +0 -0
  437. {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.0
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<2.4.0,>1.17.0
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-07T15:50:57+0000",
11
+ "date": "2026-10-13T10:20:55+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "e5b96bf48b1f59254c19ca563b3fa8a05c29a8ea",
15
- "version": "2.2.0"
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: "Quick-start guide for gs_quant: session setup with GsSession, constructing portfolios, resolving instruments. Start here for any coding task that uses the gs_quant library"
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, see these focused files.
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` — Pricing instruments and portfolios in gs_quant: PricingContext, HistoricalPricingContext for historical pricing over date ranges, and LiveMarket for real-time pricing. Covers pricing dates, market data location, batch mode, and async patterns.
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 `gs-quant-instruments` for details
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])`
@@ -135,7 +135,7 @@ df = query_in_batches(ds, ids, dt.date(2024, 1, 1), dt.date(2025, 3, 19), id_fie
135
135
  ```
136
136
 
137
137
  ## Uploading Data
138
- D
138
+
139
139
  ```python
140
140
  import pandas as pd
141
141
 
@@ -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.0
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<2.4.0,>1.17.0
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
@@ -9,7 +9,7 @@ lmfit
9
9
  more_itertools
10
10
  msgpack
11
11
  nest-asyncio
12
- numpy<2.4.0,>1.17.0
12
+ numpy>1.17.0
13
13
  opentelemetry-api
14
14
  opentelemetry-sdk
15
15
  pandas>=1.4
@@ -33,7 +33,7 @@ dependencies = [
33
33
  "more_itertools",
34
34
  "msgpack",
35
35
  "nest-asyncio",
36
- "numpy>1.17.0,<2.4.0",
36
+ "numpy>1.17.0",
37
37
  "opentelemetry-api",
38
38
  "opentelemetry-sdk",
39
39
  "pandas>=1.4",