gs-quant

Parse SKILL.md frontmatter and Markdown body into a GS Quant Skill Unit.

11.9k|1.6k|Updated Dec 14, 2018
One-click install
npx skills add https://github.com/goldmansachs/gs-quant --skill gs-quant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gs-quant
Source: https://github.com/goldmansachs/gs-quant/tree/main
Command: npx skills add https://github.com/goldmansachs/gs-quant --skill gs-quant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gs_quant is a Python toolkit that unifies core workflows for quantitative analysis, enabling streamlined session management, instrument construction, portfolio building, historical and live pricing, and result extraction.

Core Features & Use Cases

  • Establish authenticated sessions with GsSession.use() to price instruments and portfolios.
  • Build and resolve instruments, query data, price across historical or live market data, and extract risk measures.
  • Use with Portfolio to price or summarize risk across multiple instruments and portfolios.

Quick Start

Create a session with your credentials and price a simple IRSwap to see values and risk.

Frequently Asked Questions about gs-quant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I price financial instruments and portfolios using Python?

To price financial instruments and portfolios in Python, you establish an authenticated session, build and resolve your instruments or portfolios, and extract values and risk measures across historical or live market data.

Can I extract risk measures across multiple instruments simultaneously?

Yes, you can extract risk measures across multiple instruments simultaneously by assembling them into a Portfolio object, which allows you to price and summarize aggregate risk efficiently.

What is needed to start running quantitative pricing workflows?

To start running quantitative pricing workflows, you need to authenticate your session using specific credentials before you can build instruments, query market data, and extract risk results.

Does gs-quant support both historical and live market data for risk analysis?

Yes, gs-quant supports both historical and live market data for risk analysis, allowing you to price instruments and portfolios across different market data environments.

What is the best way to manage sessions for quantitative analysis tasks?

The best way to manage sessions for quantitative analysis tasks is to use a dedicated session management function that establishes authentication, enabling subsequent instrument construction, pricing, and risk extraction workflows.

Why do I need to resolve instruments before extracting pricing results?

You need to resolve instruments before extracting pricing results because resolution binds the instrument definition to market data, which is required to accurately calculate values and risk measures.