backtesting-sim

Community

Vectorized backtesting and strategy simulation.

Authormahmoud20138
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a fast, reproducible framework for evaluating trading ideas by performing vectorized backtesting, generating comprehensive performance metrics, and enabling robust validation.

Core Features & Use Cases

  • Vectorized backtesting: fast, scalable evaluation of signals against OHLCV data with costs and slippage.
  • Performance metrics: automatic computation of Sharpe, Sortino, Calmar, max drawdown, win rate, and more.
  • Walk-forward validation: anchored out-of-sample testing to assess robustness across regimes.
  • Strategy comparison: compare multiple strategies on a common dataset to identify the best performers.
  • Use cases include evaluating new indicators, testing rule changes, and stress-testing strategies over historical data.

Quick Start

Prepare your OHLCV data with a signal column and run the backtester to obtain full results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backtesting-sim
Download link: https://github.com/mahmoud20138/Tradecraft/archive/main.zip#backtesting-sim

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.