optimize

Exhaustively test VectorBT strategy parameter combinations and score results.

186|44|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill optimize-marketcalls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/marketcalls/vectorbt-backtesting-skills/tree/main/.claude/skills/optimize
Command: npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill optimize-marketcalls

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the parameter optimization process for VectorBT strategies by systematically testing parameter grids and generating actionable performance insights.

Core Features & Use Cases

  • Exhaustive parameter grid search: evaluates multiple combinations to identify high-performing configurations.
  • Benchmarking & visualizations: produces heatmaps and performance benchmarks against market benchmarks.
  • Use Case: optimize EMA crossover strategies on Indian and US markets to balance return and risk.

Quick Start

Run the optimize skill with a chosen strategy, symbol, exchange, and interval to generate results and visualizations.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I optimize VectorBT strategy parameters across multiple combinations?

To optimize VectorBT strategy parameters, this skill exhaustively tests parameter grid combinations and scores results using metrics like total_return, sharpe_ratio, and max_drawdown to identify high-performing configurations.

How do I backtest EMA crossover strategies on Indian and US market data?

You can backtest EMA crossover strategies on Indian and US market data by loading data via dotenv, DuckDB, or OpenAlgo, applying TA-Lib indicators, and modeling delivery fees to generate benchmark comparisons.

Can I generate heatmaps for backtesting parameter tuning results?

Yes, you can generate heatmaps for backtesting parameter tuning results. The skill outputs Plotly visualizations and CSV files containing performance metrics to visually map optimal parameter combinations.

Does VectorBT parameter optimization work with OpenAlgo data?

VectorBT parameter optimization works with OpenAlgo data. The skill optionally uses OpenAlgo to load market data, compute trades, and evaluate strategy performance against market benchmarks.

What performance metrics are calculated during VectorBT backtesting?

During VectorBT backtesting, the skill calculates total_return, sharpe_ratio, max_drawdown, and total trades. These metrics are output to CSV files alongside Plotly visualizations for comprehensive performance evaluation.

What is the best way to find optimal TA-Lib indicator parameters for trading strategies?

The best way to find optimal TA-Lib indicator parameters is through exhaustive parameter grid search. This skill systematically tests combinations to produce heatmaps and benchmark comparisons for balanced risk and return.