What problem does it solve?
Getting started with the gs_quant quantitative finance library requires knowing how to authenticate sessions, resolve instruments against Goldman Sachs pricing services, and structure portfolios correctly—mistakes in any of these steps cause failed pricing calls or silently wrong results.
Core Features & Use Cases
- Session Authentication: Initialize GsSession with OAuth2 client credentials, Kerberos/SSO, or context managers across PROD, QA, and DEV environments.
- Instrument Resolution & Portfolios: Resolve instruments like IRSwap and IRSwaption to fill in market parameters, then group them into nested Portfolio objects for pricing and risk calculation.
- Topical Reference Guides: Detailed companion docs cover instrument construction (including FX premium pitfalls), PricingContext and historical pricing, Dataset queries, backtesting with triggers and actions, and writing custom measures.
- Use Case: A quant analyst needs to price a book of USD and EUR interest rate swaps—use this Skill to authenticate a session, build a nested Portfolio, resolve all instruments, and compute DollarPrice and IRDelta in one workflow.
Quick Start
Use the gs-quant-overview skill to set up a GsSession and price a 10y USD interest rate swap with gs_quant.