gs-quant 2.2.3__tar.gz → 2.2.4__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 (439) hide show
  1. {gs_quant-2.2.3 → gs_quant-2.2.4}/PKG-INFO +1 -1
  2. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/_version.py +3 -3
  3. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/SKILL.md +2 -11
  4. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/backtesting.md +1 -1
  5. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/datasets.md +53 -8
  6. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/errors.md +10 -3
  7. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/instruments.md +2 -0
  8. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/pricing.md +38 -0
  9. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/tracing/test_tracing.py +17 -15
  10. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/tracing/tracing.py +26 -2
  11. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant.egg-info/PKG-INFO +1 -1
  12. {gs_quant-2.2.3 → gs_quant-2.2.4}/LICENSE +0 -0
  13. {gs_quant-2.2.3 → gs_quant-2.2.4}/MANIFEST.in +0 -0
  14. {gs_quant-2.2.3 → gs_quant-2.2.4}/NOTICE +0 -0
  15. {gs_quant-2.2.3 → gs_quant-2.2.4}/NOTICE.txt +0 -0
  16. {gs_quant-2.2.3 → gs_quant-2.2.4}/README.md +0 -0
  17. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/__init__.py +0 -0
  18. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/__init__.py +0 -0
  19. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/common/__init__.py +0 -0
  20. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/common/constants.py +0 -0
  21. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/common/enumerators.py +0 -0
  22. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/common/helpers.py +0 -0
  23. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/core/__init__.py +0 -0
  24. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/core/processor.py +0 -0
  25. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/core/processor_result.py +0 -0
  26. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/core/query_helpers.py +0 -0
  27. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/__init__.py +0 -0
  28. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/data_cell.py +0 -0
  29. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/data_column.py +0 -0
  30. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/data_row.py +0 -0
  31. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/datagrid.py +0 -0
  32. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/serializers.py +0 -0
  33. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/datagrid/utils.py +0 -0
  34. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/__init__.py +0 -0
  35. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/analysis_processors.py +0 -0
  36. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/econometrics_processors.py +0 -0
  37. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/scale_processors.py +0 -0
  38. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/special_processors.py +0 -0
  39. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/statistics_processors.py +0 -0
  40. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/processors/utility_processors.py +0 -0
  41. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/workspaces/__init__.py +0 -0
  42. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/workspaces/components.py +0 -0
  43. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/analytics/workspaces/workspace.py +0 -0
  44. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/__init__.py +0 -0
  45. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/api_cache.py +0 -0
  46. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/api_session.py +0 -0
  47. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/data.py +0 -0
  48. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/fred/__init__.py +0 -0
  49. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/fred/data.py +0 -0
  50. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/fred/fred_query.py +0 -0
  51. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/__init__.py +0 -0
  52. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/assets.py +0 -0
  53. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests.py +0 -0
  54. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/__init__.py +0 -0
  55. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/apis.py +0 -0
  56. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/__init__.py +0 -0
  57. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/request_encoders.py +0 -0
  58. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
  59. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/generic_datatype_encoders.py +0 -0
  60. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_datatype_encoders.py +0 -0
  61. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/risk_result_encoders.py +0 -0
  62. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_datatypes/test_backtest_datatypes_encoders.py +0 -0
  63. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/json_encoders/response_encoders.py +0 -0
  64. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/request.py +0 -0
  65. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response.py +0 -0
  66. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response_datatypes/__init__.py +0 -0
  67. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response_datatypes/backtest_datatypes.py +0 -0
  68. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response_datatypes/generic_backtest_datatypes.py +0 -0
  69. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result.py +0 -0
  70. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/backtests_xasset/response_datatypes/risk_result_datatypes.py +0 -0
  71. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/base_screener.py +0 -0
  72. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/carbon.py +0 -0
  73. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/content.py +0 -0
  74. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/countries.py +0 -0
  75. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/data.py +0 -0
  76. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/data_screen.py +0 -0
  77. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/datagrid.py +0 -0
  78. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/esg.py +0 -0
  79. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/federated_secmaster.py +0 -0
  80. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/groups.py +0 -0
  81. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/hedges.py +0 -0
  82. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/indices.py +0 -0
  83. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/marketview/__init__.py +0 -0
  84. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/marketview/dashboards.py +0 -0
  85. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/marketview/types.py +0 -0
  86. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/marketview/widgets.py +0 -0
  87. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/monitors.py +0 -0
  88. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/parser.py +0 -0
  89. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/plots.py +0 -0
  90. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/portfolios.py +0 -0
  91. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/price.py +0 -0
  92. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/reports.py +0 -0
  93. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/risk.py +0 -0
  94. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/risk_models.py +0 -0
  95. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/scenarios.py +0 -0
  96. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/screens.py +0 -0
  97. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/secmaster.py +0 -0
  98. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/thematics.py +0 -0
  99. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/users.py +0 -0
  100. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/gs/workspaces.py +0 -0
  101. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/risk.py +0 -0
  102. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/api/utils.py +0 -0
  103. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/__init__.py +0 -0
  104. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/action_handler.py +0 -0
  105. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/actions.py +0 -0
  106. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/backtest_engine.py +0 -0
  107. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/backtest_objects.py +0 -0
  108. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/backtest_utils.py +0 -0
  109. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/core.py +0 -0
  110. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/data_handler.py +0 -0
  111. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/data_sources.py +0 -0
  112. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/decorator.py +0 -0
  113. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/equity_vol_engine.py +0 -0
  114. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/event.py +0 -0
  115. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/execution_engine.py +0 -0
  116. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/generic_engine.py +0 -0
  117. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/generic_engine_action_impls.py +0 -0
  118. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/order.py +0 -0
  119. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/predefined_asset_engine.py +0 -0
  120. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/strategy.py +0 -0
  121. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/strategy_systematic.py +0 -0
  122. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/backtests/triggers.py +0 -0
  123. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/base.py +0 -0
  124. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/common.py +0 -0
  125. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/config/__init__.py +0 -0
  126. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/config/options.py +0 -0
  127. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/config/utils.py +0 -0
  128. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/config.ini +0 -0
  129. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/content/__init__.py +0 -0
  130. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/content/events/00_gsquant_meets_markets/02_optimizing_equity_trading/qes_utils.py +0 -0
  131. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/content/reports_and_screens/00_fx/__init__.py +0 -0
  132. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/content/reports_and_screens/00_fx/vol_screen_app.py +0 -0
  133. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/content/reports_and_screens/__init__.py +0 -0
  134. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/context_base.py +0 -0
  135. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/__init__.py +0 -0
  136. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/coordinate.py +0 -0
  137. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/core.py +0 -0
  138. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/dataset.py +0 -0
  139. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/fields.py +0 -0
  140. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/log.py +0 -0
  141. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/query.py +0 -0
  142. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/stream.py +0 -0
  143. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/data/utilities.py +0 -0
  144. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/__init__.py +0 -0
  145. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/date.py +0 -0
  146. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/gscalendar.py +0 -0
  147. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/point.py +0 -0
  148. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/relative_date.py +0 -0
  149. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/rules.py +0 -0
  150. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/datetime/time.py +0 -0
  151. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/entities/__init__.py +0 -0
  152. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/entities/entitlements.py +0 -0
  153. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/entities/entity.py +0 -0
  154. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/entities/entity_utils.py +0 -0
  155. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/entities/tree_entity.py +0 -0
  156. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/errors.py +0 -0
  157. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/instrument/__init__.py +0 -0
  158. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/instrument/core.py +0 -0
  159. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/instrument/overrides.py +0 -0
  160. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/interfaces/__init__.py +0 -0
  161. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/interfaces/algebra.py +0 -0
  162. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/json_convertors.py +0 -0
  163. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/json_convertors_common.py +0 -0
  164. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/json_encoder.py +0 -0
  165. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/__init__.py +0 -0
  166. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/baskets.py +0 -0
  167. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/core.py +0 -0
  168. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/factor.py +0 -0
  169. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/factor_analytics.py +0 -0
  170. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/hedge.py +0 -0
  171. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/historical.py +0 -0
  172. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/index.py +0 -0
  173. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/indices_utils.py +0 -0
  174. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/markets.py +0 -0
  175. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/optimizer.py +0 -0
  176. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/portfolio.py +0 -0
  177. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/portfolio_manager.py +0 -0
  178. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/portfolio_manager_utils.py +0 -0
  179. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/position_set.py +0 -0
  180. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/position_set_utils.py +0 -0
  181. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/realtime.py +0 -0
  182. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/report.py +0 -0
  183. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/report_utils.py +0 -0
  184. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/scenario.py +0 -0
  185. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/screens.py +0 -0
  186. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/markets/securities.py +0 -0
  187. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/__init__.py +0 -0
  188. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/__main__.py +0 -0
  189. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/client.py +0 -0
  190. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/config.py +0 -0
  191. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/dependencies.py +0 -0
  192. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/middleware.py +0 -0
  193. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/run.py +0 -0
  194. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/session_utils.py +0 -0
  195. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/__init__.py +0 -0
  196. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/data/__init__.py +0 -0
  197. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/data/tools.py +0 -0
  198. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/marketview/__init__.py +0 -0
  199. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/marketview/tools.py +0 -0
  200. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/registry.py +0 -0
  201. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/users/__init__.py +0 -0
  202. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/mcp/tools/users/tools.py +0 -0
  203. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/models/__init__.py +0 -0
  204. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/models/epidemiology.py +0 -0
  205. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/models/risk_model.py +0 -0
  206. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/models/risk_model_utils.py +0 -0
  207. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/priceable.py +0 -0
  208. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/quote_reports/__init__.py +0 -0
  209. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/quote_reports/core.py +0 -0
  210. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/__init__.py +0 -0
  211. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/core.py +0 -0
  212. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/measures.py +0 -0
  213. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/result_handlers.py +0 -0
  214. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/results.py +0 -0
  215. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/scenario_utils.py +0 -0
  216. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/scenarios.py +0 -0
  217. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/risk/transform.py +0 -0
  218. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/session.py +0 -0
  219. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/__init__.py +0 -0
  220. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/__main__.py +0 -0
  221. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/measure.md +0 -0
  222. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/results.md +0 -0
  223. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/risk-measures.md +0 -0
  224. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/skills/gs-quant-overview/scenarios.md +0 -0
  225. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/__init__.py +0 -0
  226. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/assets.py +0 -0
  227. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/assets_screener.py +0 -0
  228. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/backtests.py +0 -0
  229. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/base_screener.py +0 -0
  230. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/charts.py +0 -0
  231. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/common.py +0 -0
  232. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/content.py +0 -0
  233. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/coordinates.py +0 -0
  234. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/countries.py +0 -0
  235. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/data.py +0 -0
  236. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/data_screen.py +0 -0
  237. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/groups.py +0 -0
  238. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/hedge.py +0 -0
  239. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/indices.py +0 -0
  240. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/instrument.py +0 -0
  241. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/measures.py +0 -0
  242. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/monitor.py +0 -0
  243. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/portfolios.py +0 -0
  244. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/positions_v2_pricing.py +0 -0
  245. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/price.py +0 -0
  246. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/reports.py +0 -0
  247. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/risk.py +0 -0
  248. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/risk_models.py +0 -0
  249. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/scenarios.py +0 -0
  250. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/screens.py +0 -0
  251. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/secmaster.py +0 -0
  252. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/trades.py +0 -0
  253. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/workflow_quote.py +0 -0
  254. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/target/workspaces_markets.py +0 -0
  255. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/__init__.py +0 -0
  256. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/analytics/__init__.py +0 -0
  257. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/analytics/test_datagrid.py +0 -0
  258. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/analytics/test_sorting_and_filtering.py +0 -0
  259. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/analytics/test_sparkline_processor.py +0 -0
  260. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/analytics/test_workspace.py +0 -0
  261. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/__init__.py +0 -0
  262. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/__init__.py +0 -0
  263. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/__init__.py +0 -0
  264. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/__init__.py +0 -0
  265. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_datatype_encoders.py +0 -0
  266. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/response_datatypes/test_risk_result_encoders.py +0 -0
  267. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/test_request_encoders.py +0 -0
  268. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/json_encoders/test_response_encoders.py +0 -0
  269. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/response_datatypes/test_backtest_datatypes.py +0 -0
  270. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result.py +0 -0
  271. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/response_datatypes/test_risk_result_datatypes.py +0 -0
  272. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/test_request.py +0 -0
  273. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/backtests_xasset/test_response.py +0 -0
  274. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_assets.py +0 -0
  275. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_backtests.py +0 -0
  276. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_base_screener.py +0 -0
  277. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_cache.py +0 -0
  278. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_carbon.py +0 -0
  279. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_content.py +0 -0
  280. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_data.py +0 -0
  281. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_data_screen.py +0 -0
  282. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_esg.py +0 -0
  283. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_fred.py +0 -0
  284. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_groups.py +0 -0
  285. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_gs_data_tracing.py +0 -0
  286. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_index.py +0 -0
  287. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_instruments.py +0 -0
  288. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_json.py +0 -0
  289. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_monitor.py +0 -0
  290. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_portfolios.py +0 -0
  291. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_reports.py +0 -0
  292. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_risk.py +0 -0
  293. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_risk_models.py +0 -0
  294. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_scenarios.py +0 -0
  295. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_target.py +0 -0
  296. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_thread_manager.py +0 -0
  297. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/api/test_users.py +0 -0
  298. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/__init__.py +0 -0
  299. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/test_backtest_eq_vol_engine.py +0 -0
  300. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/test_backtest_flow_vol.py +0 -0
  301. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/test_backtest_predefined.py +0 -0
  302. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/test_generic_engine.py +0 -0
  303. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/backtest/test_triggers.py +0 -0
  304. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/config/test_config_loader.py +0 -0
  305. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/config/test_options.py +0 -0
  306. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/__init__.py +0 -0
  307. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/test_data_caching.py +0 -0
  308. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/test_data_coordinate.py +0 -0
  309. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/test_dataset.py +0 -0
  310. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/test_dataset_tracing.py +0 -0
  311. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/data/test_query.py +0 -0
  312. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/__init__.py +0 -0
  313. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/test_date.py +0 -0
  314. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/test_gscalendar.py +0 -0
  315. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/test_point.py +0 -0
  316. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/test_relative_date.py +0 -0
  317. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/datetime_/test_time.py +0 -0
  318. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/entities/test_entitlements.py +0 -0
  319. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/entities/test_group.py +0 -0
  320. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/entities/test_user.py +0 -0
  321. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/fixtures/__init__.py +0 -0
  322. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/fixtures/content.py +0 -0
  323. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/__init__.py +0 -0
  324. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_baskets.py +0 -0
  325. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_close_market.py +0 -0
  326. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_hedger.py +0 -0
  327. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_indices_utils.py +0 -0
  328. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_instrument.py +0 -0
  329. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_portfolio.py +0 -0
  330. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_portfolio_manager.py +0 -0
  331. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_position_set.py +0 -0
  332. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_pricing_context.py +0 -0
  333. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_realtime_pricing_context.py +0 -0
  334. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_report.py +0 -0
  335. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_scenarios.py +0 -0
  336. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/markets/test_securities.py +0 -0
  337. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/mock_data_test_utils.py +0 -0
  338. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/models/__init__.py +0 -0
  339. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/models/test_epidemiology.py +0 -0
  340. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/models/test_risk_model.py +0 -0
  341. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/models/test_risk_model_utils.py +0 -0
  342. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/risk/test_measures.py +0 -0
  343. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/risk/test_results.py +0 -0
  344. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/skills/__init__.py +0 -0
  345. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/skills/test_installer.py +0 -0
  346. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/test_base.py +0 -0
  347. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/test_context_base.py +0 -0
  348. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/test_session.py +0 -0
  349. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/__init__.py +0 -0
  350. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/multi_measure/__init__.py +0 -0
  351. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/multi_measure/test_commod.py +0 -0
  352. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/multi_measure/test_measure_registry.py +0 -0
  353. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_algebra.py +0 -0
  354. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_analysis.py +0 -0
  355. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_backtesting.py +0 -0
  356. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_datetime.py +0 -0
  357. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_econometrics.py +0 -0
  358. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_event_study.py +0 -0
  359. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_helper.py +0 -0
  360. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures.py +0 -0
  361. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_bonds.py +0 -0
  362. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_cognitive_credit.py +0 -0
  363. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_countries.py +0 -0
  364. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_etf.py +0 -0
  365. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_factset.py +0 -0
  366. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_fx_vol.py +0 -0
  367. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_inflation.py +0 -0
  368. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_portfolios.py +0 -0
  369. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_rates.py +0 -0
  370. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_reports.py +0 -0
  371. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_risk_models.py +0 -0
  372. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_tba.py +0 -0
  373. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_measures_xccy.py +0 -0
  374. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_plot_measure_signatures.py +0 -0
  375. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_query_kwarg_casing.py +0 -0
  376. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_rolling.py +0 -0
  377. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_statistics.py +0 -0
  378. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_tca.py +0 -0
  379. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_technicals.py +0 -0
  380. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/test_timeseries.py +0 -0
  381. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/timeseries/utils.py +0 -0
  382. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/tracing/__init__.py +0 -0
  383. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/__init__.py +0 -0
  384. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/datagrid_test_utils.py +0 -0
  385. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/mock_calc.py +0 -0
  386. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/mock_data.py +0 -0
  387. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/mock_request.py +0 -0
  388. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/test_utilities.py +0 -0
  389. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/test/utils/test_utils.py +0 -0
  390. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/__init__.py +0 -0
  391. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/__init__.py +0 -0
  392. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_api.py +0 -0
  393. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_asset_source.py +0 -0
  394. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_definitions.py +0 -0
  395. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_frame.py +0 -0
  396. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_impact.py +0 -0
  397. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_labels.py +0 -0
  398. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_macro_source.py +0 -0
  399. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_objects.py +0 -0
  400. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_processing.py +0 -0
  401. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/_event_study/event_study_query.py +0 -0
  402. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/algebra.py +0 -0
  403. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/analysis.py +0 -0
  404. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/backtesting.py +0 -0
  405. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/datetime.py +0 -0
  406. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/econometrics.py +0 -0
  407. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/etf_classification.py +0 -0
  408. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/event_study.py +0 -0
  409. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/helper.py +0 -0
  410. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measure_registry.py +0 -0
  411. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures.py +0 -0
  412. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_bonds.py +0 -0
  413. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_cognitive_credit.py +0 -0
  414. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_countries.py +0 -0
  415. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_etf.py +0 -0
  416. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_factset.py +0 -0
  417. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_fx_vol.py +0 -0
  418. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_helper.py +0 -0
  419. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_inflation.py +0 -0
  420. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_portfolios.py +0 -0
  421. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_rates.py +0 -0
  422. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_reports.py +0 -0
  423. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_risk_models.py +0 -0
  424. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_tba.py +0 -0
  425. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/measures_xccy.py +0 -0
  426. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/statistics.py +0 -0
  427. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/tca.py +0 -0
  428. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/timeseries/technicals.py +0 -0
  429. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/tracing/__init__.py +0 -0
  430. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/workflow/__init__.py +0 -0
  431. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant/workflow/workflow.py +0 -0
  432. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant.egg-info/SOURCES.txt +0 -0
  433. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant.egg-info/dependency_links.txt +0 -0
  434. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant.egg-info/requires.txt +0 -0
  435. {gs_quant-2.2.3 → gs_quant-2.2.4}/gs_quant.egg-info/top_level.txt +0 -0
  436. {gs_quant-2.2.3 → gs_quant-2.2.4}/pyproject.toml +0 -0
  437. {gs_quant-2.2.3 → gs_quant-2.2.4}/setup.cfg +0 -0
  438. {gs_quant-2.2.3 → gs_quant-2.2.4}/setup.py +0 -0
  439. {gs_quant-2.2.3 → gs_quant-2.2.4}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gs_quant
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: Goldman Sachs Quant
5
5
  Author-email: Goldman Sachs <developer@gs.com>
