---
title: "Backtesting"
canonical: https://www.quantconnect.com/docs/v2/local-platform/backtesting
markdown: https://www.quantconnect.com/docs/v2/local-platform/backtesting.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/02%20Local%20Platform/10%20Backtesting
modified: 2026-11-24
index: https://www.quantconnect.com/llms.txt
---

# Backtesting

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Local Platform](https://www.quantconnect.com/docs/v2/local-platform.md) > Backtesting

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Pages in This Section

- [Getting Started](https://www.quantconnect.com/docs/v2/local-platform/backtesting/getting-started.md): An algorithm that has a proven track record can provide you with more confidence for live trading.
- [Deployment](https://www.quantconnect.com/docs/v2/local-platform/backtesting/deployment.md): Deploy backtests to simulate your algorithm on local machine. It's easy to transition to live trading once you're satisfied with the backtest.
- [Results](https://www.quantconnect.com/docs/v2/local-platform/backtesting/results.md): Review the backtest results page to see how your algorithm has performed and to investigate how you might improve your algorithm before live trading.
- [Debugging](https://www.quantconnect.com/docs/v2/local-platform/backtesting/debugging.md): The debugger enables you to step through the program line-by-line, inspect the variables to understand the algorithm state, and debug any errors.
- [Troubleshooting](https://www.quantconnect.com/docs/v2/local-platform/backtesting/troubleshooting.md): Learn about the difference in local backtesting versus backtesting in QuantConnect Cloud.
