# Research that everyone on the desk can read.

> Your value is in your ideas, not in how hard your code is to follow. AlgoBarsX makes a strategy short enough to review in a meeting, and exact enough to run.

Source: https://algobarsx.com/for/hedge-funds/

## What gets in your way.

- **Only the author understands the code** Review is slow, and key-person risk is high.
- **Tests nobody can repeat** Different machines, different data handling, different answers.
- **Research and production diverge** What was approved is not quite what is trading.

## How AlgoBarsX helps.

- **Reviewable strategies** A strategy fits on a screen. The compiler also writes it out in plain English for PMs, risk and investors. [Read more](https://algobarsx.com/docs/what-is-algobarsx/)
- **Tests you can repeat** Same script, inputs and data give the same result, to the last digit. Every run is kept with its code. [Read more](https://algobarsx.com/docs/terminal-tools/)
- **Written fill rules** 24 numbered rules set out how every order fills. Careful when unsure: the stop wins. [Read more](https://algobarsx.com/docs/#execution-rules)
- **Same code, test to live** The live runner places stops and sizes trades the way the test did. A trade exists only once the broker confirms it. [Read more](https://algobarsx.com/docs/deployments/)
- **Portfolio tools** Many markets in one strategy, plus correlation, covariance, beta and matrix functions. [See the example](https://algobarsx.com/docs/ex-38-portfolio-risk-matrix/)
- **Protect your work** Sealed files and versioned libraries for sharing between teams or with partners. [Read more](https://algobarsx.com/docs/abx-files/)

## Pairs, baskets and portfolios.

One strategy can read and trade several markets. This excerpt sets up a pairs trade between two currency pairs.

```algobarsx
strategy "EURUSD and GBPUSD Mean Reversion"
    markets: EURUSD, GBPUSD
    bars: 1h
    max_open: 2

input lookback = 200
input entry_z = 2.0
input exit_z = 0.5

eur = bars(EURUSD)
gbp = bars(GBPUSD)
hedge = beta(returns(eur.close), returns(gbp.close), lookback)
```


> **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.

**Are trading costs modelled?** No. Fills carry no spread, commission, fees, swaps or slippage. Treat results as a clean upper reference and add your own cost model.

**Which venues can it trade?** AlgoBars links to accounts on MetaTrader 4, MetaTrader 5, cTrader and Interactive Brokers. See the [AlgoBars brokers page](https://algobars.com/brokers).

**Can we run it on our own servers?** Ask us. Today it runs on the AlgoBars platform.

**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.
