{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"},{"label":"Financial","url":"https://skillfed.io/packages/category/office-business-financial"}],"enrichment":{"capability":"Backtrader is a Python backtesting and live trading engine that simulates trading strategies against historical data and supports live execution with multiple brokers and data sources.","skillfed_tags":["trading-backtesting","financial-analysis","algorithmic-trading"],"use_cases":["Backtest a moving-average crossover strategy against historical stock data before deploying it live.","Simulate intraday trading by breaking daily bars into smaller chunks and testing order fills at different price levels.","Compare multiple trading strategies across different timeframes and data feeds simultaneously to find the best performer.","Analyze trading performance with built-in metrics like Sharpe Ratio, total return, and drawdown to evaluate strategy robustness.","Live-trade a validated strategy through Interactive Brokers or Oanda with realistic commission and slippage modeling."],"what_it_does":"Backtrader is a self-contained backtesting and live trading platform for Python that lets you design and test trading strategies against historical market data before deploying them to live brokers. It supports multiple data sources (CSV, online feeds, pandas, blaze), multiple simultaneous data feeds and timeframes, and includes a built-in library of 122 technical indicators plus support for TA-Lib. The engine simulates realistic trading conditions with configurable commission schemes, slippage, volume filling strategies, and multiple order types (Market, Limit, Stop, StopTrail, OCO, bracket orders).\n\nYou can backtest strategies step-by-step or all at once, apply data filters (like Renko bricks or intraday simulation), resample and replay data, and analyze results with integrated analyzers for metrics like Sharpe Ratio and SQN. Live trading is supported with Interactive Brokers, Visual Chart, and Oanda. The platform includes plotting via matplotlib, automated position sizing, trading calendars, and schedulers. It runs on Python 3.2+ and also works with PyPy, though plotting is not available under PyPy.","worth_installing":"Yes, if you are building or testing trading strategies and can accept GPLv3+ licensing constraints. Backtrader is a mature, feature-rich backtesting engine with low install friction and no external dependencies (except for optional plotting). However, maintenance is dormant\u2014the last release was April 2023\u2014so expect no new features or timely bug fixes. It remains suitable for strategy development and testing, but evaluate whether its feature set meets your needs without ongoing updates."},"id":"backtrader","links":{"html":"https://skillfed.io/packages/backtrader","md":"https://skillfed.io/packages/backtrader.md","pypi":"https://pypi.org/project/backtrader/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-04-19","license_spdx":null,"license_treatment":"copyleft","name":"backtrader","python_support":"unspecified","summary":"BackTesting Engine"},"popularity":{"monthly_downloads":327865,"position":7564,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.78.123"}
