> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sorcerer.trading/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Backtest

> Test and validate your strategies using our backtesting tool.

<Card title="Backtest Tool" icon="calculator" href="https://backtest.sorcerer.trading/" cta="https://backtest.sorcerer.trading/">
  Start testing your strategies:
</Card>

<Steps>
  <Step title="Connect Your Wallet">
    Click on Connect Wallet;

    <Tip>
      If you’re a presale buyer, you’ll receive credits automatically when you log in.
    </Tip>
  </Step>

  <Step title="Setting Parameters">
    Enter custom parameters for your strategy;

    <AccordionGroup>
      <Accordion title="Trailing Settings">
        <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/trail.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=d3b51537b2e50f2197b0bac400cd0567" alt="Trail Pn" width="740" height="531" data-path="images/trail.png" />

        You can turn Trailing Ladder on or off. You can use up to 5 pullback levels and close percentages.\
        \
        The last level must be 100%, and all previous levels must be below 100%.\
        \
        Trailing Activation % defines how much the price must increase before trailing starts.

        <Info>
          Example: with a 291% activation, trailing only begins once the token is up 291%.
        </Info>
      </Accordion>

      <Accordion title="Take Profit Settings">
        <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/takeprofit.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=c06b3dff709075fcc81f489b3a025f53" alt="Takeprofit Pn" width="740" height="446" data-path="images/takeprofit.png" />

        You can turn Take Profit Ladder on or off. You can set up to 5 take-profit levels and close percentages.\
        The last level must be 100%, and all earlier levels must be below 100%.

        <Note>
          You can use only Take Profit, only Trailing, or a mix of both.
        </Note>
      </Accordion>

      <Accordion title="Core Trade Parameters">
        <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/core.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=2e81aa4404c4cc77f4df9f3a8aff1eef" alt="Core Pn" width="740" height="314" data-path="images/core.png" />

        Set the position size (in SOL) for each trade, the starting capital (both are required to calculate drawdown), the minimum and maximum market cap in K (e.g., 100 = 100,000),\
        and the Stop Loss as an integer (e.g., 26).
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Run ">
    You can run for a single token, or all called tokens.

    <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/controls.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=441253f9bd56cd068e4ab7b9ed77d33f" alt="Controls Pn" title="Controls Pn" style={{ width:"52%" }} width="332" height="489" data-path="images/controls.png" />

    <Info>
      For single-token runs, choose a token from the picklist or search for one in the list.
    </Info>

    <AccordionGroup>
      <Accordion title="Single Token Results">
        <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/single.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=f66f1c535b62461e5a8488a26dff7624" alt="Single Pn" width="530" height="933" data-path="images/single.png" />

        When running a single token (useful for building strategies that perform well on top winners), you’ll receive the parameters plus 3 graphs.
      </Accordion>

      <Accordion title="All Tokens Results">
        <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/alltokens.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=c3d4a6d4a203d130d771e192650fcf18" alt="Alltokens Pn" width="530" height="933" data-path="images/alltokens.png" />

        When running all tokens, you’ll receive the full multi-token report.
      </Accordion>
    </AccordionGroup>

    Each test shows its name, the date it was run, the results, and all parameters used.

    <img src="https://mintcdn.com/sorcerer/A7PKoG1d0HZAJfuD/images/results.png?fit=max&auto=format&n=A7PKoG1d0HZAJfuD&q=85&s=b41eeab5fbed363e038c8e1317e2d681" alt="Results Pn" width="663" height="489" data-path="images/results.png" />
  </Step>
</Steps>
