{"id":9495,"date":"2022-10-12T06:56:38","date_gmt":"2022-10-12T06:56:38","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=9495"},"modified":"2022-10-12T06:56:38","modified_gmt":"2022-10-12T06:56:38","slug":"internalization-how-forex-brokers-aggregate-orders-and-hedge-residual-risk","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/10\/12\/internalization-how-forex-brokers-aggregate-orders-and-hedge-residual-risk\/","title":{"rendered":"Internalization: How Forex Brokers Aggregate Orders and Hedge Residual Risk"},"content":{"rendered":"\n<p>With A-Book (or STP) execution, the broker manages the risk of each trade&nbsp;<strong>individually<\/strong>.<\/p>\n\n\n\n<p>But what if one trader opens a long GBP\/USD position, and another trader opens a short GBP\/USD position&nbsp;<strong>at or around the same time<\/strong>?<\/p>\n\n\n\n<p>Rather than the\u00a0A-Book broker\u00a0having to hedge each trade separately with an LP, why can\u2019t the risk exposure from the two trades \u201ccancel\u201d each other out?<\/p>\n\n\n\n<p>Well, they can.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2021\/06\/06175125\/aggregate-orders-360x340.png\" alt=\"Forex Broker Aggregate Orders\" class=\"wp-image-204355\" title=\"Forex Broker Aggregate Orders\"\/><\/figure>\n\n\n\n<p><strong>Instead of managing risk for every individual trade, a broker can aggregate customer trades that all contain the same currency pair.<\/strong><\/p>\n\n\n\n<p>This process of&nbsp;<em>aggregating<\/em>&nbsp;trades is known as I<strong>nternalization<\/strong>.<\/p>\n\n\n\n<p>For example, some customers may buy GBP\/USD, while others may sell GBP\/USD. Different traders have different opinions so there may be instances where opposing trades can be \u201cmatched\u201d or \u201coffset\u201d with each other.<\/p>\n\n\n\n<p>When a broker&nbsp;<strong>matches one customer\u2019s trade with another customer\u2019s<\/strong>, it&nbsp;<strong>removes the market risk in a similar manner to hedging the trade with an external liquidity provider<\/strong>&nbsp;(LP).<\/p>\n\n\n\n<p>Because the broker does not send the trades to an LP, it&nbsp;<strong>saves money<\/strong>&nbsp;by NOT having to transact with an LP and pay the LP\u2019s spread.<\/p>\n\n\n\n<p>A broker can aggregate all long and short GBP\/USD positions and&nbsp;<strong>offset them against each other<\/strong>.<\/p>\n\n\n\n<p>This is why forex brokers want a large customer base. It makes it easier for them to \u201cinternalize\u201d risk.&nbsp;<strong>The larger their customer base, the more trades that occur, which means the higher the likelihood that trades can be offset with each other.<\/strong><\/p>\n\n\n\n<p>Since it costs money to trade with liquidity providers (due to the spread), this helps the broker save money.<\/p>\n\n\n\n<p>For example, the broker can see in its book that it has a total of&nbsp;<strong>10 million&nbsp;<\/strong>units of long GBP\/USD and&nbsp;<strong>8 million&nbsp;<\/strong>units of short GBP\/USD positions.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">10M long - 8M short = net 2M long<\/pre>\n\n\n\n<p>The difference would leave the broker with a&nbsp;<strong>net long 2 million&nbsp;<\/strong>GBP\/USD position.<\/p>\n\n\n\n<p>This \u201cdifference\u201d is also known as the \u201c<strong>residual<\/strong>\u201d since it\u2019s what remains after all trades are offset.<\/p>\n\n\n\n<p>What remains exposes the broker to market risk which is why it\u2019s also called \u201c<strong>residual risk<\/strong>\u201d.<\/p>\n\n\n\n<p>The broker now has to decide how to manage this residual risk.<\/p>\n\n\n\n<p>It has two choices:<\/p>\n\n\n\n<ol><li><strong>Accept<\/strong>&nbsp;the risk (\u201cDo nothing\u201d)<\/li><li><strong>Transfer<\/strong>&nbsp;the risk (\u201cHedge\u201d)<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Example: A-Book Execution vs. Internalization (Full Offset)<\/h2>\n\n\n\n<p>Elsa buys and Ariel sells the same amount of the same currency pair (GBP\/USD) at the same time.<\/p>\n\n\n\n<p>Under this scenario, the broker prefers to transfer its market risk to its LP.<\/p>\n\n\n\n<p>The LP\u2019s prices are marked up by&nbsp;<strong>0.0011<\/strong>&nbsp;or&nbsp;<strong>1 pip<\/strong>:<\/p>\n\n\n\n<p>Let\u2019s see the difference between A-Book execution and Internalization.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A-Book<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2021\/06\/19160612\/a-book-vs-internalization-full-offset.png\" alt=\" A-Book Execution vs. Internalization (Full Offset)\" class=\"wp-image-209213\" title=\" A-Book Execution vs. Internalization (Full Offset)\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Internalization<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bpcdn.co\/images\/2021\/04\/26123057\/internalization.png\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2021\/04\/26123057\/internalization.png\" alt=\"Internalization\" class=\"wp-image-200920\" title=\"Internalization\"\/><\/a><\/figure>\n\n\n\n<p>If the broker exercised A-Book execution, it \u201cpaid the spread of LP\u201d and the broker\u2019s P&amp;L vs. LP would equal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(1.2007 \u2212 1.2010) x 1,000,000 = -300 USD<\/pre>\n\n\n\n<p>If the broker took advantage of the fact that the trades happened at the same time and didn\u2019t hedge with an LP, then it wouldn\u2019t have paid that cost.<\/p>\n\n\n\n<p>The primary risk for a broker operating the Internalization model occurs when positions are not completely offset, leaving the broker with&nbsp;<strong>exposure to price movements which could result in a loss<\/strong>.<\/p>\n\n\n\n<p>If a broker has customer orders that can offset each other partially, then the broker is left with a much&nbsp;<strong>smaller net position<\/strong>&nbsp;that leaves the broker exposed to market risk.<\/p>\n\n\n\n<p>Again, this is known as \u201c<strong>residual risk<\/strong>\u201d.<\/p>\n\n\n\n<p>It can manage this residual risk in two ways:<\/p>\n\n\n\n<ol><li>The broker can transfer this risk externally to a liquidity provider by executing a hedge trade.<\/li><li>The broker can accept this risk and manage it internally.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Example: A-Book Execution vs. Internalization + Hedge Order<\/h2>\n\n\n\n<p>Let\u2019s see the difference between A-Book execution and Internalization followed by a hedge trade:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A-Book<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2021\/04\/26122936\/a-book-vs-internalization-full-offset-780x690.png\" alt=\" A-Book Execution vs. Internalization (Full Offset)\" class=\"wp-image-200919\" title=\" A-Book Execution vs. Internalization (Full Offset)\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Internalization + Hedge Order<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2021\/04\/26123600\/internalization-and-hedge-order-780x690.png\" alt=\"Internalization + Hedge Order\" class=\"wp-image-200921\" title=\"Internalization + Hedge Order\"\/><\/figure>\n\n\n\n<p>If the broker exercised A-Book execution then the broker\u2019s realized P&amp;L vs. LP would equal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(1.2008 \u2212 1.2009) x 1,000,000 = -100 USD<\/pre>\n\n\n\n<p>But the broker didn\u2019t necessarily need to A-book Elsa\u2019s trade because Eric\u2019s trade could\u2019ve offset.<\/p>\n\n\n\n<p>So if the broker had \u201cinternalized\u201d or aggregated all GBP\/USD positions, it wouldn\u2019t need to hedge Elsa\u2019s trade and would\u2019ve saved money by not paying the LP\u2019s spread.<\/p>\n\n\n\n<p>Even after internalization, this still leaves the broker with a<strong>&nbsp;net short position of 2,000,000 GBP\/USD<\/strong>.<\/p>\n\n\n\n<p>As you can see, the broker&nbsp;<strong>hedged this residual risk with an LP<\/strong>.<\/p>\n\n\n\n<p>If there are enough trades of similar size to offset one another,&nbsp;<strong>internalization can be very profitable for a broker<\/strong>.<\/p>\n\n\n\n<p>That said, if positions remain that can\u2019t be offset,<strong>&nbsp;this residual risk exposes the broker to the same market risk as a B-Book trade<\/strong>.<\/p>\n\n\n\n<p>A common practice when brokers internalize trades is to:<\/p>\n\n\n\n<ol><li>First,&nbsp;<strong>offset customer positions against each other<\/strong>, and then\u2026<\/li><li>Aggregate the remaining risk exposure and hedge externally with an LP based on a \u201c<strong>volume-weighted average price<\/strong>\u201d or \u201c<strong>VWAP<\/strong>\u201d.<\/li><\/ol>\n\n\n\n<p><a href=\"https:\/\/bpcdn.co\/images\/2021\/04\/26124756\/offset-vwap.png\"><\/a>From the example above, we can see that Elsa\u2019s trade was internally offset by Ariel\u2019s trade.<\/p>\n\n\n\n<p>Elsa went long 100,000\u00a0GBP\/USD, while Ariel went short 100,000 GBP\/USD, so the broker\u2019s risk exposure is zero.<\/p>\n\n\n\n<p>But then three other traders, Eric, Jasmine, and Louis, went long GBP\/USD at different prices.<\/p>\n\n\n\n<p>With no other customers going short, the broker wants to hedge this risk.<\/p>\n\n\n\n<p>Instead of hedging each trade individually, the broker<strong>&nbsp;aggregates the three separate trades<\/strong>&nbsp;and creates just a single hedge trade with an LP based on a&nbsp;<strong>VWAP of 1.2511<\/strong>.<\/p>\n\n\n\n<p>Here\u2019s how VWAP is calculated:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><thead><tr><th>TRADER<\/th><th>VOLUME<\/th><th>PRICE<\/th><th>NOTIONAL VALUE<\/th><\/tr><\/thead><tbody><tr><td>Eric<\/td><td>200,000<\/td><td>1.2508<\/td><td>250,160<\/td><\/tr><tr><td>Jasmine<\/td><td>300,000<\/td><td>1.2510<\/td><td>375,300<\/td><\/tr><tr><td>Louis<\/td><td>500,000<\/td><td>1.2512<\/td><td>625,600<\/td><\/tr><tr><td><\/td><td>1,000,000<\/td><td><\/td><td>1,251,060<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>VWAP<\/strong> = Total Notional Value \/ Total Volume\n<strong>VWAP<\/strong> = 1,251,060 \/ 1,000,000\n<strong>VWAP<\/strong> = 1.2511<\/pre>\n\n\n\n<p>Aggregating multiple customer trades is a common practice for brokers since&nbsp;<strong>trading with most LPs requires a minimum trade size<\/strong>, usually at least&nbsp;<strong>1 standard lot<\/strong>&nbsp;or increments of&nbsp;<strong>&nbsp;100,000 units<\/strong>.<\/p>\n\n\n\n<p>So if a broker\u2019s customers are opening positions&nbsp;<strong>smaller than 100,000 units<\/strong>, then the broker has to wait until other customers trade where it can then \u201c<strong>bundle<\/strong>\u201d the risk from the different trades<\/p>\n\n\n\n<p>Another reason that a broker may aggregate orders is that it&nbsp;<strong>reduces the time it takes to get all hedged with an LP<\/strong>.<\/p>\n\n\n\n<p>For example, if the broker is using\u00a0STP execution, the execution of many small buy orders one at a time could \u201c<strong>signal<\/strong>\u201d to an LP that this pattern may continue.<\/p>\n\n\n\n<p>If it detects more orders interested in buying than selling, it can \u201cshade\u201d the price and raise the ask (buy) price higher than it normally would.<\/p>\n\n\n\n<p>This may result in the broker\u2019s customers getting worse fills than if the broker just sent&nbsp;<strong>one, single order to the LP<\/strong>.<\/p>\n\n\n\n<p>This is particularly important in illiquid or fast-moving markets.<\/p>\n\n\n\n<p>Here\u2019s a summary of how a forex broker benefits depending on its execution method and the outcome of a trade:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>Customer\u2019s Trade<\/strong><\/td><td><strong>Broker\u2019s Order Execution<\/strong><\/td><td><strong>Benefit<\/strong><\/td><\/tr><tr><td>WIN<\/td><td>B-Book (Accepts risk)<\/td><td>Customer\u2019s gain is broker\u2019s loss<\/td><\/tr><tr><td>WIN<\/td><td>A-Book (Transfer risk)<\/td><td>Broker\u2019s spread \u2013 LP\u2019s spread<\/td><\/tr><tr><td>WIN<\/td><td>Internalize (Offset risk with another customer)<\/td><td>Broker\u2019s spread<\/td><\/tr><tr><td>LOSE<\/td><td>B-Book (Accept risk)<\/td><td>Customer\u2019s loss is broker\u2019s gain<\/td><\/tr><tr><td>LOSE<\/td><td>A-Book (Transfer risk)<\/td><td>Broker\u2019s spread \u2013 LP\u2019s spread<\/td><\/tr><tr><td>LOSE<\/td><td>Internalize (Offset risk with another customer)<\/td><td>Broker\u2019s spread<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>With A-Book (or STP) execution, the broker manages the risk of each trade&nbsp;individually. But what if one trader opens a long GBP\/USD position, and another trader opens a short GBP\/USD position&nbsp;at or around the same time? Rather than the\u00a0A-Book broker\u00a0having to hedge each trade separately with an LP, why can\u2019t the risk exposure from the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[768],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/9495"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=9495"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/9495\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=9495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=9495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=9495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}