# Trading rules your whole firm can stand behind.

> Institutions do not only need strategies that work. They need to show what the rules are, that tests were fair, and that limits were in place. AlgoBarsX is built for that.

Source: https://algobarsx.com/for/institutions/

## What gets in your way.

- **Opaque code** Boards, clients and auditors rely on summaries, not on the rules themselves.
- **Unfair or unrepeatable tests** Hard to defend later.
- **Limits outside the system** A limit that is not enforced where the trade happens is only a hope.

## How AlgoBarsX helps.

- **Readable rules** Short scripts, plus a plain-English description made by the compiler. [Read more](https://algobarsx.com/docs/what-is-algobarsx/)
- **Fair tests** No look-ahead, written fill rules, the stop wins when unsure, and a spent account ends the test. [Read more](https://algobarsx.com/docs/#execution-rules)
- **Easy to repeat** The same inputs give the same result, every time. Every run is kept. [Read more](https://algobarsx.com/docs/terminal-tools/)
- **Limits in the code** Open trades, total risk, daily loss and drawdown. [Read more](https://algobarsx.com/docs/guards/)
- **Private sharing** Sealed files and versioned libraries between teams, entities or partners. [Read more](https://algobarsx.com/docs/abx-files/)
- **Bring existing work** Import from six languages, with a note on every line. [Read more](https://algobarsx.com/convert/)

## Limits live in the code, where everyone sees them.

Caps sit at the top of the script. When the daily loss limit is hit, open trades close, waiting orders are cancelled, and new entries stop until the next day. A drawdown limit pauses the strategy until a person restarts it.

```algobarsx
strategy "Language Tour"
    markets: EURUSD, GBPUSD
    bars: 15m
    evaluate: bar_close
    max_open: 3
    max_open_per_side: 2
    direction: both
    opposite: reverse
    pyramiding: 3
    min_distance: 20 pips
    max_daily_loss: 3%
    max_drawdown: 10%
    trade_only: within sessions london, new_york
```


## Find your page.

- [Hedge funds](https://algobarsx.com/for/hedge-funds/)
- [Asset managers and family offices](https://algobarsx.com/for/asset-managers/)
- [Banks](https://algobarsx.com/for/banks/)
- [Broker-dealers](https://algobarsx.com/for/broker-dealers/)
- [Prop firms](https://algobarsx.com/for/prop-firms/)
- [Fintech platforms](https://algobarsx.com/for/fintech-platforms/)
- [Solutions](https://algobarsx.com/solutions/)

> **What to check with us first.** AlgoBarsX is in beta, so syntax and features may still change. There is no public API yet. Ask us about anything your firm needs in writing, such as where data is kept, audit logs, single sign-on, uptime and support hours. We will tell you plainly what exists today, what is planned, and what we do not do. Your licences, approvals and client rules stay your job.

## Good questions.

**Does AlgoBars hold client money?** No. AlgoBars is software, not a broker. It links to accounts at supported brokers. It never holds money and it does not give advice.

**Will live results match a backtest?** No. Tests use past prices and leave out spread, fees, swaps and slippage. Past results do not tell you what will happen next.

**What does beta mean for us?** The language works and passes 678 tests on every build. It is still being improved, so some syntax and features may change. Plan for that.

## Important

Trading is risky and you can lose money. AlgoBars is software, not a broker or an adviser. Backtests are hypothetical and leave out spread, fees, swaps and slippage. AlgoBarsX is in beta.
