mrkeyoor.com_
Tue 01 Sept 17:42 UTC
Dataevaluationupdated 28 Aug 2026

gs-quant review

GS Quant is a Python library for derivative analytics, market data, risk work, and quantitative trading research. Some statistical code can run locally, while access to Goldman Sachs APIs and Marquee data requires institutional client credentials.

+63 / 3dstars / 7d
Verdict

Our gs-quant install failed after 78 seconds because its configured Goldman Sachs package index could not be resolved, so the source checkout was not ready for a clean public-network environment. Use it if your firm already has Marquee credentials and wants Goldman Sachs analytics, data, and session APIs in Python. Everyone else should begin with QuantLib or a research-focused framework whose useful path does not depend on institutional access.

We ran it

Lab card: what happened when we ran gs-quant
Install✗ · 78s
Build
Repo1783 files~152,072 lines of source · 29.3 MB · 1 CI workflows

Answers from our run

Does gs-quant build from source?

The dependency install failed, and the project has no separate build step. We cloned commit fa9dd42 into a clean Debian container with 3 CPUs and no project-specific setup.

Who should not use gs-quant?

Independent developers expecting the whole toolkit to work after pip install: the README says API access needs a client ID and secret available to Goldman Sachs institutional clients.

What are the alternatives to gs-quant?

QuantLib, Qlib, Backtrader. Our gs-quant install failed after 78 seconds because its configured Goldman Sachs package index could not be resolved, so the source checkout was not ready for a clean public-network environment.

Setup1/578-second install failed on the configured Goldman Sachs index
Docs3/5Deep package docs exist, but README and Python metadata disagree
Community4/512,770 stars with issue and pull request activity in August
Maturity4/5Core finance package is active; MCP interface is experimental

Discussed on

  1. hnPython toolkit for quantitative finance285 points

Who it’s for

Quant developers at firms that already have Goldman Sachs Marquee access.
Python teams pricing derivatives, calculating risk, or building market-data studies.
Researchers who can separate local analytics from authenticated Goldman Sachs services.
MCP developers experimenting with an agent interface around an authorized GS Quant session.

Who it’s NOT for

Independent developers expecting the whole toolkit to work after pip install: the README says API access needs a client ID and secret available to Goldman Sachs institutional clients.
Teams requiring a clean source install from the checked-out configuration: our 78-second attempt followed its configured package index and ended on DNS failures.
Production MCP adopters who need a stable interface: the package's own MCP README labels the server, client, API, CLI, and configuration experimental.
Anonymous or pseudonymous contributors: the contribution guide requires a real-name DCO and says submitted personal information is kept indefinitely.
Python 3.9 deployments relying on the top-level README: it says 3.9 or newer, while the current package metadata requires Python 3.10 or newer.

Setup reality

Our sandbox install failed with exit 1 after 78 seconds. The final requests went to pypi.aws.site.gs.com for packages including setuptools and pip-audit, retried, and ended with DNS lookup errors. Because installation did not complete, the supplied run contains no build or test result.

The public README reduces installation to pip install gs-quant, but API use needs a Goldman Sachs client ID and secret issued to institutional clients. The optional MCP server also needs Marquee credentials for local authentication or caller tokens and cookies in passthrough mode.

The current package metadata requires Python 3.10 or newer, despite the README saying 3.9. Its uv configuration makes the Goldman Sachs package index the default, which was the endpoint our fresh Debian container could not resolve.

GS Quant mixes local finance code with institutional services

GS Quant covers derivative instruments, pricing, risk, market data, backtesting, time series, and statistical models in one Python package. The source tree separates those concerns into modules such as instruments, markets, risk, data, models, and backtests. That makes it useful as a common vocabulary inside a quant team: an instrument can move through pricing and risk workflows without every desk inventing its own object model.

The access boundary shapes the buying decision more than the feature list. Goldman Sachs says its APIs require a client ID and secret issued to institutional clients. Some numerical and statistical pieces can be useful locally, but Marquee sessions, Goldman Sachs datasets, and authenticated services depend on that relationship. A public Apache-2.0 repository does not make its connected data services public. Before adopting it, list the specific classes your code needs and confirm which ones cross that boundary.

The one-line install hid a private default index in our checkout

The top-level README says to run pip install gs-quant and requires Python 3.9 or newer. Current package metadata instead says Python 3.10 or newer. It declares familiar scientific dependencies including NumPy, pandas, SciPy, statsmodels, and lmfit, plus HTTP, tracing, serialization, and utility packages. Notebook, test, development, internal, and MCP features live in optional dependency groups.

