スプレッドは存在します。シグナルが発動すると、ソフトウェアは同時に2つの注文を発行します。まずスローなブローカーでEUR/USDを買い、高速なブローカーで売ります。買い注文は1.08512で満たされます。売り注文は戻ってきます。 拒否されました. 次の数百ミリ秒間は、まったくアグリチャートを行っていない。それは、オープンするつもりではなかった単純なロングポジションを保有しているだけだ。「1つのトレードが完了した」と「実際にはヘッジされている」という間のギャップを「シグナル」と呼ぶ。 レギングのリスク, そして、あらゆるマルチレッグ・アービトラージ戦略において、優位性を維持するかの判断を下すのは、実際に行われる執行との接触によるコストの大きさです。
このガイドでは、レッグリスクとは何か、どこでそれが現れるか(2本指トレード・ヘッジ・アービトラージ、トライアングル・アービトラージ、仮想通貨間のクロス・取引)、なぜレッグが失敗するのか、それを数値化する方法、そして最もトレードを行うトレーダーが即座に即座に行うべきこと(1本指トレードが成立した後の数秒での行動)について説明します。
レギングリスクとは何か(そして何がそれではない)
2本以上のレースを含むアービトラージは、リスクが全くない場合のみ可能です。 すべて 脚が揃っています。各脚はそれぞれ別のオーダーで、通常は別の会場で行われます。そのため、正確には同時に埋まりません。つまり、最初の埋まりから最後の埋まりまでの間に発生するリスク、そして最後の埋まりが全くない場合を含め、脚が揃うリスクがあります。
それはよく間違えられる隣人たちから分離する価値があります:
- スリッページ その脚であなたが求めた価格よりも安い値段が着く。 does fill。これは利益を縮小します。(詳細についてはこちらで説明しています。) スリッページを克服するためのガイド.)
- レッグジンリスク これは、遅れて、部分的に、あるいは全く足が埋まらないような状態です。その結果、もう一方の足は裸のままになります。これは単に利益を縮小するだけではなく、0.5ピップの利益を10ピップの損失に変えることにもなりえます。
- 1本指戦略における市場リスク これはまた違います。ワンレッグ・ラテンス トレードは、故意に単方向的なポジションです。第二レッグが失敗する余地はありません。2つのモデルのどちらかを選択する際には、こちらをご覧ください。 片足対両足の遅延アビュランス.
レギングリスクがどこで現れるか
複数の注文を持つあらゆる戦略にはこれがあります。変化するのは、どのくらいの手数があるか、会場の距離がどのくらい離れているか、そして価格があなたからどれだけ早く離れることができるかです。
| 戦略 | 足 | 典型的な故障 | それがどれほどひどくなるか |
|---|---|---|---|
| 2仲介業者によるヘッジ・アービトラージ(外国為替) | 2、異なるブローカー | スローブローカーでのリクオートまたは拒否、最終確認の遅延 | ハイ・アラウンド・ニュース:ギャップを生み出した価格が動いている |
| 裁定取引(三通貨間) | 3、多くの場合、1つの会場 | 最初の2レースが終了した後の3レースは料金が無料になります | 通常は1取引につき少額ですが、頻繁に行われます。利点は非常に小さいです。 |
| 仮想通貨間のクロス取引 | 2、異なる取引所 | レート制限、APIタイムアウト、薄いブック、残高不足 | 高:24時間体制のボラティリティ、そして取引所の停止は数分続くことがあります |
| スポット対ペーパー/日付付き先物ベース | 2. スポット取引とデリバティブ | Partial fill on the spot side, margin check on the futures side | Moderate: positions are larger and held longer, so a gap of seconds matters less than size |
| Statistical arbitrage pairs | 2, often one broker | One leg fills, the other hits a spread widening | Low to moderate: the edge is measured over days, not milliseconds |
The rule of thumb: the shorter the strategy’s holding time, the more legging risk dominates its results. A two-broker forex trade targeting under a pip lives or dies on how cleanly both legs fill. A basis trade held for 60 days barely notices a two-second delay between legs – but it does notice a half-filled spot order. (For the strategy mechanics themselves, see hedge arbitrage explained and our triangular arbitrage guide.)
Why legs fail
When you look through the logs of a strategy that legs too often, the causes repeat. Roughly in order of how often we see them:
- Requote or reject. The venue will not fill at your price because it has already moved – which, in arbitrage, is exactly when you are trading. Brokers that hold orders for a “last look” make this worse.
- Partial fill. You wanted 2.00 lots or 1 BTC; the book had half of that at your price. Now one leg is twice the size of the other.
- Limit price no longer reachable. A limit or IOC order on the second leg is correct risk control, but it means the leg simply does not fill if the price ran.
- Technical failure. API timeout, dropped connection, rate-limit error, a session that silently logged out. In crypto this is the most common cause of long legging windows.
- Account constraints. Not enough free margin or balance on one side, a minimum notional or minimum lot you did not check, trading disabled on the instrument.
- Deliberate execution changes. If a broker has profiled the account as arbitrage, it may add delays or reject more often on that account only. A rising reject rate on one venue is often the first sign, and one of the signals brokers use when they profile toxic flow.
Putting a number on legging risk
Legging risk feels random, but it has an expected cost you can estimate from your own logs. The simple version:
Expected legging cost per trade = leg-failure rate x average loss on a legged trade
An illustrative example for a two-broker EUR/USD strategy trading 1 lot (about $10 per pip):
- Average net profit when both legs fill: 0.5 pip = $5.00
- Share of trades where the second leg fails first time: 4%
- Average loss on those trades after retry or unwind: 6 pips = $60 (the price usually moved against you – that is why the leg failed)
Expected legging cost = 0.04 x $60 = $2.40 per trade. The real expectancy is 0.96 x $5.00 – $2.40 = $2.40, less than half of what the clean fills suggest. Double the failure rate to 8% and the expectancy is roughly zero. This is why two strategies with the same average gap can produce completely different monthly results.
Two other figures belong in your monitoring alongside the failure rate: the time to complete (median and worst case between first and last fill) and the maximum naked exposure you held at any moment during the month. A strategy that legs rarely but once sat unhedged for four minutes during an exchange outage has a risk its average numbers hide.
What to do when only one leg fills
There are only three real responses, and the worst outcome is choosing between them by hand while the price moves. Decide the rules in advance and let the software apply them.
1. Complete: retry the missing leg within a tolerance
Re-send the failed leg at the current price, but only if that price still leaves the combined trade within a set tolerance – for example “no worse than break-even” or “no more than 1 pip of loss”. Cap the number of retries and the time allowed. Chasing a leg without a limit is how a small miss becomes a large one.
2. Unwind: close the leg that did fill
If the second leg cannot be completed inside the tolerance or the time budget, close the first leg and take the small loss. It feels wrong to pay a spread to get out of a trade you just entered, but a known 1-2 pip loss is better than an open-ended directional position you did not plan.
3. Hedge elsewhere: use a proxy venue
If you run several venues, the missing leg can sometimes be placed at a third broker or exchange that quotes the same instrument. This keeps the trade alive, but it adds a new position to manage later. Use it only when the proxy is reliable and the size is small relative to its book.
How long is “the time budget”? It depends on the strategy’s own speed. For a forex two-broker trade, a few hundred milliseconds to one or two seconds is typical; after that the gap you were trading is gone and you are simply speculating. For a crypto basis or funding trade held for weeks, a budget of tens of seconds is reasonable, but the size check matters more than the clock.
How to reduce legging risk before it happens
- Send the harder leg first. If one venue rejects or partially fills more often, send that order first and only fire the easy leg once it is filled. You give up a little speed, but a failure now costs nothing because nothing is open yet. Firing both at once is faster, but it is only the right choice when both sides fill reliably.
- Size to the thinner side. Check the visible depth on both books and trade the smaller of the two, with a margin. Half of all partial fills are simply orders that were larger than the book.
- Use IOC or FOK orders with a limit. A market order on the second leg removes the reject but swaps it for unlimited slippage. A limit with immediate-or-cancel gives you a clean “filled / not filled” answer you can act on.
- Pre-check the boring things. Free margin and balance on both sides, minimum lot or minimum notional, trading hours, rate-limit headroom. In crypto, keep a reserve of the API request budget for cancels and retries – see アグリゲーションのために仮想通貨取引所APIへの接続.
- Pre-fund both venues. A cross-exchange trade that waits for a transfer is not an arbitrage. Balances must already be on both sides.
- Track rejects per venue. If one broker’s reject rate doubles over a week, reduce size there or stop – it is usually a change on their side, not bad luck.
- Have a kill switch. If a venue disconnects, stop opening new trades on every venue that pairs with it until it is back and its positions are reconciled.
What your software should handle for you
Legging decisions happen too fast for manual control, so they belong in the execution software. Whatever tool you use, check that it can do the following – and test each point on a demo account by deliberately forcing a failed leg:
- Track every multi-leg trade as one unit with a state (pending, partly filled, hedged, unwinding, closed), not as unrelated orders.
- Retry the missing leg automatically within a price tolerance and a maximum number of attempts.
- Unwind the filled leg automatically when the tolerance or time budget is exceeded.
- Adjust the second leg’s size to match a partial fill on the first.
- Enforce a cap on total unhedged exposure across all trades.
- Log the time between legs and the outcome of every legged trade, so you can calculate the cost shown above.
- Alert you when a venue’s reject rate or legging time jumps.
If a tool cannot show you how often its trades legged last month and what that cost, you are judging the strategy on its clean fills only.
The takeaway
Legging risk is the price of trading across more than one order. You cannot remove it, but you can measure it, set rules for it and keep it small: send the harder leg first, size to the thinner book, use limit IOC orders, retry inside a tolerance, and unwind without hesitation when the tolerance is gone. Most of the difference between an arbitrage strategy that works on paper and one that works in a live account comes from these few rules.
よくあるご質問
アグリバイテーションにおけるレギングリスクとは何か?
これは、複数の資産を対象としたアグリバイランスの1つの部分が成立し、もう1つの部分が遅れて成立したり、部分的にしか成立したり、まったく成立しないというリスクです。すべての部分が成立するまで、ヘッジされていない方向性のあるポジションを保有しているため、取引は通常の市場の動きにさらされます。
レギングリスクはスリッページと同じですか?
いいえ。スリッページとは、満タンになるまでに入らない部分の価格がより悪くなり、その結果利益が減少することです。スリッページリスクとは、満タンになるまでに入らない部分のことです。その場合、残りの部分が赤字に陥り、予想される利益よりもはるかに大きな損失が生じる可能性があります。
どの脚を先に送るべきですか?
If both venues fill reliably, sending both at once is fastest. If one venue rejects or partially fills more often, send that leg first and fire the second only after it fills – a failure on the first leg then costs nothing.
1本分の足が完全に収まるまでどのくらい待つべきですか?
元の価格ギャップがまだ存在する場合に限ります。高速の外国為替取引では、通常数ミリ秒から数秒程度です。暗号通貨のベース取引や数週間保持される資金調達取引では、これより長い時間が必要になる場合があります。限度額を事前に設定し、ソフトウェアがそれを強制的に実行させましょう。
1脚の遅延アルティバージにはレギングのリスクがあるか?
Not in this sense – it has only one order, so there is no second leg to fail. It carries a different risk instead: the single position is directional and depends on the price moving the way the faster feed predicted.
レギングのリスクは完全に排除できるのでしょうか?
Only where a venue executes all legs as one atomic order, which is rare in retail forex and crypto arbitrage across venues. Elsewhere you can reduce it – order sequencing, sizing, limit IOC orders, pre-checks and automatic retry/unwind rules – but not remove it.