{"id":24349,"date":"2014-01-20T08:00:00","date_gmt":"2014-01-20T14:00:00","guid":{"rendered":""},"modified":"2020-09-17T10:09:08","modified_gmt":"2020-09-17T15:09:08","slug":"spread-trading-formula","status":"publish","type":"post","link":"https:\/\/tradingtechnologies.com\/blog\/2014\/01\/20\/spread-trading-formula\/","title":{"rendered":"Common Spreads and the Uncommonly Cool Custom Formula"},"content":{"rendered":"<p>One of the most interesting aspects of supporting a product like TT\u2019s <a href=\"https:\/\/tradingtechnologies.com\/en\/products\/trading-analytics\/xtrader\/autospreader\/\" target=\"_blank\" rel=\"noopener noreferrer\">Autospreader\u00ae<\/a> is the fact that users continue to find new ways to use it, especially as market conditions change. While it would be impossible for me to talk about the countless number of unique strategies that are created for specific markets, \u00a0I can give you a good idea of how Autospreader can be applied by looking at how it&#8217;s used to execute some common arbitrage spreads.<\/p>\n<p>My intention is not to portray these strategies as potential sources of profit, but to portray them as stepping stones to further innovation. I hope that these examples will \u201cget your wheels turning.\u201d Even if you\u2019re already familiar with these spreads, this blog can serve as a good review of Autospreader.<br \/>\n<!--more--><\/p>\n<h3><span class=\"ez-toc-section\" id=\"what-is-an-arbitrage-spread\"><\/span>What is an arbitrage spread?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>An arbitrage spread trade is an attempt to profit by exploiting price differences between identical or similar products, on different exchanges or in different forms.<\/p>\n<p>The appeal of arbitrage trading is that it is intrinsically less risky than other forms of spread trading because you are not taking an opinion on the market rising or falling. An arbitrageur simultaneously buys one contract in a market and sells an identical or similar contract in another market attempting to profit from small price discrepancies between these identical or similar contracts.<\/p>\n<p>Although there are many different product combinations that can comprise an arbitrage trade, some of the more common strategies involve two futures contracts where the underlying product is the same, but the contracts are traded in different units. Let\u2019s take a look at two popular examples.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"kansas-city-wheat-vs-chicago-wheat\"><\/span>Kansas City Wheat vs. Chicago Wheat<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In this example, we\u2019ll look at a spread trading strategy involving hard red winter (HRW) wheat futures against the soft red winter (SRW) wheat futures that both trade at the Chicago Mercantile Exchange (CME). These are very similar products, but they aren\u2019t perfectly identical because each represents a different grade of wheat grown in a different part of the U.S. Nevertheless, there is often a high degree of price correlation between these two different wheat products. Both contracts have the same contract size of 5,000 bushels, and they both tick in quarter-cent increments at $12.50 per contract.<\/p>\n<p>Some of the factors affecting this type of spread are the overall production, international and domestic demand, and crop production quality. Also, the independent growing areas for these two wheat products offer an opportunity by taking advantage of drought, flooding, wind damage, planting and harvest problems in one contract while the other contract reacts to comparable\u2014or in some cases completely different\u2014conditions.<\/p>\n<p>Wheat spreads tend to follow historical price patterns and price ranges going back many years. Historically, HRW wheat has traded at a premium to SRW wheat due to its grade and delivery specifications. When HRW wheat was priced below SRW wheat, there would be buying interest in HRW wheat while selling occurred in SRW wheat.<\/p>\n<p>Originally, the HRW wheat futures contract was traded at the Kansas City Board of Trade and the SRW wheat futures contract traded at the Chicago Board of Trade. But now they both trade on the CME Globex platform, and a trader only needs one exchange connection to trade these &#8220;inter-market&#8221; spreads.<\/p>\n<p>An Autospreader configuration can be created using the following parameters:<\/p>\n<table style=\"border-collapse: collapse;border: none;width: 424px\">\n<tbody>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><b>Leg A<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><b>Leg B<\/b><\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><b>Instrument<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">KE (hard red winter)<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">ZW (soft red winter)<\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><b>Ratio<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">-1<\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><b>Multiplier<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">-1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"eurodollar-synthetic-pack-vs-exchange-traded-pack\"><\/span>Eurodollar Synthetic Pack vs. Exchange-Traded Pack<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A \u201cstrip\u201d consists of a simultaneous purchase or sale in one transaction of four or more consecutive futures contracts where the quantity in each leg can vary. A \u201cpack\u201d is similar to a strip trade, except the quantity is the same in each leg. A \u201cbundle\u201d consists of a simultaneous buy or sell in one transaction of futures contracts starting from the front month and going out two or more years where the quantity is the same in each leg. Strips, packs and bundles are commonly used in trading interest rates and energy futures.<\/p>\n<p>Exchange-listed strips, packs and bundles on the CME Eurodollar are typically quoted on an average net change basis from the previous day\u2019s settlement in one-quarter increments. The spread price display will reflect the average net change of the net price changes of each spread leg.<\/p>\n<p>For example, a four-year CME Eurodollar pack trading at a price of +1.75 could consist of leg A net change of +2, leg B net change of +1, leg C net change of +2.5 and leg D net change of +1.5.<\/p>\n<p>(2 \u00a0+ \u00a01 \u00a0+ \u00a02.5 \u00a0+ \u00a01.5) \/ 4 \u00a0 = +1.75<\/p>\n<p>In this example we\u2019ll create a spread between an exchange-listed pack and the synthetic pack where the strategy will attempt to profit by exploiting price differences of the two entities.Trading a synthetic version of this exchange-listed pack spread can provide traders with more opportunity because Autospreader quoting orders could have priority over exchange implied orders, and they can potentially receive more fills.<br \/>\n<b>Buy one synthetic CME Eurodollar pack:<\/b><\/p>\n<ul>\n<li>Buy 1 GE March 14 future<\/li>\n<li>Buy 1 GE June 14 future<\/li>\n<li>Buy 1 GE September 14 future<\/li>\n<li>Buy 1 GE December 14 future<\/li>\n<\/ul>\n<p><b>Sell one CME Eurodollar exchange listed pack:<\/b><\/p>\n<ul>\n<li>1*GE Mar14: + 1*GE Jun14: + 1*GE Sep14: + 1*Dec14<\/li>\n<\/ul>\n<p>Create an Autospreader configuration using the following parameters:<\/p>\n<table style=\"border-collapse: collapse;border: none\">\n<tbody>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\"><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\"><b>Leg A<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\"><b>Leg B<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\"><b>Leg C<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\"><b>Leg D<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\"><b>Leg E<\/b><\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: left;vertical-align: top\"><b>Contract<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">GE Mar 14<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">GE Jun 14<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">GE Sep 14<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">GE Dec 14<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">GE Pack<\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: left;vertical-align: top\"><b>Spread Ratio<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">1<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">-1<\/td>\n<\/tr>\n<tr style=\"height: 0px\">\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: left;vertical-align: top\"><b>Multiplier<\/b><\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">0.5<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">0.5<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px 7px 7px 7px;vertical-align: top\">0.5<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">0.5<\/td>\n<td style=\"border: 1px solid #000000;padding: 7px;text-align: center;vertical-align: top\">-1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>The Spread Ratio of \u201c1\u201d for each leg is self-explanatory. The Multiplier of \u201c0.5\u201d for each GE leg is the minimum tick increment of each leg, and this is needed to convert the GE legs into net change.<\/p>\n<p>Note that each leg\u2019s net change is actually reported in ticks. Therefore, to convert the net change into a regular price format, we need to multiply by the minimum tick increment of the given leg. Also note that the sum of the net change across four legs is divided by four to obtain the average net change:<\/p>\n<blockquote><p>[((LegA.PriceTicks &#8211; LegA.SettlementPriceTicks) * LegA.Multiplier) + \u00a0((LegB.PriceTicks &#8211; LegB.SettlementPriceTicks) * LegB.Multiplier) + ((LegC.PriceTicks -LegC.SettlementPriceTicks) * LegC.Multiplier) + ((LegD.PriceTicks &#8211; LegD.SettlementPriceTicks) * LegD.Multiplier))] \/4 * LegE.Price * LegE.Multiplier<\/p><\/blockquote>\n<p>Notice that this spread formula is a combination of addition, subtraction, multiplication and division as well as different computations for the legs of the spread.<\/p>\n<p>Using the new Custom formula feature in X_TRADER\u00ae 7.17 allows you to configure a custom spread formula using standard arithmetic operators when Custom is selected in the Based On field.<\/p>\n<p>As you type your spread formula in the Customer formula field, the\u00a0IntelliSense-type function automatically populates a\u00a0list of available parameter settings that can be applied to the formula. For example, press the period key on the keyboard to display a list of the available parameter settings that can be included in the formula for a given leg.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"border: 0px solid transparent\" src=\"https:\/\/lh3.googleusercontent.com\/nwT3Ptd5vBkd1oh_Bl6blVSAnAP_m4YAoAVP6vr8DkF5X84gMvMz7Ip-dsAN22ikvjZnpVFehEAtFnNX_O6KnjMorRs_6o0JQeD6nB37g1T8_RoikrK0etTGag\" alt=\"\" width=\"193\" \/><br \/>\nAlong with the IntelliSense-type function, there is a periodic check and visual indication of the validity of the current arithmetic operation so that errors can be quickly corrected.<\/p>\n<p>The Custom formula is very intuitive and easy to use, and allows users to create any variety of spread combinations and strategies that were not possible with previous versions.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I hope these examples gave you some insight into potential ideas and opportunities for further exploration. With more than a decade of history behind it, Autospreader has evolved and will continue to evolve with user-driven innovation. Above all, however, it will continue to deliver flexibility for users like you to exercise creativity.<\/p>\n<p>To learn more, please see the TT website and the dedicated page for <a href=\"https:\/\/tradingtechnologies.com\/en\/products\/trading-analytics\/xtrader\/autospreader\/\" target=\"_blank\" rel=\"noopener noreferrer\">Autospreader<\/a>, where you will find a wealth of information on both basic functionality and more advanced features.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most interesting aspects of supporting a product like TT\u2019s Autospreader\u00ae is the fact that users continue to find new ways to use it, especially as market conditions change. While it would be impossible for me to talk about the countless number of unique strategies that are created for specific markets, \u00a0I can [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[19],"class_list":["post-24349","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-algos-and-spread-trading"],"acf":[],"_links":{"self":[{"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/posts\/24349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/comments?post=24349"}],"version-history":[{"count":0,"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/posts\/24349\/revisions"}],"wp:attachment":[{"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/media?parent=24349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/categories?post=24349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tradingtechnologies.com\/wp-json\/wp\/v2\/tags?post=24349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}