6
6
  License: Apache-2.0
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2026-10-28T18:51:11+0000",
11
+ "date": "2026-11-03T16:39:47+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "ae7eb6b3fd1f50ce3f5128a4c935e9adf885a74f",
15
- "version": "2.2.3"
14
+ "full-revisionid": "a836565fbb2c52433ca6d0c5495238716a18eea5",
15
+ "version": "2.2.4"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -28,15 +28,6 @@ GsSession.use(
28
28
  - **`client_id` / `client_secret`** — OAuth2 application credentials. When both are provided the library creates an `OAuth2Session`.
29
29
  - **`scopes`** — Optional iterable of `GsSession.Scopes` values. Usually when pricing trade you will need `run_analytics`.
30
30
 
31
- ### Kerberos / SSO (Internal GS)
32
-
33
- If no `client_id` is supplied, the library will attempt Kerberos or pass-through authentication automatically:
34
- This is for internal GS users only and requires appropriate network access and installation of gs-quant-internal.
35
-
36
- ```python
37
- GsSession.use(Environment.PROD)
38
- ```
39
-
40
31
  ### Using as a Context Manager
41
32
 
42
33
  ```python
@@ -141,10 +132,10 @@ results = portfolio.calc([DollarPrice, IRDelta]) # multiple risk measures
141
132
  For detailed guidance on specific topics, open the file whose topic or symptoms match the task.
142
133
 
143
134
  - `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.
135
+ - `pricing.md` — PricingContext, HistoricalPricingContext and LiveMarket: which close is used and market data location, choosing contexts, long calculations and `is_batch`, caching results with `use_cache`, tracing slow or failing code with `Tracer`, relative terms and `resolve()`. Symptoms: slow code, many requests, timeouts, prices that differ from other tools or look a day old.
145
136
  - `scenarios.md` — Shocking and overriding market data: patterns, shock sizes, equity vols, FX correlation, shocked P&L over time.
146
137
  - `risk-measures.md` — What each risk measure's number means: units, scaling with size, `currency=` and `aggregation_level=`, by asset class.
147
138
  - `errors.md` — gs_quant error messages and what to do, and how to reach support when nothing fixes it.
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.
139
+ - `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, field and symbol dimension lookup, index constituents, realised volatility, intraday data, and common pitfalls.
149
140
  - `backtesting.md` — Guide to the gs_quant backtesting framework: when to price directly instead, Strategy, triggers, actions, GenericEngine, EquityVolEngine, transaction costs, skipping dates, P&L breakdowns, and result extraction.
150
141
  - `measure.md` — writing custom measures with `@plot_measure` and `@risk_measure` decorators
@@ -485,7 +485,7 @@ Transaction costs appear in `backtest.result_summary` as the `'Transaction Costs
485
485
  - **Order actions within a trigger** — exit before add: `PeriodicTrigger(trig_req, [exit_action, add_action])`
486
486
  - **Name your instruments** — names appear in trade_ledger and aid debugging
487
487
  - **`frequency='1b'`** for daily P&L; trigger frequency and evaluation frequency are independent
488
- - **Before a long run, time a short one when a trigger depends on the strategy's own risk**, for example a `StrategyRiskTrigger`: the engine then has to price each date before it can decide what to do on the next, so it sends requests one date at a time and a run over several years can take hours
488
+ - **Before a long run, time a short one when a trigger depends on the strategy's own risk**, for example a `StrategyRiskTrigger`: the engine then has to price each date before it can decide what to do on the next, so it sends requests one date at a time and a run over several years can take hours. To see where the short run spends its time, see "Tracing" in `pricing.md`
489
489
 
490
490
  ---
491
491
 
@@ -16,6 +16,10 @@ Pass the dataset ID string (visible in the Marquee catalog URL):
16
16
  ds = Dataset('FXIVOL_STANDARD')
17
17
  ```
18
18
 
19
+ **Look up a dataset's fields with `GsDataApi.get_types('<ID>')` (`from gs_quant.api.gs.data import GsDataApi`)
20
+ before guessing a field name**: it returns every field and its type. For what the fields mean, coverage, history and
21
+ who supports the dataset, point the user to its page, `https://marquee.gs.com/s/developer/datasets/<ID>`.
22
+
19
23
  You can also use the built-in vendor enums:
20
24
 
21
25
  ```python
@@ -25,7 +29,7 @@ ds = Dataset(Dataset.TR.TREOD)
25
29
 
26
30
  > **Equities and listed instruments:** For equities and most listed instruments
27
31
  > (equity indices, ETFs, futures, etc.) the correct dataset is almost always `TREOD`
28
- > (Thomson Reuters End-of-Day). Use `bbid` as the symbol dimension.
32
+ > (Thomson Reuters End-of-Day). Filter it by `bbid`.
29
33
  >
30
34
  > ```python
31
35
  > ds = Dataset('TREOD')
@@ -40,7 +44,7 @@ The primary method. Returns a `pandas.DataFrame` with one row per data point.
40
44
  df = ds.get_data(
41
45
  start=dt.date(2025, 1, 2),
42
46
  end=dt.date(2025, 3, 19),
43
- bbid=['EURUSD', 'USDJPY'], # filter by symbol dimension — passed as kwargs
47
+ bbid=['EURUSD', 'USDJPY'], # filters are passed as kwargs
44
48
  )
45
49
  ```
46
50
 
@@ -53,10 +57,10 @@ df = ds.get_data(
53
57
  | `as_of` | Return data as it existed at this point in time |
54
58
  | `since` | Return data updated since this datetime |
55
59
  | `fields` | List of field names to return; omit for all fields |
56
- | `**kwargs` | Symbol dimension filters, e.g. `bbid=['EURUSD']`, `ticker='SPX'`, `assetId='...'` |
60
+ | `**kwargs` | Filters, e.g. `bbid=['EURUSD']`, `ric='.SPX'`, `assetId='...'` |
57
61
 
58
- Filter kwargs match the dataset's symbol dimensions exactly — check the Marquee catalog
59
- page for the correct dimension name. Multiple values are passed as a list.
62
+ Filter by the dataset's symbol dimension, which `GsDataApi.get_definition('<ID>').dimensions.symbol_dimensions`
63
+ returns. When it is `assetId`, you can filter by `bbid` or `ric` instead. Multiple values are passed as a list.
60
64
 
61
65
  ```python
62
66
  # Filter by a single value
@@ -107,6 +111,46 @@ coverage = ds.get_coverage(include_history=True)
107
111
  coverage = coverage.sort_values('historyStartDate')
108
112
  ```
109
113
 
114
+ ## Index Constituents
115
+
116
+ **`Index.get(identifier).get_constituents_for_date(date)` returns the constituents Marquee holds for
117
+ an index on a date**: one row each, with columns `identifier`, `name`, `asset_id` and `quantity`.
118
+ For SPX the identifiers are Bloomberg tickers such as `OKE UN`. If Marquee holds none for that
119
+ date, the table is empty. `get_latest_constituents()` returns the latest.
120
+
121
+ ```python
122
+ from gs_quant.markets.index import Index
123
+
124
+ constituents = Index.get('SPX').get_constituents_for_date(dt.date(2020, 1, 2))
125
+ ```
126
+
127
+ `SecurityMaster.get_asset(...).entity['underliers']` lists the current constituents as Marquee IDs
128
+ only; for a past date use `Index`.
129
+
130
+ ## Realised Volatility
131
+
132
+ **`gs_quant.timeseries.volatility(series, w)` turns a price series into rolling realised
133
+ volatility**, annualised and in percent (20% comes back as `20.0`), unlike risk measures, which
134
+ return vols as decimals. `w` is the window: a number of observations such as `22`, or a tenor such
135
+ as `'1m'`.
136
+
137
+ ```python
138
+ from gs_quant.timeseries import volatility
139
+
140
+ close = Dataset('TREOD').get_data_series('closePrice', dt.date(2026, 6, 1), dt.date(2026, 9, 30), bbid='SPX')
141
+ vol = volatility(close, 22)
142
+ ```
143
+
144
+ ## Intraday Data
145
+
146
+ **Intraday data comes from datasets indexed by time, queried with `dt.datetime` bounds.** For
147
+ example, for SPX, `TR` has bid, ask and trade prices, and `EDRVOL_PERCENT_INTRADAY` has implied vols
148
+ by tenor and strike. Both take `bbid`; times without a time zone are read as UTC.
149
+
150
+ ```python
151
+ ticks = Dataset('TR').get_data(dt.datetime(2026, 10, 26, 14, 0), dt.datetime(2026, 10, 26, 15, 0), bbid=['SPX'])
152
+ ```
153
+
110
154
  ## Iterating Over Large Queries
111
155
 
112
156
  For datasets with many assets or long date ranges, break queries into smaller chunks:
@@ -149,9 +193,10 @@ ds.upload_data(data) # accepts list of dicts or a DataFrame
149
193
 
150
194
  ## Common Pitfalls
151
195
 
152
- - **Wrong dimension name** — each dataset has its own symbol dimension (`bbid`, `assetId`,
153
- `ticker`, `ric`, etc.). Check the Marquee catalog page. Passing the wrong kwarg silently
154
- returns an empty DataFrame.
196
+ - **Unknown filter name** — raises `MqRequestError` with status 400. A value that matches nothing
197
+ usually returns an empty DataFrame, but some datasets raise the same 400 for it, so check both the
198
+ filter name and the value.
199
+ - **`ticker` can match several assets** — `ticker='SPX'` does. Filter by `bbid`, `ric` or `assetId`.
155
200
  - **Query size limits** — very wide queries (many assets x long date range) will time out
156
201
  or be rejected. Iterate in batches as shown above.
157
202
  - **Entitlements** — if `get_data` returns an empty DataFrame unexpectedly, your session
@@ -20,7 +20,8 @@ a wider Marquee issue), so retry later; if it persists, see "If nothing here fix
20
20
  ### `ReadTimeout: … Read timed out. (read timeout=65)`
21
21
  gs_quant's generic request timeout: the service it called (a dataset query, for example) didn't
22
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`).
23
+ "Iterating Over Large Queries" in `datasets.md`). If even a small query keeps timing out, see "If
24
+ nothing here fixes it".
24
25
 
