Documentation

Getting started per product, in the order you will actually do it. Full manuals ship with each product.

TwoLeg — first run

STEP 1

Install

Install TwoLeg on Windows. Updates are signed and verified automatically.

STEP 2

Connect accounts

Add two MT4/MT5 demo accounts in Connections. Managed terminals and the TwoLegBridge EA are set up for you.

STEP 3

Configure a row

Pick a symbol, set the signal threshold, enable limit entries, choose fill policy and wait window.

STEP 4

Evaluate

Run on demo and read the log: fills, misses, rejections and slippage are recorded per attempt.

Sarraf — first scan

STEP 1

Install

Run the self-contained build on Windows 11. No .NET install, no exchange accounts needed to scan.

STEP 2

Check reachability

On the Exchanges page, confirm both sides answer. If a side is blocked, set the app proxy and let the other side skip it.

STEP 3

Set your size

Enter trade size and minimum net %. Routes are costed for that size, with the most profitable size shown per route.

STEP 4

Execute manually

Follow the route checklist on your own exchange accounts. Re-check fees and network status before transferring.

FeedBridge — integration

// 1. start the module (single instance, no admin rights)
feedbridge.exe

// 2. connect and read lines
socket.connect("127.0.0.1", 8755)
// buffer bytes, split on \n, parse JSON per line
{"t":"q","s":"XAUUSD","b":3606.61,"a":3606.83}
{"t":"hb"}   // heartbeat: stream alive

// 3. on disconnect: reconnect, fresh snapshot arrives

Rules from the module guide: send it nothing, expect no symbol order, parse prices as floating-point numbers, and treat 10 seconds of silence as stale.

Native Connector — status

The connector is wired into TwoLeg's Connections UI as “MetaTrader 4 or 5 account (native — no terminal, no EA)”. It is flagged experimental until live demo-account verification passes; the EA route is the supported path today. Developers: the session model is one socket per account, snapshot sync after login, then tick and trade streams on the same session.

Common questions

Why limit orders in TwoLeg?

Market entries pay slippage on every signal. A limit entry either fills at your price or reports a miss — you keep the edge you measured, or you know why not.

What if a limit order is rejected?

Prices are clamped outside broker stops/freeze levels and expirations are backstopped. Rejections surface with the broker's error text in the log, not hidden.

Can TwoLeg trade on a stale feed?

No. Opens are refused until the broker connection is confirmed and quotes are fresh.

Does Sarraf need my exchange keys?

No. It reads public market data only and cannot place orders or move funds. You execute routes yourself.

Why does Sarraf drop spreads above 25%?

They are almost always two different coins sharing a ticker, or a frozen market. The filter is adjustable in the app.

Can I use TwoLeg on a prop firm account?

Check your firm's rules first. TwoLeg is a latency/lock arbitrage tool, and many prop firms prohibit arbitrage and latency exploitation in their terms. Use it only where the account rules explicitly allow your strategy — a payout denied for rule-breaking costs more than any edge.

Will my broker restrict my account?

Some brokers restrict arbitrage strategies or specific order patterns. TwoLeg trades through your own accounts with standard order types, but broker terms are yours to check. Evaluate on demo, read your broker's execution policy, and size responsibly.

Does it run unattended?

Yes — it is built for VPS operation: managed terminals recover, opens are refused on stale quotes or a dead feed, and every outcome is logged for review. Check the log daily; unattended is not unmonitored.

What VPS do I need?

Any modern Windows VPS near your broker's servers. Latency to the broker matters more than CPU. FeedBridge and TwoLeg together use modest resources; the native connector removes the terminal entirely once verified.

Is the native connector ready?

Implemented and wired, pending live verification. It is labelled experimental in the app until that passes.

Support

Support contact and launch-list signup will be published here at launch. When reporting an issue, include the product version, broker or exchange, symbol, and the relevant log lines — they contain the exact error chain.

Risk disclosure: trading involves substantial risk of loss. QuantApex software is a tool for executing and costing your own strategies and does not provide financial advice.