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

# Strategies

> Rules measured against settled history, and the markets that fit them now.

A **strategy** is a rule that can be tested against settled markets: buy one side of markets on a venue, in a category, priced in a 10-cent band, some days before they close. Its result is what those markets actually did.

```bash theme={null}
curl "https://api.routeur.app/v1/insights/strategies?venue=all&limit=5" \
  -H "X-API-Key: $ROUTEUR_API_KEY"
```

| Field                                        | Meaning                                                                                        |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `side`, `from_usd`, `to_usd`, `horizon_days` | Buy this side when Yes is priced in this band, this many days before close.                    |
| `markets`, `avg_price_usd`, `win_rate`       | How many settled markets the rule covers, what the side cost on average, and how often it won. |
| `return_per_100_usd`                         | What \$100 spread across every one of them came back as, net of the stake, before fees.        |
| `return_low_usd`, `return_high_usd`          | The same at the ends of a 95% range on the win rate.                                           |
| `horizons`                                   | On how many of the 1, 7 and 30-day horizons the same band and side had an edge.                |
| `open_matches`                               | Listed markets that fit the rule now.                                                          |

A rule is listed only with at least 100 settled markets, a return of 3% or more before fees, and an edge on at least one horizon. Rules are ranked by `return_low_usd`, so a large sample with a steady edge outranks a lucky small one.

## Markets that fit now

```bash theme={null}
curl "https://api.routeur.app/v1/insights/strategies/$STRATEGY_ID" \
  -H "X-API-Key: $ROUTEUR_API_KEY"
```

Matches are listed markets on the rule's venue and category, with a Yes ask inside its band, closing near its horizon, and not yet under way. Each carries the ask for the rule's side.

<Warning>
  Returns are historical and before fees, and use each band's average midpoint rather than the ask you would have paid. Bands below 10¢ and above 90¢ are left out because that far out the ask sits too far above the midpoint for the return to be reachable. History is not a forecast.
</Warning>