25
26
  ### `ErrorValue object has no attribute …` / `… not 'ErrorValue'` / `unsupported operand type(s) for …: 'ErrorValue' …`
26
27
  A calculation failed. gs_quant doesn't raise when a calculation fails: `.result()` returns an
@@ -37,5 +38,11 @@ measures as possible, no helper functions, classes or notebooks, every value wri
37
38
  an explicit pricing date and `market_data_location`. Confirm the snippet still reproduces it.
38
39
 
39
40
  **Then tell the user to email `gs-quant-support@ny.email.gs.com`** with that snippet, its full
40
- output (the error, or the number they got and the one they expected, plus any tracing link it
41
- shows) and the gs_quant version (`gs_quant.__version__`).
41
+ output (the error, or the number they got and the one they expected) and the gs_quant version
42
+ (`gs_quant.__version__`). A failed calculation's error ends with a `Trace url` (or, where there's no
43
+ link, a `Trace id`) and a `request Id`: keep them in, they let support find the calculation. If the
44
+ problem is slowness, add the snippet's `Tracer.print()` output (see "Tracing" in `pricing.md`).
45
+
46
+ **If the problem is a dataset query that fails or times out even when small** (one asset, a few
47
+ days), tell the user to email `GS-Marquee-Helpdesk@ny.email.gs.com` instead, with the same snippet
48
+ and output.
@@ -235,6 +235,8 @@ When constructing FX options (FXOption, FXBinary, FXMultiCrossBinary, etc.), if
235
235
 
