{"repo":"goldspanlabs/optopsy-mcp","free":true,"listed":false,"github":"https://github.com/goldspanlabs/optopsy-mcp","clone":"git clone https://github.com/goldspanlabs/optopsy-mcp.git","description":"Rust-based rewrite of Optopsy: An options backtesting engine exposed via Model Context Protocol (MCP)","language":"Rust","stars":19,"topics":["options","ai-agents","ai-assistant","ai-backtesting","ai-tools","ai-trading","ai-trading-bots","algorithmic-trading","backtesting","backtesting-trading-strategies"],"license":null,"category":"trading","readme_excerpt":"optopsy-mcp A high-performance options and stock backtesting engine exposed as a self-hosted MCP server. Backtest strategies, optimize parameters, and analyze price patterns through natural language. [!NOTE] This project is under active development. Breaking changes to the API and configuration may occur between minor versions. Pin to a specific release tag for stability. What You Can Do Write Custom Strategies Describe a strategy in plain English and Claude generates a Rhai script that runs against historical data. Define entry logic, exit rules, position sizing, and stateful multi-phase strategies in a single script — or use the built-in wheel strategy script with parameter injection. Backtest Options and Stocks Run event-driven simulations across 32 built-in options strategies — singles, spreads, iron condors, butterflies, calendars, diagonals, and stock-leg combos. Signal-driven stock backtesting on OHLCV data. Full position management with stop-loss, take-profit, max-hold exits, and 5 dynamic sizing methods. Optimize and Validate Grid-search across delta, DTE, slippage, and signal combinations with out-of-sample validation. Walk-forward analysis with rolling train/test windows. Permutation testing for statistical significance. Analyze Markets Discover seasonality, regime shifts, and price patterns. Gate entries using HMM regime detection. Cross-symbol correlation, rolling metrics, and distribution analysis. MCP Tools Tool Description ------ ------------- Backtesting back","default_branch":null,"files":null,"tree":[],"storefront":"/r/goldspanlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/goldspanlabs/optopsy-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}