{"library":"backtrader","type":"library","category":null,"description":"backtrader is a powerful and flexible Python framework for backtesting trading strategies, analyzing financial data, and live trading. It provides a robust engine for simulating market conditions, managing portfolios, and executing trades based on defined rules. The current stable version is 1.9.78.123, with a major 2.x release under active development that introduces significant changes. Its release cadence is sporadic but active, with bug fixes and minor features released as needed.","language":"python","status":"active","version":"1.9.78.123","tags":["backtesting","trading","financial analysis","quantitative finance","market simulation"],"last_verified":"Mon May 25","install":[{"cmd":"pip install backtrader","imports":["import backtrader as bt","import backtrader as bt\ncerebro = bt.Cerebro()","import backtrader as bt\nclass MyStrategy(bt.Strategy):","import backtrader as bt\ndata = bt.feeds.CSVData(...)"]},{"cmd":"pip install backtrader[plotting,pandas]","imports":[]}],"homepage":"https://www.backtrader.com","github":"https://github.com/mementum/backtrader","docs":null,"changelog":null,"pypi":"https://pypi.org/project/backtrader/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":4.7,"avg_import_s":0.48,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/backtrader/compatibility"}}