236
236
  **Solution:** Either set `premium=0` explicitly when you want `DollarPrice` to return the actual option present value, or use the risk measure `FairPremium`, `FairPremiumInPercent` which will ignore any premium specified on the instrument.
237
237
 
238
+ **`EqBarrier` and `EqBinary` do the same; set `premium=0` on them too.** `EqOption`, `IRSwaption`, `IRCap` and `IRFloor` price their value without it.
239
+
238
240
  ```python
239
241
  from gs_quant import risk
240
242
  from gs_quant.instrument import FXOption, FXBinary
@@ -33,6 +33,8 @@ delta = delta_f.result()
33
33
  | `is_batch` | Use batch mode for long-running calculations |
34
34
  | `is_async` | Return immediately without blocking |
35
35
  | `show_progress` | Display a tqdm progress bar |
36
+ | `use_cache` | Reuse results already calculated in this Python session (default: `False`) |
37
+ | `use_server_cache` | Let the GS servers reuse results of identical requests from the last 12 hours (default: `False`) |
36
38
 
37
39
  Inside an entered `PricingContext`, calculations return `PricingFuture` objects. Call `.result()` after exiting the context.
38
40
 
@@ -113,6 +115,42 @@ over a websocket and each request gets up to 10 minutes. If the websocket drops,
113
115
 
114
116
  ---
115
117
 
118
+ ## Caching results: repeated calculations
119
+
120
+ **`use_cache=True` reuses results within the Python session.** A calculation is answered from memory
121
+ when the same instrument, including an identical one built separately, has already been calculated
122
+ with the same measure, pricing date, market and scenario under a context with `use_cache=True`. It
123
+ also works under `HistoricalPricingContext`, date by date. NaN results are cached; failed calculations
124
+ and `LiveMarket` results aren't. Results stay in memory with no size limit, so a very large run can
125
+ exhaust the Python process's memory. To force a recalculation, call `PricingCache.drop(instrument)`
126
+ (`from gs_quant.markets.core import PricingCache`).
127
+
128
+ **`use_server_cache=True` lets the GS servers reuse results instead**: they can answer an identical
129
+ request (same instrument, measure, date and market) from a result calculated in the last 12 hours.
130
+ NaN results are reused; failed calculations and `LiveMarket` results aren't, and this cache can't be
131
+ cleared.
132
+
133
+ ---
134
+
135
+ ## Tracing: slow code, failed steps
136
+
137
+ **To see where the time goes, run the code inside `with Tracer('label'):` and call `Tracer.print()`
138
+ afterwards.** It prints each step, including every request gs_quant sent, with how long it took, and
139
+ marks failed steps `[Error]`. In Jupyter, `%%trace` on the first line of a cell does the same for that
140
+ cell, and `%%trace chart` draws a timeline instead (needs `plotly`).
141
+
142
+ ```python
143
+ from gs_quant.markets import PricingContext
144
+ from gs_quant.tracing import Tracer
145
+
146
+ with Tracer('pricing'):
147
+ with PricingContext(pricing_date=dt.date(2026, 10, 23), market_data_location='NYC'):
148
+ price_f = swap.price()
149
+ Tracer.print()
150
+ ```
151
+
152
+ ---
153
+
116
154
  ## Historical Pricing with `HistoricalPricingContext`
117
155
 
118
156
  Compute risk measures across a range of dates using the close-of-business market for each date.
@@ -21,7 +21,7 @@ from plotly.graph_objs import Figure
21
21
 
22
22
  from gs_quant.errors import MqError
23
23
  from gs_quant.tracing import Tracer
24
- from gs_quant.tracing.tracing import NOOP_TRACING_SCOPE
24
+ from gs_quant.tracing.tracing import NAME_COLUMN_WIDTH, NOOP_TRACING_SCOPE
25
25
 
26
26
 
27
27
  def make_zero_duration(spans):
@@ -79,13 +79,14 @@ def test_tracer_print():
79
79
  make_zero_duration(Tracer.get_spans())
80
80
  tracer_str, _ = Tracer.print(reset=True)
81
81
  expected = '\n'.join(
82
- [
83
- 'A 0.0 ms',
84
- '* B 0.0 ms',
85
- '* C 0.0 ms',
86
- '* * D 0.0 ms',
87
- '* * E 0.0 ms [Error]',
88
- 'F 0.0 ms',
82
+ f'{name:<{NAME_COLUMN_WIDTH}} 0.0 ms{suffix}'
83
+ for name, suffix in [
84
+ ('A', ''),
85
+ ('* B', ''),
86
+ ('* C', ''),
87
+ ('* * D', ''),
88
+ ('* * E', ' [Error]'),
89
+ ('F', ''),
89
90
  ]
90
91
  )
91
92
  assert tracer_str == expected
@@ -195,13 +196,14 @@ def test_span_activation():
195
196
  make_zero_duration(Tracer.get_spans())
196
197
  tracer_str, _ = Tracer.print(reset=True)
197
198
  expected = '\n'.join(
198
- [
199
- 'parent 0.0 ms',
200
- '* child-2 0.0 ms',
201
- '* child-3 0.0 ms',
202
- '* child-1 0.0 ms',
203
- '* * nested-child 0.0 ms',
204
- '* * another-nested-child 0.0 ms',
199
+ f'{name:<{NAME_COLUMN_WIDTH}} 0.0 ms'
200
+ for name in [
201
+ 'parent',
202
+ '* child-2',
203
+ '* child-3',
204
+ '* child-1',
205
+ '* * nested-child',
206
+ '* * another-nested-child',
205
207
  ]
206
208
  )
207
209
  assert tracer_str == expected
@@ -638,10 +638,11 @@ class Tracer(ContextDecorator):
638
638
 
639
639
  def _build_tree(parent_span, depth):
640
640
  if as_string:
641
- name = f'{"* " * depth}{parent_span.operation_name}'
641
+ prefix = "* " * depth
642
+ name = prefix + _truncate_middle(parent_span.operation_name, NAME_COLUMN_WIDTH - len(prefix))
642
643
  elapsed = (parent_span.end_time - parent_span.start_time) / 1000000
643
644
  error = " [Error]" if parent_span.is_error() else ""
644
- lines.append(f'{name:<50}{elapsed:>8.1f} ms{error}')
645
+ lines.append(f'{name:<{NAME_COLUMN_WIDTH}}{elapsed:>8.1f} ms{error}')
645
646
  else:
646
647
  lines.append((depth, parent_span))
647
648
  for child_span in reversed(spans_by_parent.get(parent_span.span_id, [])):
@@ -693,6 +694,29 @@ class Tracer(ContextDecorator):
693
694
  return wrapper
694
695
 
695
696
 
697
+ # Width (in characters) of the operation-name column when printing a trace as text.
698
+ # Names longer than this (including their depth prefix) are truncated so the timing
699
+ # column stays aligned regardless of how long/deeply-nested the span names are.
700
+ NAME_COLUMN_WIDTH = 75
701
+
702
+
703
+ def _truncate_middle(name: str, max_len: int) -> str:
704
+ """Truncate ``name`` to at most ``max_len`` chars, cutting out the middle with an ellipsis.
705
+
706
+ The head and (longer) tail are kept, since for dotted names like
707
+ ``a.b.c.MyClass.my_method`` the meaningful part is usually at the end.
708
+ """
709
+ max_len = max(max_len, 1)
710
+ if len(name) <= max_len:
711
+ return name
712
+ if max_len <= 3:
713
+ return name[:max_len]
714
+ keep = max_len - 3 # account for the '...'
715
+ head = keep // 3
716
+ tail = keep - head
717
+ return f'{name[:head]}...{name[-tail:]}'
718
+
719
+
696
720
  def parse_tracing_line_args(line: str) -> tuple[Optional[str], bool]:
697
721
  stripped = tuple(s for s in line.split(' ') if s != '')
698
722
  if len(stripped) > 0 and stripped[0] in ('chart', 'plot', 'graph'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gs_quant
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: Goldman Sachs Quant
5
5
  Author-email: Goldman Sachs <developer@gs.com>
6
6
  License: Apache-2.0
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