# AstraAlgo Backtester

### Overview

The AstraAlgo Backtester allows traders to evaluate how AstraAlgo signals would have performed on historical data.&#x20;

By simulating trades across different timeframes and markets, it provides valuable insights into win rates, drawdowns, and overall strategy effectiveness.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-backward-fast">:backward-fast:</i></h4></td><td><strong>Trade Simulation</strong></td><td>Recreate historical entries, take-profits, and stop-losses to see how signals would have played out.</td><td><a href="https://3113917155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxV91cNNQkONgozNmjlhi%2Fuploads%2FKapPrVJPB0PwsSxnrale%2F34.PNG?alt=media&#x26;token=4973f6b7-f7de-4471-a10d-6944db757949">34.PNG</a></td><td></td><td><a href="backtester/trade-simulation">trade-simulation</a></td></tr><tr><td><h4><i class="fa-scale-balanced">:scale-balanced:</i></h4></td><td><strong>Risk &#x26; Reward</strong></td><td>Adjust stop-loss lookback and risk/reward ratios to test different trade setups.</td><td><a href="https://3113917155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxV91cNNQkONgozNmjlhi%2Fuploads%2FtR7BdaNSHt2aIq2udbtz%2F35.PNG?alt=media&#x26;token=45f9c040-498a-416a-be08-56f35d6f155e">35.PNG</a></td><td></td><td><a href="backtester/risk-and-reward">risk-and-reward</a></td></tr><tr><td><h4><i class="fa-sliders">:sliders:</i></h4></td><td><strong>Custom Parameters</strong></td><td>Set your own take-profit and stop-loss percentages for tailored backtesting.</td><td><a href="https://3113917155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxV91cNNQkONgozNmjlhi%2Fuploads%2F293UVs2jom6wqcmIumzx%2F36.PNG?alt=media&#x26;token=8cfea29b-14c2-4e7e-96dc-ae594faa79a1">36.PNG</a></td><td></td><td><a href="backtester/custom-parameters">custom-parameters</a></td></tr><tr><td><i class="fa-screwdriver-wrench">:screwdriver-wrench:</i></td><td><strong>Troubleshooting</strong></td><td>Fix common configuration problems and learn where to get help.</td><td></td><td></td><td><a href="backtester/troubleshooting">troubleshooting</a></td></tr></tbody></table>

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.astraalgo.com/toolkits/backtester.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
