Integrate Goldman Sachs 25-year trading library into Claude Code
By integrating Goldman Sachs' open-source trading, pricing, and risk quantification library gs-quant into Claude Code or an AI Agent, you empower your AI with Wall Street-grade strategy building, risk measurement, and backtesting capabilities.
X (Twitter)@kaibrandtAi4likes
Claude Codegs-quantMCP server
Added 2026-11-07 · originally published 2026-11-05
Steps
- 1Open Claude Code and run: pip install gs-quant and install its Claude skills
- 2Have the AI rebuild Goldman Sachs' StrategyRiskTrigger in pandas using SPY daily data
- 3Enter the instruction: trigger a hedge when the 20-day volatility breaks above its 1-year mean
- 4Run a backtest: compare the performance against a buy-and-hold strategy since 2020 (including transaction fees)
- 5Run paper trading for 2 weeks first, and only proceed to live trading after confirming everything works correctly
Copy-ready prompt
Please help me use the gs-quant library in pandas to rebuild StrategyRiskTrigger based on daily data for [SPY], set it to hedge when the 20-day volatility breaks above the 1-year mean, backtest its performance including transaction fees since [2020], and output the results compared to a buy-and-hold strategy.
#AI Agent#Quantitative Trading#Claude Code#Financial Strategy
Related use cases
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.