The repository's uv settings deserve attention when working from source. They name https://pypi.aws.site.gs.com/repository/pypi-group/simple as the default index for both uv and pip output. That host is also where our install tried to obtain public tools such as setuptools and pip-audit. A developer following only the short public README would not learn about that source-checkout behavior before the resolver used it.

What happened when we ran it

Our sandbox cloned commit fa9dd42 and attempted installation in a fresh unprivileged Debian container with 3 CPUs, 8 GB of RAM, Python 3.12, and no secrets. The checkout contained 1,783 files, about 152,072 lines of source, and occupied 29.3 MB. Installation exited with code 1 after 78 seconds, so the environment never reached a state where later build or test results could be reported.

The last log lines showed requests to the Goldman Sachs package index for setuptools and pip-audit. After 3 retries, the client reported a DNS error and said the address could not be found. The log proves that the configured endpoint did not resolve in our sandbox. It does not prove whether that host is intended for a corporate network, was temporarily unavailable, or was placed in the configuration by mistake, so we are not assigning one of those causes.

Our scan found 1 CI workflow file, no Dockerfile, and no top-level tests directory. The package does contain its own gs_quant/test tree, but our measurement did not install the environment or run that suite. The practical finding is still sharp: a source contributor on a plain public network may need to inspect and override the configured index before dependency resolution can even finish.

Marquee credentials decide how much of the package is useful

The README is direct about API eligibility. A client ID and secret come through Goldman Sachs sales coverage or Marquee Sales, and the package then creates authenticated sessions for service calls. This is a reasonable fit for an existing institutional client because it turns a proprietary service relationship into normal Python objects and data methods. It is a frustrating evaluation target for an unaffiliated developer because many interesting examples cannot be judged with repository access alone.

That split calls for small proof-of-concept code before a wider commitment. Import and run the local calculations you care about, then exercise each required dataset and risk endpoint with the credentials your deployment will use. The 29.3 MB checkout is modest, but dependency installation, entitlements, data availability, and service behavior are separate questions. A passing import would answer only the first one.

The MCP server is experimental and shares real credentials

GS Quant now includes an optional Model Context Protocol server and client built on FastMCP. The server discovers tools, filters them by tags or keys, and exposes them over streamable HTTP. A local mode creates one GS session at startup and reuses it for every request. Passthrough mode builds a session per caller from cookies, a JWT, or an OAuth token.

The project's MCP README labels the API, CLI, and configuration experimental. That warning fits the security model: local mode gives all callers the server's one authenticated identity, while passthrough mode forwards user authorization material. The default endpoint uses port 4301, and a YAML file can specify paths and TLS certificates. Treat it as code to test behind an access-controlled boundary, not as a server to expose after adding the optional package extra.

Recent releases show activity, not universal access

Release 2.1.6 and the repository's last push both landed on August 26, 2026. GitHub listed 12,770 stars and 68 open issues and pull requests when fetched. Updated work in August included fixes around missing dates, event-trigger query windows, backtest cost aggregation, and notebook paths. Those are concrete signs of continuing maintenance; the combined open count should not be read as 68 confirmed defects.

GS Quant is easiest to recommend inside the environment it was built for. An authorized Marquee client gets a substantial Python surface over instruments, risk, data, and analytics, plus an experimental agent interface. Our 78-second failed install makes the public source experience harder to endorse without qualification. If access to Goldman Sachs services is uncertain, start with QuantLib for derivative work or Qlib for investment research, then revisit GS Quant only when its authenticated services solve a specific requirement.

Alternatives

ProjectWhat it isPick it when
QuantLibA broad open-source library for pricing, risk, and quantitative finance models.pick this instead when you need local derivatives analytics without access to Goldman Sachs APIs.
Qlib gh↗A research platform for machine-learning-driven quantitative investment workflows.pick this instead when model research and portfolio experiments matter more than derivative structuring.
BacktraderA Python framework for strategy backtesting and trading experiments.pick this instead when historical strategy simulation is the job and Marquee data is unnecessary.

What people are saying

  1. [github-trending] goldmansachs/gs-quant

Sources

  1. GS Quant README
  2. GS Quant package metadata
  3. GS Quant MCP documentation
  4. GS Quant 2.1.6 release

More data reviews

turso · TrackersListCollection · dash · getcontact-cli · awesome-zhuiju-free · iggy · the whole board →