{"id":8520,"date":"2021-05-27T17:23:08","date_gmt":"2021-05-27T14:23:08","guid":{"rendered":"https:\/\/roboforex.com\/blog\/?p=8520"},"modified":"2026-11-23T15:09:13","modified_gmt":"2026-11-23T12:09:13","slug":"what-is-pairs-trading-and-how-to-use-it","status":"publish","type":"post","link":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/","title":{"rendered":"Pairs Trading Explained: Spread, Hedge Ratio, Example and Risk"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><div class=\"prt-wrap\">\n<div class=\"prt\">\n\n<p><strong>Pairs trading<\/strong> is a market-neutral strategy that buys one instrument and sells a related one at the same time, so the result depends on the gap between their prices, the spread, returning to its usual level. The direction of the whole market matters less. A pairs <a href=\"https:\/\/roboforex.com\/blog\/education\/7-trading-strategies-for-beginners-and-advanced\/\" data-internallinksmanager029f6b8e52c=\"141\" title=\"Trading Strategy\">trading strategy<\/a> needs two related instruments, a hedge ratio that sizes the two sides and rules for cancelling the trade.<\/p>\n<div class=\"prt-tldr\">\n  <div class=\"prt-tldr-label\">TL;DR<\/div>\n  <ol>\n    <li>Pick two instruments with an economic link and measure the spread between them: price A minus beta times price B.<\/li>\n    <li>Sell the one that has grown too expensive against the other and buy the other one, with sizes set by the hedge ratio so that the two sides offset each other as far as the hedge ratio holds.<\/li>\n    <li>Cancel the trade in advance on a fixed spread level, count the costs of both sides and plan for one leg failing to fill.<\/li>\n  <\/ol>\n<\/div>\n<p>This method can be applied to the <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-trade-on-forex\/\">currency<\/a>, <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-invest-in-stocks-for-beginners\/\">stock<\/a>, <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-trade-commodities-guide-for-beginners\/\">and commodity<\/a> markets. The hardest part of this method is choosing the type of assets.<\/p>\n<p>This article covers the main principles of pairs trading, the steps for choosing instruments, a numerical example of the spread and examples from three markets, and ends with the risks.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_Pairs_Trading_and_How_Does_It_Work\"><\/span>What Is Pairs Trading and How Does It Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Pairs trading<\/strong> is a method based on trading two correlating financial instruments simultaneously in opposite directions.<\/p>\n<p>Correlation is a statistical link between two or more values (assets). It can be direct and inverse. In the first case, one asset tends to move in the same direction as the other one. If the correlation is inverse, the charts of two instruments are mirror-like.<\/p>\n<p>As an example of direct correlation, take the behavior of oil prices and stock prices of oil companies. When oil prices grow, stocks also grow. And vice versa: when oil prices are falling, the stocks of oil companies tend to fall too.<\/p>\n<p>However, each oil company will grow or fall in its own way, faster or slower. This temporary <a href=\"https:\/\/roboforex.com\/blog\/education\/divergence-and-convergence-in-trading-how-to-use-signals\/\" data-internallinksmanager029f6b8e52c=\"308\" title=\"Divergence, Convergence\">divergence<\/a> of prices can be used for pairs trading.<\/p>\n<p>The strategy of pairs trading uses the principle of balance: it presumes that divergences of correlating instruments tend to return to their average values. This is an assumption, and the next section shows when it fails. Such divergences happen after some important fundamental events: changes in <a href=\"https:\/\/roboforex.com\/blog\/education\/trading-news-how-to-earn-on-interest-rates\/\">interest rates by Central banks<\/a>, corporate events, etc.<\/p>\n<p>To trade by the strategy, find a highly correlating pair of financial instruments, one of which has grown or fallen compared to the other. We expect the gap to close with time, after which you close the position.<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading.jpg\"><img alt=\"Schematic of pairs trading: two related lines diverge, the upper one is sold and the lower one is bought, and both positions close at a profit where the lines meet again\" class=\"wp-image-8524\" decoding=\"async\" height=\"418\" loading=\"lazy\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" src=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading.jpg\" srcset=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading.jpg 752w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-360x200.jpg 360w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-150x83.jpg 150w\" width=\"752\"><\/a><figcaption class=\"wp-element-caption\">The principle of pairs trading: sell the line that rose too far, buy the one that lagged, close when the lines meet<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Correlation_vs_Cointegration_in_Pairs_Trading\"><\/span>Correlation vs Cointegration in Pairs Trading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Correlation measures how the price changes of two instruments move together. Pearson's correlation coefficient runs from -1 to +1, and the higher it is, the more likely the two move in one direction. Correlation says nothing about whether the gap between the two prices returns to its average.<\/p>\n<p>Here is a synthetic counterexample. Over one year, the price of A rises in a near-straight line from 100 to 160, and the price of B rises in a near-straight line from 100 to 120. The correlation is close to 1. With beta fixed at 1, the spread A minus B grows from 0 to 40 and keeps growing. Selling A and buying B at any point of that year would have lost money.<\/p>\n<div class=\"prt-ig\" role=\"figure\" aria-label=\"Both prices rise and correlation is near 1, yet the gap grows from 0 to 40\">\n  <div class=\"prt-ig-head\">\n    <div>\n      <div class=\"prt-ig-title\">Both prices rise and correlation is near 1, yet the gap grows from 0 to 40<\/div>\n      <div class=\"prt-ig-unit\">Synthetic prices over one year. The vertical scale starts at 100.<\/div>\n    <\/div>\n  <\/div>\n  <div class=\"prt-ig-main prt-ig-split\">\n    <div class=\"prt-ig-body\">\n      <div class=\"prt-sl\" role=\"img\" aria-label=\"Price A rises from 100 to 160 and price B from 100 to 120 in one year, so the gap between them widens\">\n        <svg class=\"prt-sl-svg\" viewbox=\"0 0 300 170\" aria-hidden=\"true\" focusable=\"false\"><path class=\"prt-sl-a\" d=\"M60,150 L240,10\"><\/path><path class=\"prt-sl-b\" d=\"M60,150 L240,103.3\"><\/path><\/svg>\n        <span class=\"prt-sl-lab prt-sl-start\">A and B: 100<\/span>\n        <span class=\"prt-sl-lab prt-sl-ea\">A: 160<\/span>\n        <span class=\"prt-sl-lab prt-sl-eb\">B: 120<\/span>\n        <span class=\"prt-sl-col prt-sl-c1\">Start<\/span>\n        <span class=\"prt-sl-col prt-sl-c2\">End of year<\/span>\n      <\/div>\n    <\/div>\n    <div class=\"prt-ig-aside\">\n      <ol class=\"prt-ig-notes\">\n        <li>A +60%, B +20%.<\/li>\n        <li>Spread A &minus; B: 0 &rarr; 40.<\/li>\n      <\/ol>\n    <\/div>\n  <\/div>\n  <div class=\"prt-ig-foot\"><span class=\"prt-ig-src\">Source: the synthetic example in this article, calculated 23 November 2026.<\/span><span class=\"prt-ig-brand\">roboforex.com\/blog<\/span><\/div>\n<\/div>\n<p>Cointegration is the property that matters for the trade. Two prices are cointegrated when a combination of them, price A minus beta times price B, stays around a stable average instead of drifting away. It is checked with statistical tests, such as the Engle-Granger test, on a long history.<\/p>\n<p>In practice, correlation is a quick filter for finding candidates, and a stable spread is the condition for trading them. Neither guarantees the future: a merger, a new product or a regulation can break the link between two companies at any time.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Choose_Instruments_for_Pairs_Trading\"><\/span>How to Choose Instruments for Pairs Trading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Choosing assets for this strategy implies using <a href=\"https:\/\/roboforex.com\/blog\/education\/the-basics-of-fundamental-analysis\/\">fundamental<\/a> and <a href=\"https:\/\/roboforex.com\/blog\/education\/basics-of-technical-analysis\/\">technical<\/a> analysis, as well as statistical calculations. Work through these steps in order:<\/p>\n<ol>\n<li>Economic link. Look for a reason why the two prices should move together. On the whole, you can start among the stocks of companies of one market sector; contracts for similar instruments such as <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/energies\/brent\/\">Brent<\/a> and <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/energies\/wti\/\">WTI<\/a> oil, <a href=\"https:\/\/roboforex.com\/blog\/education\/how-does-gold-influence-on-forex\/\">gold<\/a> and <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-invest-in-silver-available-instruments-for-investors\/\">silver<\/a>; or interconnected currencies.<\/li>\n<li>Comparable data. Take the same timeframe and the same trading hours for both instruments, and for stocks use prices adjusted for splits and dividends.<\/li>\n<li>Stable spread. Build the spread and check that it returns to an average repeatedly over a long period, not only in one stretch of the chart. Correlation and a cointegration test belong here.<\/li>\n<li>Hedge ratio. Estimate beta, usually as the slope of a regression of price A on price B, and re-estimate it from time to time.<\/li>\n<li>Test outside the training period. Estimate beta and the average on one period, check the entry and cancel rules on a later period that the estimate did not use, and then practice on a <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-start-trading-on-a-demo-account\/\">demo account<\/a>.<\/li>\n<\/ol>\n<p>A chart comparison stays useful as a first look. Display the chosen instruments on one chart. To do it on the <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-use-metatrader-4-mt4\/\">MetaTrader 4<\/a> trading platform, you will need to find and install special scripts and <a href=\"https:\/\/roboforex.com\/blog\/education\/top-10-forex-indicators-that-every-trader-needs\/\">indicators<\/a>. But also, you can use ready-made Internet resources, such as TradingView.<\/p>\n<p>Uniting two assets on one chart, we can see how far they diverge on the chosen timeframe. The difference between the prices, the spread, is the main landmark for your trading decisions: take its average value and watch the deviations. In the picture below, there are two instruments on one chart: <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/energies\/brent\/\" data-internallinksmanager029f6b8e52c=\"312\" title=\"Brent\">Brent<\/a> and WTI oil.<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil.png\"><img alt=\"Daily chart of Brent (UKOIL) and WTI (USOIL) oil on one TradingView chart from November 2020 to early June 2021, two lines rising together with Brent above WTI\" class=\"wp-image-8525\" decoding=\"async\" height=\"630\" loading=\"lazy\" sizes=\"auto, (max-width: 1088px) 100vw, 1088px\" src=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil-1088x630.png\" srcset=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil-1088x630.png 1088w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil-346x200.png 346w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil-768x445.png 768w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil-150x87.png 150w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-oil.png 1382w\" width=\"1088\"><\/a><figcaption class=\"wp-element-caption\">Joint chart of Brent and WTI oil, daily, November 2020 to June 2021. Source: TradingView. Past results do not guarantee future performance.<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Pairs_Trading_Example_Spread_and_Position_Sizes\"><\/span>Pairs Trading Example: Spread and Position Sizes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The numbers below are synthetic, chosen to show the arithmetic of a pair trade. They are not taken from a market. The spread is price A minus beta times price B, where beta is the hedge ratio estimated from history.<\/p>\n<div class=\"prt-ig\" role=\"figure\" aria-label=\"Spread at 4.25 is past the entry line: 4.25 to the target, 1.75 to the cancel level\">\n  <div class=\"prt-ig-head\">\n    <div>\n      <div class=\"prt-ig-title\">Spread at 4.25 is past the entry line: 4.25 to the target, 1.75 to the cancel level<\/div>\n      <div class=\"prt-ig-unit\">Synthetic spread, price A minus 1.5 &times; price B. Not market data.<\/div>\n    <\/div>\n  <\/div>\n  <div class=\"prt-ig-main prt-ig-split\">\n    <div class=\"prt-ig-body\">\n      <div class=\"prt-lv\" role=\"img\" aria-label=\"Axis of the spread with the target at 0, the entry line at 4.0, the current spread at 4.25 and the cancel level at 6.0\">\n        <span class=\"prt-lv-now prt-lv-p656\">Now 4.25<\/span>\n        <span class=\"prt-lv-axis\"><span class=\"prt-lv-bar prt-lv-up prt-lv-p125 prt-lv-w531\"><\/span><span class=\"prt-lv-bar prt-lv-dn prt-lv-p656 prt-lv-w219\"><\/span><span class=\"prt-lv-tick prt-lv-p125\"><\/span><span class=\"prt-lv-tick prt-lv-p625\"><\/span><span class=\"prt-lv-tick prt-lv-p875\"><\/span><\/span>\n        <span class=\"prt-lv-lab prt-lv-p125 prt-lv-c\">Target 0<\/span>\n        <span class=\"prt-lv-lab prt-lv-p625 prt-lv-r\">Entry 4.0<\/span>\n        <span class=\"prt-lv-lab prt-lv-p875 prt-lv-c\">Cancel 6.0<\/span>\n        <span class=\"prt-lv-res prt-lv-p388\">+425 USD before costs<\/span>\n        <span class=\"prt-lv-res prt-lv-p766\">&minus;175 USD before costs<\/span>\n      <\/div>\n    <\/div>\n    <div class=\"prt-ig-aside\">\n      <ol class=\"prt-ig-notes\">\n        <li>After 25 USD of costs: +400 USD at the target, &minus;200 USD at the cancel level.<\/li>\n      <\/ol>\n    <\/div>\n  <\/div>\n  <div class=\"prt-ig-foot\"><span class=\"prt-ig-src\">Source: the synthetic example in this article, calculated 23 November 2026.<\/span><span class=\"prt-ig-brand\">roboforex.com\/blog<\/span><\/div>\n<\/div>\n<div class=\"prt-table-wrap\">\n  <table class=\"rf prt-keep\">\n    <thead><tr><th>Item<\/th><th>Value<\/th><th>How it is found<\/th><\/tr><\/thead>\n    <tbody>\n      <tr><td data-label=\"Item\">Price A and price B<\/td><td data-label=\"Value\">125.00 and 80.50<\/td><td data-label=\"How it is found\">Current prices<\/td><\/tr>\n      <tr><td data-label=\"Item\">Beta (hedge ratio)<\/td><td data-label=\"Value\">1.5<\/td><td data-label=\"How it is found\">Estimated from history<\/td><\/tr>\n      <tr><td data-label=\"Item\">Spread<\/td><td data-label=\"Value\">4.25<\/td><td data-label=\"How it is found\"><span class=\"prt-nw\">125.00 &minus; 1.5 &times; 80.50<\/span><\/td><\/tr>\n      <tr><td data-label=\"Item\">Usual spread<\/td><td data-label=\"Value\">Average 0, standard deviation 2.0<\/td><td data-label=\"How it is found\">History of the spread<\/td><\/tr>\n      <tr><td data-label=\"Item\">Entry condition<\/td><td data-label=\"Value\">Spread above +2 standard deviations, that is above 4.0<\/td><td data-label=\"How it is found\">Met: 4.25 is above 4.0<\/td><\/tr>\n      <tr><td data-label=\"Item\">Position<\/td><td data-label=\"Value\">Sell 100 units of A, buy 150 units of B<\/td><td data-label=\"How it is found\">150 = 100 &times; 1.5<\/td><\/tr>\n      <tr><td data-label=\"Item\">Value of each side<\/td><td data-label=\"Value\">12,500 USD short, 12,075 USD long<\/td><td data-label=\"How it is found\">100 &times; 125.00 and 150 &times; 80.50<\/td><\/tr>\n      <tr><td data-label=\"Item\">Target<\/td><td data-label=\"Value\">Spread back to 0<\/td><td data-label=\"How it is found\">Gain of <span class=\"prt-nw\">4.25 &times; 100 = 425 USD<\/span> before costs<\/td><\/tr>\n      <tr><td data-label=\"Item\">Cancel level<\/td><td data-label=\"Value\">Spread at +3 standard deviations, that is 6.0<\/td><td data-label=\"How it is found\">Loss of <span class=\"prt-nw\">(6.0 &minus; 4.25) &times; 100 = 175 USD<\/span> before costs<\/td><\/tr>\n      <tr><td data-label=\"Item\">Costs of both sides<\/td><td data-label=\"Value\">25 USD<\/td><td data-label=\"How it is found\">Assumed 0.05 per unit per side, paid on entry and on exit: <span class=\"prt-nw\">(100 + 150) &times; 0.05 &times; 2<\/span><\/td><\/tr>\n      <tr><td data-label=\"Item\">Result after costs<\/td><td data-label=\"Value\">+400 USD at the target, &minus;200 USD at the cancel level<\/td><td data-label=\"How it is found\">425 &minus; 25 and &minus;175 &minus; 25<\/td><\/tr>\n    <\/tbody>\n  <\/table>\n<\/div>\n<p>The two sides hold 100 units of A and 150 units of B, because each unit of A moves with 1.5 units of B. Equal numbers of units are not automatically neutral. With 100 units of B instead of 150, 50 units of B would stay exposed to the market, and the trade would no longer depend on the spread alone. Equal money on both sides does not make the pair neutral either: the hedge ratio sets the sizes.<\/p>\n<p>The costs of the example include the spread, commission and slippage of both sides. In real trading, add the swap for each night a position stays open and, for stocks, the cost of borrowing a share to sell it. Compare the cancel loss with the capital you accept to lose on one trade and size the volumes with the <a href=\"https:\/\/roboforex.com\/beginners\/start\/forex-calculator\/\">forex calculator<\/a>.<\/p>\n<div class=\"prt-promo\">\n  <div>\n    <div class=\"prt-promo-title\">Trade on the Go With RoboForex MobileTrader<\/div>\n    <div class=\"prt-promo-sub\">Watch the spread on two charts and open both sides of the trade from your phone, on Android and iOS.<\/div>\n  <\/div>\n  <div class=\"prt-promo-actions\">\n    <a class=\"prt-promo-btn prt-promo-btn-tg\" href=\"https:\/\/t.me\/RoboForexMobileTraderBot\" target=\"_blank\" rel=\"nofollow\">Telegram<\/a>\n    <a class=\"prt-promo-btn\" href=\"https:\/\/mobiletrader.onelink.me\/MuKg\/rfbannerandroid\" target=\"_blank\" rel=\"nofollow\">Google Play<\/a>\n    <a class=\"prt-promo-btn\" href=\"https:\/\/mobiletrader.onelink.me\/MuKg\/rfbannerios\" target=\"_blank\" rel=\"nofollow\">App Store<\/a>\n  <\/div>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Pairs_Trading_Examples_in_Three_Markets\"><\/span>Pairs Trading Examples in Three Markets<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The examples below are historical and read from the charts of the original article. They show the idea on real instruments and ignore costs. Check any spread you want to trade yourself.<\/p>\n<h3>Stock market<\/h3>\n<p>Pairs trading can be used for trading stock indices and the shares of companies working in one or connected sectors of economy. Some events can violate the correlation of such assets, for example, signing large contracts or designing new products. Also, the general stock market sentiment influences the correlation significantly. Stocks of the pair are listed on the <a href=\"https:\/\/roboforex.com\/forex-trading\/assets\/stocks\/\">stocks page<\/a>.<\/p>\n<p>Example:<\/p>\n<ul>\n<li>On the chart, there are the quotations of the stocks of two oil companies: <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/stocks\/xom\/\">Exxon Mobil (NYSE: XOM)<\/a> and <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/stocks\/cvx\/\">Chevron (NYSE: CVX)<\/a>.<\/li>\n<li>The history of these stocks shows high correlation; an average spread of this pair is 40 USD.<\/li>\n<li>At the beginning of 2020, while the stock market was falling, the spread between the two stocks narrowed by half, to 20 USD. At that moment, you could buy <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/stocks\/CVX\/\" data-internallinksmanager029f6b8e52c=\"241\" title=\"Chevron Corp\">Chevron<\/a> and simultaneously sell <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/stocks\/XOM\/\" data-internallinksmanager029f6b8e52c=\"282\" title=\"Exxon Mobil Corp\">Exxon Mobil<\/a> in equal numbers, a 1 to 1 ratio as in the original example, expecting the spread to return to its average value.<\/li>\n<li>Two or three months later, the spread returned to its average value of 40 USD; closing the position could bring about 20 USD per share of the pair, before costs.<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks.png\"><img alt=\"Exxon Mobil (XOM) and Chevron (CVX) on one 4-hour chart from 2018 to May 2021 with a buy mark on Chevron and a sell mark on Exxon Mobil at the spring 2020 low\" class=\"wp-image-8526\" decoding=\"async\" height=\"483\" loading=\"lazy\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" src=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks-1094x630.png\" srcset=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks-1094x630.png 1094w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks-347x200.png 347w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks-768x442.png 768w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks-150x86.png 150w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-stocks.png 1384w\" width=\"840\"><\/a><figcaption class=\"wp-element-caption\">Pairs trading in the stock market with the shares of Exxon Mobil (XOM) and Chevron (CVX), 4-hour chart, 2018 to May 2021. Historical example. Past results do not guarantee future performance.<\/figcaption><\/figure>\n<h3>Commodity market<\/h3>\n<p>For pairs trading, you can choose contracts for similar <a href=\"https:\/\/roboforex.com\/forex-trading\/assets\/soft-commodities\/\" data-internallinksmanager029f6b8e52c=\"46\" title=\"Commodities\">commodities<\/a>, such as oil and natural gas, <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/metals\/xauusd\/\" data-internallinksmanager029f6b8e52c=\"43\" title=\"XAU\/USD\">gold<\/a> and <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/metals\/xagusd\/\" data-internallinksmanager029f6b8e52c=\"42\" title=\"XAG\/USD\">silver<\/a>. Also, you can use different types of contracts for the same commodity.<\/p>\n<p>Example:<\/p>\n<ul>\n<li>On the chart, you can see the quotations of a spot contract for XAU\/USD and a futures contract for GC gold.<\/li>\n<li>The contracts have very high correlation; the usual spread is about 10 USD.<\/li>\n<li>At one moment the spread was abnormally high, about 60 USD. You could sell the leading GC futures and simultaneously buy the XAU\/USD spot contract.<\/li>\n<li>Two weeks later, the spread returned to 10 USD; closing both positions would bring about 50 USD per unit of the spread, before costs.<\/li>\n<\/ul>\n<p>Before sizing the two legs, compare the value and the specification of each contract. A futures contract and a spot lot can represent different amounts of gold, so equal numbers of contracts do not make the legs equal. Part of a gap between futures and spot also comes from the basis, which depends on the expiry of the futures contract.<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold.png\"><img alt=\"Gold futures (COMEX) and spot XAU\/USD on one hourly chart from late March to early May 2021, with a sell mark on the futures at the peak and a buy mark on the spot contract\" class=\"wp-image-8527\" decoding=\"async\" height=\"630\" loading=\"lazy\" sizes=\"auto, (max-width: 1088px) 100vw, 1088px\" src=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold-1088x630.png\" srcset=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold-1088x630.png 1088w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold-345x200.png 345w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold-768x445.png 768w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold-150x87.png 150w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-gold.png 1381w\" width=\"1088\"><\/a><figcaption class=\"wp-element-caption\">Pairs trading in the commodity market with a spot contract for XAU\/USD and a GC futures contract, hourly chart, spring 2021. Historical example. Past results do not guarantee future performance.<\/figcaption><\/figure>\n<h3>Forex<\/h3>\n<p>For pairs trading in Forex, you will need two correlating currency pairs. For example, <a href=\"https:\/\/roboforex.com\/blog\/education\/usd-forecast\/\">EUR\/USD<\/a> and <a href=\"https:\/\/roboforex.com\/blog\/education\/how-to-trade-the-gbp-usd-currency-pair\/\">GBP\/USD<\/a> have positive correlation. However, this dependence is unstable, which means the quotations can diverge significantly and stay away from each other for a long time. In essence, trading the spread between <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/forex\/eurusd\/\" data-internallinksmanager029f6b8e52c=\"35\" title=\"EUR\/USD\">EUR\/USD<\/a> and <a href=\"https:\/\/roboforex.com\/beginners\/info\/charts\/forex\/gbpusd\/\" data-internallinksmanager029f6b8e52c=\"36\" title=\"GBP\/USD\">GBP\/USD<\/a> is like trading their cross-rate: EUR\/GBP. When there is a stable trend in EUR\/GBP, the correlation between EUR\/USD and GBP\/USD gets violated.<\/p>\n<p>Example:<\/p>\n<ul>\n<li>In the chart, there are the quotations of EUR\/USD and GBP\/USD.<\/li>\n<li>These pairs correlate moderately, an average spread on the chart is about 0.1500, which is 1,500 pips.<\/li>\n<li>When markets were falling, and investors were fleeing to protective assets, the spread narrowed two times, to 0.0750, or 750 pips. At that moment, you could buy GBP\/USD at a serious decline and simultaneously sell EUR\/USD in the same volume, a 1 to 1 ratio as in the original example.<\/li>\n<li>A month later, the spread returned to 0.1500, and closing both positions would bring 0.0750, or 750 pips of profit, before costs.<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex.png\"><img alt=\"EUR\/USD and GBP\/USD on one hourly chart with a buy mark on GBP\/USD and a sell mark on EUR\/USD at the low where the two pairs came close together\" class=\"wp-image-8528\" decoding=\"async\" height=\"630\" loading=\"lazy\" sizes=\"auto, (max-width: 1086px) 100vw, 1086px\" src=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex-1086x630.png\" srcset=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex-1086x630.png 1086w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex-345x200.png 345w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex-768x445.png 768w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex-150x87.png 150w, https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/PairsTrading-forex.png 1376w\" width=\"1086\"><\/a><figcaption class=\"wp-element-caption\">Pairs trading in the currency market with EUR\/USD and GBP\/USD, hourly chart. Historical example. Past results do not guarantee future performance.<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Risk_Management_in_Pairs_Trading\"><\/span>Risk Management in Pairs Trading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As with any trading strategy, you will need <a href=\"https:\/\/roboforex.com\/blog\/education\/11-rules-of-risk-management-ultimate-guide\/\">risk management<\/a> in pairs trading. Though the position is market-neutral, unexpected news influencing one or the other asset can change the speed and direction of the spread movement abruptly. Hence, formulate the criteria of risk management in advance. Five risks need a rule:<\/p>\n<ul>\n<li>Spread risk. The spread can keep widening after your entry, and the link between the two instruments can break for good.<\/li>\n<li>Risk of each leg. Each side is an ordinary position with its own price swings, gaps and costs. Market-neutral does not mean riskless.<\/li>\n<li>Execution risk. One side can fill and the other one not, or fill at a worse price, especially when the two instruments trade at different hours or one of them is illiquid.<\/li>\n<li>Closing one leg. If one position is closed by a stop, a margin shortage or a trading halt, the other one becomes a plain directional trade.<\/li>\n<li>Costs. Spread, commission and swap are paid on both sides.<\/li>\n<\/ul>\n<p>As one option, you can follow the overall <a href=\"https:\/\/roboforex.com\/blog\/education\/losses-rules-to-reduce-making-profit\/\">loss<\/a> of both positions together. Set an acceptable loss size for one trade (for example, 3% of your capital) and a cancel level for the spread, and close both positions when either is reached. A <a href=\"https:\/\/roboforex.com\/blog\/education\/what-is-stop-loss-and-take-profit\/\">Stop Loss<\/a> on each leg can serve as protection against a one-sided failure. Place it beyond the cancel level of the spread, because a stop that closes only one leg turns the pair into a directional trade. Check how your <a href=\"https:\/\/roboforex.com\/blog\/education\/drawdown-what-is-it-and-how-to-escape-it\/\">drawdown<\/a> looks when several pair trades fail in a row.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Bottom_Line\"><\/span>Bottom Line<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Pairs trading is a popular market-neutral strategy. It seems simple at first glance only. To succeed, a trader will need to find suitable instruments, test the spread on data outside the training period, size both sides with a hedge ratio and fix the cancel level before entering.<\/p>\n<p>Also, stick to risk-management rules. A set of rules like this one is a system that needs testing: see how <a href=\"https:\/\/roboforex.com\/blog\/education\/what-do-you-know-about-forex-trading-systems\/\">forex trading systems<\/a> are built and checked. Before risking your real capital, test the strategy and your skills on a demo account.<\/p>\n<div class=\"prt-cta\">\n  <a href=\"https:\/\/my.roboforex.com\/en\/register\/\" target=\"_blank\" rel=\"nofollow\">Open a Trading Account with RoboForex<\/a>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"FAQ\"><\/span>FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"prt-faq\">\n  <details class=\"prt-faq-item\">\n    <summary class=\"prt-faq-q\">Is high correlation enough for pairs trading?<\/summary>\n    <div class=\"prt-faq-a\">High correlation is a filter for finding candidates and does not prove that the spread returns to its average. Two prices can rise together for a year while the gap between them keeps widening. A cointegration test, a spread that returns to its average over a long period and a check on later data add evidence. None of them guarantees the future.<\/div>\n  <\/details>\n  <details class=\"prt-faq-item\">\n    <summary class=\"prt-faq-q\">Why is a hedge ratio needed?<\/summary>\n    <div class=\"prt-faq-a\">The hedge ratio says how many units of instrument B offset one unit of instrument A in the spread A minus beta times B. Equal numbers of shares or contracts are neutral only when beta equals 1. In the example, 100 units of A are paired with 150 units of B.<\/div>\n  <\/details>\n  <details class=\"prt-faq-item\">\n    <summary class=\"prt-faq-q\">What happens if only one side of the trade is executed?<\/summary>\n    <div class=\"prt-faq-a\">The position is an ordinary directional trade with the market risk of a single instrument. Decide in advance what to do: close the filled side at once, or wait for the second one within a set time or price. Limit orders control the price of each side, but one of them can still fill alone, so the plan for that case has to exist before the entry. Filling the less liquid side first is one way to reduce the risk.<\/div>\n  <\/details>\n<\/div>\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Is high correlation enough for pairs trading?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"High correlation is a filter for finding candidates and does not prove that the spread returns to its average. Two prices can rise together for a year while the gap between them keeps widening. A cointegration test, a spread that returns to its average over a long period and a check on later data add evidence. None of them guarantees the future.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Why is a hedge ratio needed?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The hedge ratio says how many units of instrument B offset one unit of instrument A in the spread A minus beta times B. Equal numbers of shares or contracts are neutral only when beta equals 1. In the example, 100 units of A are paired with 150 units of B.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What happens if only one side of the trade is executed?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The position is an ordinary directional trade with the market risk of a single instrument. Decide in advance what to do: close the filled side at once, or wait for the second one within a set time or price. Limit orders control the price of each side, but one of them can still fill alone, so the plan for that case has to exist before the entry. Filling the less liquid side first is one way to reduce the risk.\"\n      }\n    }\n  ]\n}\n<\/script>\n<div class=\"prt-read-next\">\n  <div class=\"prt-read-next-label\">Read next<\/div>\n  <ul>\n    <li><a href=\"https:\/\/roboforex.com\/blog\/education\/drawdown-what-is-it-and-how-to-escape-it\/\">Drawdown in Trading<\/a>: how a run of losing trades adds up and what it takes to recover.<\/li>\n    <li><a href=\"https:\/\/roboforex.com\/blog\/education\/what-do-you-know-about-forex-trading-systems\/\">Forex Trading Systems<\/a>: how a set of rules like this one becomes a complete system.<\/li>\n    <li><a href=\"https:\/\/roboforex.com\/blog\/education\/7-trading-strategies-for-beginners-and-advanced\/\">7 Trading Strategies for Beginners and Advanced<\/a>: other strategies to compare with pairs trading.<\/li>\n  <\/ul>\n<\/div>\n<div class=\"prt-disclaimer\">\n  <em>Any information provided in articles on this website is based solely on the personal opinions of the authors. These articles should not be construed as trading recommendations or a call to action. The authors and RoboForex accept no responsibility for the results of any trades made on the basis of these recommendations and reviews. Past performance is not indicative of future results. Trading stocks and CFDs involves a high risk of capital loss.<\/em>\n<\/div>\n\n<\/div>\n<\/div>\n<!-- ==================== \/BLOCK 1 ==================== -->\n\n<!-- ==================== BLOCK 2: STYLES ==================== -->\n<style>\n:root {\n  --green:        #5ab02b;\n  --green-hover:  #489022;\n  --link:         #0384c6;\n  --text:         #2E3A59;\n  --text-light:   #666666;\n  --heading:      #2E3A59;\n  --border:       #e0e0e0;\n  --table-head:   #f5f5f5;\n  --table-stripe: #fafafa;\n  --promo-bg:     #f8f8f8;\n  --promo-border: #e8e8e8;\n  --radius:       4px;\n  --font:         'Roboto', Arial, sans-serif;\n  --max-w:        1160px;\n  --dark:         #1a2535;\n  --toc-bg:       #f9f9f9;\n  \/* Data palette, decision 0041 (subset used here). *\/\n  --c0: #b8bcc4;   \/* neutral *\/\n  --c1: #0384c6;   \/* emphasis, same as --link *\/\n  --up:   #5ab02b; \/* gains, same as --green *\/\n  --down: #d03b3b; \/* losses *\/\n  --c2: #eb6834;   \/* orange, second category *\/\n}\n\n\/* Outer wrapper. No side padding, decision 0014. *\/\n.prt-wrap { box-sizing: border-box; max-width: var(--max-w); margin: 0 auto; padding: 0; }\n\n\/* Base prose *\/\n.prt { font-family: var(--font); font-size: 20px; line-height: 1.7; color: var(--text); max-width: var(--max-w); }\n.prt.prt, .prt.prt * { font-family: 'Roboto', Arial, sans-serif !important; }\n.prt p { margin: 0 0 20px; }\n\/* Text links: --link, never underlined, decision 0012. *\/\n.prt p a, .prt li a, .prt figcaption a, .prt td a,\n.prt .prt-faq-a a, .prt .prt-disclaimer a { color: var(--link); text-decoration: none; }\n.prt p a:hover, .prt li a:hover, .prt figcaption a:hover, .prt td a:hover,\n.prt .prt-faq-a a:hover, .prt .prt-disclaimer a:hover { text-decoration: none; }\n.prt strong { color: var(--heading); font-weight: 700; }\n.prt em { font-style: italic; }\n.prt ul { padding-left: 22px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }\n.prt ol { padding-left: 26px; margin: 0 0 18px; }\n.prt li { font-size: 20px; line-height: 1.7; color: var(--text); }\n\n\/* Headings. No border-bottom, no padding-bottom. *\/\n.prt h2 { font-size: 32px; font-weight: 700; color: var(--heading); margin: 40px 0 16px; scroll-margin-top: 68px; }\n.prt h3 { font-size: 22px; font-weight: 700; color: var(--heading); margin: 28px 0 12px; scroll-margin-top: 68px; }\n@media (max-width: 600px) {\n  .prt h2 { font-size: 26px; }\n  .prt h3 { font-size: 20px; }\n}\n\n\/* TL;DR, decision 0024: light box, thin border, no coloured bar. *\/\n.prt .prt-tldr { background: var(--promo-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; margin: 24px 0 28px; }\n.prt .prt-tldr-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin: 0 0 8px; }\n.prt .prt-tldr ol { margin: 0; padding-left: 22px; }\n.prt .prt-tldr li { font-size: 17px; line-height: 1.6; margin: 0 0 6px; }\n.prt .prt-tldr li:last-child { margin-bottom: 0; }\n\n\/* Images. Native WordPress block, overflow guard only, decision 0005. *\/\n.wp-block-image { margin: 24px 0; }\n.wp-block-image img { max-width: 100%; height: auto; display: block; }\n.prt .wp-element-caption { font-size: 14px; color: var(--text-light); line-height: 1.5; margin: 8px 0 0; }\n\n\/* Tables *\/\n.prt-table-wrap { max-width: 720px; overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); }\n.prt-table-wrap.prt-table-wide { max-width: 900px; }\n.prt table.rf { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 0; }\n.prt table.rf thead tr { background: var(--table-head); }\n.prt table.rf th { padding: 10px 14px; text-align: left; font-size: 16px; font-weight: 700; color: var(--heading); border-bottom: 2px solid var(--border); }\n.prt table.rf td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.4; color: var(--text); }\n.prt table.rf tr:last-child td { border-bottom: none; }\n.prt table.rf tr:nth-child(even) td { background: var(--table-stripe); }\n.prt-table-wrap thead th { background: var(--table-head) !important; color: var(--heading) !important; }\n@media (max-width: 600px) {\n  .prt-table-wrap { border: none; }\n  .prt table.rf thead { display: none; }\n  .prt table.rf tr { display: block; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius); }\n  .prt table.rf td { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); text-align: right; }\n  .prt table.rf td::before { content: attr(data-label); font-weight: 700; color: var(--text-light); text-align: left; }\n  .prt table.rf.prt-stack td { display: block; text-align: left; }\n  .prt table.rf.prt-stack td::before { display: block; margin-bottom: 2px; font-size: 14px; }\n  \/* Two-column key-value table stays a table on phones. *\/\n  .prt table.rf.prt-keep thead { display: table-header-group; }\n  .prt table.rf.prt-keep tr { display: table-row; margin: 0; border: 0; }\n  .prt table.rf.prt-keep td { display: table-cell; text-align: left; padding: 8px 10px; font-size: 15px; vertical-align: top; }\n  .prt table.rf.prt-keep td:first-child { font-weight: 700; color: var(--heading); width: 130px; }\n  .prt table.rf.prt-keep td::before { content: none; }\n}\n.prt p.prt-note { font-size: 15px; line-height: 1.55; color: var(--text-light); margin: -8px 0 24px; }\n\n\/* Promo, decision 0025 *\/\n.prt-promo { background: var(--promo-bg); border: 1px solid var(--promo-border); border-radius: var(--radius); margin: 36px 0; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }\n@media (max-width: 600px) { .prt-promo { grid-template-columns: 1fr; padding: 20px; } }\n.prt-promo-title { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 5px; line-height: 1.3; }\n.prt-promo-sub { font-size: 15px; color: var(--text-light); line-height: 1.5; }\n.prt-promo-actions { display: flex; gap: 8px; flex-wrap: wrap; }\n.prt-promo-btn { display: inline-block; background: var(--green) !important; color: #fff !important; text-decoration: none !important; font-size: 15px; font-weight: 700; padding: 10px 15px; border-radius: 3px; white-space: nowrap; transition: background .15s; }\n.prt-promo-btn:hover { background: var(--green-hover) !important; }\n.prt .prt-promo-btn-tg { background: #229ED9 !important; }\n.prt .prt-promo-btn-tg:hover { background: #1a8fc4 !important; }\n\n\/* CTA *\/\n.prt-cta { text-align: center; margin: 36px 0; }\n.prt-cta a { display: inline-block; background: var(--green) !important; color: #fff !important; text-decoration: none !important; font-size: 20px; font-weight: 700; padding: 13px 32px; border-radius: 3px; transition: background .15s; }\n.prt-cta a:hover { background: var(--green-hover) !important; }\n@media (max-width: 600px) { .prt-cta a { font-size: 17px; padding: 12px 20px; } }\n\n\/* FAQ, native details, after the CTA, decision 0003. ASCII + and -. *\/\n.prt-faq { margin: 8px 0; max-width: 900px; }\n.prt-faq details.prt-faq-item { border-bottom: 1px solid var(--border); }\n.prt-faq details.prt-faq-item:last-child { border-bottom: none; }\n.prt-faq details.prt-faq-item summary.prt-faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; margin: 0; font-size: 18px; font-weight: 700; color: var(--heading); user-select: none; }\n.prt-faq details.prt-faq-item summary.prt-faq-q::-webkit-details-marker { display: none; }\n.prt-faq details.prt-faq-item summary.prt-faq-q::after { content: '+'; flex-shrink: 0; font-size: 22px; font-weight: 300; color: var(--green); line-height: 1; }\n.prt-faq details.prt-faq-item[open] summary.prt-faq-q::after { content: '-'; }\n.prt-faq .prt-faq-a { font-size: 18px; color: var(--text); line-height: 1.65; margin: 0 0 16px; padding: 0; animation: prt-faq-open .18s ease; }\n@keyframes prt-faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }\n@media (max-width: 600px) {\n  .prt-faq details.prt-faq-item summary.prt-faq-q { font-size: 17px; }\n  .prt-faq .prt-faq-a { font-size: 17px; }\n}\n\n\/* Read next, decision 0028 *\/\n.prt .prt-read-next { border-top: 1px solid var(--border); padding: 20px 0 0; margin: 36px 0 28px; }\n.prt .prt-read-next-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin: 0 0 8px; }\n.prt .prt-read-next ul { margin: 0; padding-left: 22px; }\n.prt .prt-read-next li { font-size: 17px; line-height: 1.6; margin: 0 0 6px; }\n.prt .prt-read-next li:last-child { margin-bottom: 0; }\n\n\/* Disclaimer, always last *\/\n.prt-disclaimer { font-size: 12px; color: var(--text-light); line-height: 1.65; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }\n.prt-disclaimer em { font-style: italic; }\n\n\/* ---------- IG frame, rf-infographic (decision 0041) ---------- *\/\n.prt-ig { box-sizing: border-box; margin: 28px 0; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); font-size: 16px; line-height: 1.45; max-width: 900px; }\n.prt-ig * { box-sizing: border-box; }\n.prt-ig-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 24px; align-items: start; margin: 0 0 16px; }\n.prt-ig-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--heading); }\n.prt-ig-unit { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--text-light); }\n.prt .prt-ig-legend { list-style: none; margin: 0 0 14px; padding: 0; display: block; }\n.prt .prt-ig-legend li { display: inline-block; margin: 0 18px 4px 0; padding: 0; font-size: 14px; line-height: 1.3; color: var(--text); }\n.prt-ig-key { display: inline-block; width: 12px; height: 12px; margin: 0 6px 0 0; border-radius: 2px; vertical-align: -1px; }\n.prt-ig-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 28px; }\n.prt-ig-main.prt-ig-split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }\n.prt-ig-body, .prt-ig-aside { min-width: 0; }\n.prt .prt-ig-notes { list-style: none; margin: 0; padding: 0; counter-reset: prtnote; display: block; }\n.prt .prt-ig-notes li { position: relative; margin: 0 0 12px; padding: 0 0 0 30px; font-size: 15px; line-height: 1.45; color: var(--text); counter-increment: prtnote; }\n.prt .prt-ig-notes li::before { content: counter(prtnote); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }\n.prt-ig-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: end; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.4; color: var(--text-light); }\n.prt-ig-brand { display: none; font-weight: 700; color: var(--heading); white-space: nowrap; }\n@media (max-width: 600px) {\n  .prt-ig { padding: 16px; }\n  .prt-ig-title { font-size: 20px; }\n  .prt-ig-main.prt-ig-split { grid-template-columns: minmax(0, 1fr); }\n  .prt-ig-foot { grid-template-columns: minmax(0, 1fr); }\n}\n\/* PNG modes, added by scripts\/infographic_png.py at export time only. *\/\n.prt-ig.prt-ig--png { display: flex; flex-direction: column; width: 640px; max-width: none; min-height: 800px; margin: 0; padding: 36px 36px 28px; border: 0; border-radius: 0; }\n.prt-ig--png .prt-ig-title { font-size: 30px; }\n.prt-ig--png .prt-ig-unit { font-size: 16px; }\n.prt-ig--png .prt-ig-head { margin: 0 0 24px; }\n.prt-ig--png .prt-ig-main { flex: 1 1 auto; align-content: center; }\n.prt-ig--png .prt-ig-main.prt-ig-split { grid-template-columns: minmax(0, 1fr); }\n.prt-ig--png .prt-ig-foot { margin-top: 24px; }\n.prt-ig--png .prt-ig-brand, .prt-ig--share .prt-ig-brand { display: block; }\n.prt-ig.prt-ig--share { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 10px 32px; width: 800px; height: 450px; max-width: none; overflow: hidden; margin: 0; padding: 30px 34px 20px; border: 0; border-radius: 0; position: fixed; left: 0; top: 0; z-index: 9999; }\n.prt-ig--share .prt-ig-head { display: block; grid-column: 1; grid-row: 1; margin: 0; }\n.prt-ig--share .prt-ig-title { font-size: 28px; }\n.prt-ig--share .prt-ig-main { display: contents; }\n.prt-ig--share .prt-ig-aside { grid-column: 1; grid-row: 2; }\n.prt-ig--share .prt-ig-legend { grid-column: 1; grid-row: 3; margin: 0; }\n.prt-ig--share .prt-ig-body { grid-column: 2; grid-row: 1 \/ 4; align-self: center; }\n.prt-ig--share .prt-ig-foot { grid-column: 1 \/ 3; grid-row: 4; margin: 0; }\n.prt.prt .prt-ig--share .prt-ig-notes li { margin: 0; padding: 0; font-size: 15px; }\n.prt-ig--share .prt-ig-notes li::before, .prt-ig--share .prt-ig-notes li:nth-child(n+2) { display: none; }\n\n.prt table.rf.prt-keep td:first-child { font-weight: 700; color: var(--heading); }\n.prt .prt-nw { white-space: nowrap; }\n@media (max-width: 600px) {\n  .prt-table-wrap { border: 1px solid var(--border); }\n  .prt table.rf.prt-keep td:first-child { width: 28%; }\n}\n\n\/* Level scale of the spread. Domain -1 to 7, left = (v + 1) \/ 8.\n   0 = 12.5%, 4.0 = 62.5%, 4.25 = 65.625%, 6.0 = 87.5%.\n   Target bar 12.5% to 65.625%: width 53.125%. Cancel bar 65.625% to 87.5%: width 21.875%.\n   Result labels at the middle of each bar: 38.75% and 76.56%. *\/\n.prt .prt-lv { position: relative; display: block; height: 130px; max-width: 640px; }\n.prt .prt-lv-axis { position: absolute; left: 0; right: 0; top: 44px; height: 14px; border-radius: 4px; background: var(--toc-bg); }\n.prt .prt-lv-bar { position: absolute; top: 0; height: 14px; }\n.prt .prt-lv-up { background: color-mix(in srgb, var(--up) 55%, #fff); border-radius: 4px 0 0 4px; }\n.prt .prt-lv-dn { background: color-mix(in srgb, var(--down) 55%, #fff); border-radius: 0 4px 4px 0; }\n.prt .prt-lv-tick { position: absolute; top: -5px; width: 2px; height: 24px; margin-left: -1px; background: var(--heading); }\n.prt .prt-lv-now { position: absolute; top: 6px; font-size: 14px; font-weight: 700; color: var(--c1); white-space: nowrap; }\n.prt .prt-lv-lab { position: absolute; top: 68px; font-size: 14px; font-weight: 700; color: var(--heading); white-space: nowrap; }\n.prt .prt-lv-c { transform: translateX(-50%); }\n.prt .prt-lv-r { transform: translateX(-100%); padding-right: 4px; }\n.prt .prt-lv-res { position: absolute; top: 94px; width: 130px; margin-left: -65px; text-align: center; font-size: 13px; line-height: 1.3; color: var(--text); }\n.prt .prt-lv-p125 { left: 12.5%; } .prt .prt-lv-p625 { left: 62.5%; } .prt .prt-lv-p656 { left: 65.625%; } .prt .prt-lv-p875 { left: 87.5%; }\n.prt .prt-lv-p388 { left: 38.75%; } .prt .prt-lv-p766 { left: 76.56%; }\n.prt .prt-lv-w531 { width: 53.125%; } .prt .prt-lv-w219 { width: 21.875%; }\n@media (max-width: 600px) {\n  .prt .prt-lv-res { width: 96px; margin-left: -48px; font-size: 12px; }\n  .prt .prt-lv-lab, .prt .prt-lv-now { font-size: 12px; }\n}\n\n\/* Slope chart. viewBox 0 0 300 170, domain 100 to 160 over 140 units.\n   A: y = 150 - 60 \/ 60 x 140 = 10. B: y = 150 - 20 \/ 60 x 140 = 103.3.\n   Percent of height: 150 = 88.2%, 10 = 5.9%, 103.3 = 60.8%. Points at x 60 and 240 = 20% and 80%. *\/\n.prt .prt-sl { position: relative; display: block; max-width: 420px; aspect-ratio: 300 \/ 190; }\n.prt .prt-sl-svg { display: block; width: 100%; height: auto; overflow: visible; }\n.prt .prt-sl-svg path { vector-effect: non-scaling-stroke; fill: none; stroke-width: 3; stroke-linecap: round; }\n.prt .prt-sl-a { stroke: var(--c1); }\n.prt .prt-sl-b { stroke: var(--c2); }\n.prt .prt-sl-lab { position: absolute; font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--heading); }\n.prt .prt-sl-start { left: 20%; top: 78%; transform: translateX(-50%); }\n.prt .prt-sl-ea { left: 82%; top: 1.5%; color: var(--c1); }\n.prt .prt-sl-eb { left: 82%; top: 54%; color: var(--c2); }\n.prt .prt-sl-col { position: absolute; top: 92%; font-size: 13px; color: var(--text-light); transform: translateX(-50%); }\n.prt .prt-sl-c1 { left: 20%; } .prt .prt-sl-c2 { left: 80%; }\n@media (max-width: 600px) { .prt .prt-sl-lab { font-size: 12px; } }\n.prt-ig--share .prt-lv { height: 120px; }\n<\/style>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Pairs trading buys one instrument and sells a related one so that the spread between them decides the result. How to choose the pair, size both legs and cancel the trade.<\/p>\n","protected":false},"author":58,"featured_media":8521,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_post_was_ever_published":false},"categories":[29],"tags":[933,35],"class_list":["post-8520","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","tag-stock-investing","tag-trading-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pairs Trading: Spread, Hedge Ratio and Risk Explained<\/title>\n<meta name=\"description\" content=\"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pairs Trading: Spread, Hedge Ratio and Risk Explained\" \/>\n<meta property=\"og:description\" content=\"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/\" \/>\n<meta property=\"og:site_name\" content=\"RoboForex Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoboForexOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-27T14:23:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T12:09:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"380\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@RoboForexGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@RoboForexGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Server Ametov\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/\"},\"headline\":\"Pairs Trading Explained: Spread, Hedge Ratio, Example and Risk\",\"datePublished\":\"2021-05-27T14:23:08+00:00\",\"dateModified\":\"2026-11-23T12:09:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/\"},\"wordCount\":2777,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/17.jpg\",\"keywords\":[\"stock investing\",\"trading system\"],\"articleSection\":[\"Education\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/\",\"url\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/\",\"name\":\"Pairs Trading: Spread, Hedge Ratio and Risk Explained\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/17.jpg\",\"datePublished\":\"2021-05-27T14:23:08+00:00\",\"dateModified\":\"2026-11-23T12:09:13+00:00\",\"description\":\"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#primaryimage\",\"url\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/17.jpg\",\"contentUrl\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/17.jpg\",\"width\":1160,\"height\":380,\"caption\":\"What Is Pairs Trading and How to Use It?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/what-is-pairs-trading-and-how-to-use-it\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Main\",\"item\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Education\",\"item\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/education\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pairs Trading Explained: Spread, Hedge Ratio, Example and Risk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/\",\"name\":\"RoboForex Blog\",\"description\":\"Blog RoboForex for Traders: Trading News, Analysis, Forecasts - forex and stocks | RoboForex Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#organization\"},\"alternateName\":\"RoboForex Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#organization\",\"name\":\"RoboForex Ltd\",\"alternateName\":\"RoboForex\",\"url\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/android-chrome-512x512-1.png\",\"contentUrl\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/android-chrome-512x512-1.png\",\"width\":512,\"height\":512,\"caption\":\"RoboForex Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/roboforex.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoboForexOfficial\\\/\",\"https:\\\/\\\/x.com\\\/RoboForexGlobal\",\"https:\\\/\\\/www.youtube.com\\\/RoboForexOfficial\",\"https:\\\/\\\/www.instagram.com\\\/roboforex\\\/\"],\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"2118 Guava Street, Belama Phase 1\",\"addressLocality\":\"Belize City\",\"addressRegion\":\"BZ\",\"postalCode\":\"00000\",\"addressCountry\":\"BZ\"},\"contactPoint\":{\"@type\":\"ContactPoint\",\"telephone\":\"+593 964 256 286\",\"contactType\":\"customer service\",\"availableLanguage\":\"en\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pairs Trading: Spread, Hedge Ratio and Risk Explained","description":"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/","og_locale":"en_US","og_type":"article","og_title":"Pairs Trading: Spread, Hedge Ratio and Risk Explained","og_description":"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.","og_url":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/","og_site_name":"RoboForex Blog","article_publisher":"https:\/\/www.facebook.com\/RoboForexOfficial\/","article_published_time":"2021-05-27T14:23:08+00:00","article_modified_time":"2026-11-23T12:09:13+00:00","og_image":[{"width":1160,"height":380,"url":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_creator":"@RoboForexGlobal","twitter_site":"@RoboForexGlobal","twitter_misc":{"Written by":"Server Ametov","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#article","isPartOf":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/"},"headline":"Pairs Trading Explained: Spread, Hedge Ratio, Example and Risk","datePublished":"2021-05-27T14:23:08+00:00","dateModified":"2026-11-23T12:09:13+00:00","mainEntityOfPage":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/"},"wordCount":2777,"commentCount":2,"publisher":{"@id":"https:\/\/roboforex.com\/blog\/#organization"},"image":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#primaryimage"},"thumbnailUrl":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","keywords":["stock investing","trading system"],"articleSection":["Education"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/","url":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/","name":"Pairs Trading: Spread, Hedge Ratio and Risk Explained","isPartOf":{"@id":"https:\/\/roboforex.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#primaryimage"},"image":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#primaryimage"},"thumbnailUrl":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","datePublished":"2021-05-27T14:23:08+00:00","dateModified":"2026-11-23T12:09:13+00:00","description":"Learn how pairs trading works, compare correlation and cointegration, and follow a spread example with position sizing, costs and invalidation.","breadcrumb":{"@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#primaryimage","url":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","contentUrl":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","width":1160,"height":380,"caption":"What Is Pairs Trading and How to Use It?"},{"@type":"BreadcrumbList","@id":"https:\/\/roboforex.com\/blog\/education\/what-is-pairs-trading-and-how-to-use-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Main","item":"https:\/\/roboforex.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Education","item":"https:\/\/roboforex.com\/blog\/education\/"},{"@type":"ListItem","position":3,"name":"Pairs Trading Explained: Spread, Hedge Ratio, Example and Risk"}]},{"@type":"WebSite","@id":"https:\/\/roboforex.com\/blog\/#website","url":"https:\/\/roboforex.com\/blog\/","name":"RoboForex Blog","description":"Blog RoboForex for Traders: Trading News, Analysis, Forecasts - forex and stocks | RoboForex Blog","publisher":{"@id":"https:\/\/roboforex.com\/blog\/#organization"},"alternateName":"RoboForex Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/roboforex.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/roboforex.com\/blog\/#organization","name":"RoboForex Ltd","alternateName":"RoboForex","url":"https:\/\/roboforex.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/roboforex.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2026\/10\/android-chrome-512x512-1.png","contentUrl":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2026\/10\/android-chrome-512x512-1.png","width":512,"height":512,"caption":"RoboForex Ltd"},"image":{"@id":"https:\/\/roboforex.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoboForexOfficial\/","https:\/\/x.com\/RoboForexGlobal","https:\/\/www.youtube.com\/RoboForexOfficial","https:\/\/www.instagram.com\/roboforex\/"],"address":{"@type":"PostalAddress","streetAddress":"2118 Guava Street, Belama Phase 1","addressLocality":"Belize City","addressRegion":"BZ","postalCode":"00000","addressCountry":"BZ"},"contactPoint":{"@type":"ContactPoint","telephone":"+593 964 256 286","contactType":"customer service","availableLanguage":"en"}}]}},"views":{"total":64,"cached_at":""},"jetpack_featured_media_url":"https:\/\/roboforex.com\/blog\/wp-content\/uploads\/2021\/05\/17.jpg","_links":{"self":[{"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/posts\/8520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/comments?post=8520"}],"version-history":[{"count":12,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/posts\/8520\/revisions"}],"predecessor-version":[{"id":22598,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/posts\/8520\/revisions\/22598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/media\/8521"}],"wp:attachment":[{"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/media?parent=8520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/categories?post=8520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roboforex.com\/blog\/wp-json\/wp\/v2\/tags?post=8520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}