gs-quant-backtesting

Backtest quantitative trading strategies with GS Quant engines and triggers.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The GS Quant backtesting framework lets users rigorously test quantitative trading strategies against historical data using configurable engines, triggers, and actions.

Core Features & Use Cases

  • Engines: GenericEngine, EquityVolEngine, PredefinedAssetEngine for flexible backtesting across asset classes.
  • Strategy composition: define initial portfolios, triggers, and actions; simulate execution and risk/pnl extraction.
  • Results: access backtest summaries, risk time series, and trade ledgers for performance analysis across dates.

Quick Start

Define a Strategy with triggers and actions, select a backtest engine, and run the backtest to view PnL and risk statistics.

Frequently Asked Questions about gs-quant-backtesting

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

FAQPage Schema
How do I backtest a quantitative trading strategy using GS Quant?

To backtest a quantitative trading strategy with GS Quant, define a Strategy with initial portfolios, triggers, and actions, select a backtest engine like GenericEngine, and run the simulation to view PnL and risk statistics.

What backtesting engines are available for different asset classes?

Available backtesting engines include GenericEngine, EquityVolEngine, and PredefinedAssetEngine, providing flexible backtesting capabilities across multiple asset classes within the GS Quant framework.

Can I extract risk and PnL time series from a backtest run?

Yes, you can extract risk and PnL time series from a backtest run. The framework provides access to backtest summaries, risk time series, and trade ledgers for comprehensive performance analysis across dates.

How do triggers and actions work when simulating strategy execution?

Triggers and actions work in strategy simulation by scheduling specific events that execute predefined actions, allowing the framework to simulate execution and handle risk, cash, and transaction costs across historical dates.

What is the best way to analyze transaction costs in a backtest?

The best way to analyze transaction costs in a backtest is to run the strategy simulation and extract results from the trade ledger, which handles comprehensive risk, cash, and transaction cost data across dates.