<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lubin on Medium]]></title>
        <description><![CDATA[Stories by Lubin on Medium]]></description>
        <link>https://medium.com/@lubinium?source=rss-edfc16f51d68------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*TYcdantiquieMe865LUMQw.jpeg</url>
            <title>Stories by Lubin on Medium</title>
            <link>https://medium.com/@lubinium?source=rss-edfc16f51d68------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:12:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lubinium/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Method For Crypto Put-Call Arbitrage]]></title>
            <link>https://medium.com/@lubinium/a-method-for-crypto-put-call-arbitrage-ff67739ad03e?source=rss-edfc16f51d68------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff67739ad03e</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[deribit]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[arbitrage-trading]]></category>
            <category><![CDATA[arbitrage]]></category>
            <dc:creator><![CDATA[Lubin]]></dc:creator>
            <pubDate>Mon, 24 Aug 2020 10:26:37 GMT</pubDate>
            <atom:updated>2022-06-21T11:05:05.490Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0u97w2o_AWlc-4wB" /><figcaption>Photo by <a href="https://unsplash.com/@miracleday?utm_source=medium&amp;utm_medium=referral">Elena Mozhvilo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Put-Call parity describes the price relationship between puts and calls of options with the same strike price and expiry date.</p><p>Due to the fact that the return from holding an asset can be emulated by call and put options, the price of the call, put and underlying asset need to <strong>balance</strong> each other out. Where there is deviation from this equilibrium, there might be opportunity for arbitrage.</p><h4>An Informal Put-Call Parity Equation</h4><p><em>(Note: an alternative discussion that uses a more formal version of the Put-Call Parity equation can be found at the end of this article.)</em></p><p>Given the following,<br>c = price of call option<br>p = price of put option<br>K = option strike price<br>Sø = current spot price of the underlying asset<br>Sᴛ = price of the underlying asset at expiry</p><p>the profit in holding a call, a put and the asset itself, as a function of Sᴛ, is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R5YWmOP3NoGh7DzqJfqCjA.png" /></figure><p>Now, if we were to buy a put and sell a call, our profit function will be as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xQyfRl-4dy7E7qYZJXtMQ.png" /></figure><p>In addition to having bought a put and sold a call, we now buy a corresponding unit of the underlying asset as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*nQppsqAtnmGwkXzFsa5SuQ.png" /></figure><p>Profit is now independent of Sᴛ. Sᴛ can only be known at expiration, but the profit is now a constant value defined by K, p, c and Sø, all of which can be known before carrying out any trade.</p><p>If the market is efficient, p, c and Sø should be priced such that:</p><h3><strong>K-p+c-Sø = 0</strong></h3><p>This is our informal put-call parity equation.</p><p>Note that the constant <em>K-p+c-Sø </em>may be negative. Our strategy will involve looking for combinations of K, p, c and Sø such that the profit <em>K-p+c-Sø </em>is positive.</p><h3>Put-Call Arbitrage In Crypto</h3><h4>Use Case</h4><p>We consider option contracts offered on the <a href="http://deribit.com/">Deribit</a> platform with BTC as the underlying asset. Option prices are quoted in BTC and traded with BTC. The contract size is 1 BTC per contract.</p><p>From the above discussion, we have <br><strong>profit = K-p+c-Sø</strong></p><p>Substituting c for c₁×Sø, p for p₁×Sø , where<br>c₁ = best call bid offer quoted in BTC<br>p₁ = best put ask offer quoted in BTC</p><p>we get<br>profit = c₁×Sø + K -p₁×Sø -Sø<br>profit = Sø×(c₁-p₁-1) + K</p><p>For profit &gt; 0, we need Sø &lt; K / (1+p₁-c₁).</p><p><strong>If we can find spot exchanges where BTC can be purchased for a price, Sø, which is less than K / (1+p₁-c₁), we can profit from this deviation in the call, put and spot prices.</strong></p><h4>Payout At Expiration</h4><p>Note that when holding a short call and long put of the same expiry and strike, the payout upon expiration is always K-Sᴛ. This will be positive or negative depending on whether K is bigger or smaller than Sᴛ. Converting this to BTC, where Sᴛ is the value of 1 BTC at expiration, we have<br><strong>payout in BTC = (K / Sᴛ) -1</strong></p><p>This means that for each short call — long put position we hold, we will gain K/Sᴛ BTC and lose 1 BTC at expiration.</p><p>How this factors into our strategy hopefully becomes clearer in the following example.</p><h4>Example</h4><p>On Deribit:<br>c₁ = 0.06 BTC<br>p₁ = 0.0025 BTC<br>K = 11,000 USD</p><p>Suppose we scour several crypto exchanges and find one where 1 BTC is available for 11,600 USDT.<br>Sø = 11,600 USDT</p><p>In this example we will factor in the following fees:</p><p>Exchange Tx Fee: 0.1%<br>Exchange Withdrawal Fee: 0.0005 BTC<br>Deribit Tx Fee: 0.0004 BTC<br>Deribit Settlement Fee: 0.0002 BTC <em>(Fee paid upon settlement of an option contract that expires in-the-money. Note that in the case of a call and a put of the same expiry and strike, only one of them will expire in the money.)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q-oVFpDva-MdYl0T7eCUNQ.png" /></figure><p>Balances at the end of steps 1–6:</p><blockquote><em>Deribit: 1 BTC<br>Exchange: -10,961.36 USDT</em></blockquote><p>Balances upon expiry:</p><blockquote><em>Deribit: 11,000/Sᴛ BTC<br>Exchange: -10,961.36 USDT</em></blockquote><p>11,000/Sᴛ BTC may be kept in BTC for future trading. At this point there is 11,000 USDT worth of BTC on Deribit and -10,961.36 USDT on the exchange. The arbitrage profit value would be 11,000 - 10,961.36 = 38.64 USDT.</p><p>Or the 11,000/Sᴛ BTC may be moved to a spot exchange and converted to realise arbitrage profit in USDT. Further withdrawal and transaction costs would need to be factored in here. Assuming we can move the assets fast enough such that there is no slippage and 11,000/Sᴛ BTC can be converted to 11,000 USDT, an example computation is:<br>(11,000 × 0.999) – 6 –10,961.36 = 21.64 USDT,<br>where the Deribit withdrawal fee is 6 USDT and the exchange takes 0.1% from the received asset on each trade as its trading fee.</p><h4>Other Considerations</h4><p>Note that K is quoted in USD on Deribit. For the computations here it is assumed that USD and USDT are tied at 1:1.</p><h3>Quick Survey On Available Opportunities</h3><p>I wrote <a href="https://github.com/lubintan/put-call-arb">this script</a> to poll Deribit, Binance and Kraken to have a glimpse at the potential opportunities available for this sort of arbitrage. Here are the results for a 24h period beginning from August 20th 2020. <br>Option contracts with an expiry date up to 6 months away were considered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HGkFAJjQg59kuYiWpKGSVA.png" /><figcaption>Options expiring in August 2020.</figcaption></figure><p>These charts show the available profit per contract (whose underlying asset is 1 BTC) against time. <br>Contracts that did not record any potential profit across the 24h period are not shown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_--zqSMX--C5ZA4mOR0e0w.png" /><figcaption>Options expiring in September 2020.</figcaption></figure><p>The maximum profit in USDT for contracts expiring in August was roughly 13, whereas those for contracts expiring in September and December were 110 and 330 respectively.</p><p>From here, it seems like options expiring further away provide more arbitrage profit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4qqn0icwXCNLKuLSmrXYQ.png" /><figcaption>Options expiring in December 2020.</figcaption></figure><p>However, bear in mind that the resources used to perform the arbitrage will need to be locked up until the contracts expire. Premature releasing of these resources is possible but will introduce more risk. <br>(This is due to the final settlement payout containing Sᴛ, which can only be known at expiration.)<br>This would defeat the purpose of our trying to perform arbitrage in a risk-free manner.</p><h3>Put-Call Parity Equation Alternative Discussion</h3><p>One formal version of the Put-Call parity equation is as follows:</p><h3>c + K(1 + r)⁻ᵀ = p + Sø</h3><p><em>where</em><br>c = price of call option<br>K = option strike price<br>r = risk-free interest rate<br>T = time from now to option expiry<br>p = price of put option<br>Sø = current spot price of the underlying asset.</p><p>Now, let Sᴛ = price of the underlying asset at expiry.</p><p>According to the above equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s16vvpmmdks4owF2IgsmLA.png" /><figcaption>Return at Expiration of LHS vs RHS.</figcaption></figure><p><em>Buying a call and investing an amount that matures to K at expiry<br>(left hand side aka LHS)</em></p><p>will give us the same return as</p><p><em>Buying a put and buying the underlying asset<br>(right hand side aka RHS).</em></p><p>Since the returns of both LHS and RHS are equal, if we short one and long the other, we effectively have a neutral position.</p><p>At time 0, if the gain from shorting LHS is more than the cost of longing RHS, or vice versa, we have an opportunity for arbitrage.</p><h4>If LHS is greater, we perform the following.</h4><blockquote>LHS: Sell call, borrow present value of K.<br>RHS: Buy put, buy asset.<br>This is known as a forward conversion.</blockquote><blockquote>c + K(1 + r)⁻ᵀ &gt; p + Sø<br>net difference gained= c + K(1 + r)⁻ᵀ-(p + Sø)</blockquote><h4>If RHS is greater, we perform the following.</h4><blockquote>LHS: Buy call, loan out/invest present value of K.<br>RHS: Sell put, short asset.<br>This is known as a reverse conversion.</blockquote><blockquote>c + K(1 + r)⁻ᵀ &lt; p + Sø<br>net difference gained = p + Sø -(c + K(1 + r)⁻ᵀ)</blockquote><h4>Simplifications</h4><p>For our purposes, the following simplifications will be made.</p><ol><li>We will only consider the forward conversion method. The reverse conversion involves shorting the underlying asset, which involves further computation of fees and interest rates unique to each exchange. This also eats into our profits.</li><li>We will consider the present value of K to simply be K, ie. r = 0. Apart from the additional computation that needs to be catered to each lending platform’s fee and interest structure, there is the borrowing/lending fee itself, and for a forward conversion, interest on the borrowed amount needs to be paid. These all eat into our profits.</li></ol><p>The above put-call parity equation is thus simplified to</p><h3>c + K = p + Sø</h3><p>or<br><strong>K-p+c-Sø = 0, </strong>the informal equation we used above.</p><p>Note that with the rise of both centralized crypto lending platforms as well as DeFi platforms, and the ability to borrow or loan crypto programmatically, there should be an increasing number of ways we can incorporate <strong><em>r</em></strong>.</p><p>Hopefully this was useful in helping you gain some understanding of put-call arbitrage in crypto, or as a foundation for generating new trade ideas.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff67739ad03e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Leveraged Tokens Work]]></title>
            <link>https://medium.com/@lubinium/how-leveraged-tokens-work-c9a5ed9c656f?source=rss-edfc16f51d68------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9a5ed9c656f</guid>
            <category><![CDATA[portfolio-management]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[leveraged-token]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Lubin]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 02:16:46 GMT</pubDate>
            <atom:updated>2020-03-02T02:16:46.303Z</atom:updated>
            <content:encoded><![CDATA[<p>Along with options and futures, leveraged tokens are another product that has made its way from the wider financial world into crypto exchanges. Leveraged tokens are commonly named something like BEAR, BULL, HEDGE, COIN3X, so on and so forth. The idea seems straightforward: If BTC/USD is up 10% for the day, an investment in a 3X token will give us a 30% gain for the day; if BTC/USD is down 10% for the day, the 3X token investment will result in a 30% loss. And all these without us having to borrow funds, and in some cases, without the risk of our funds going to zero.</p><h3>How?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CwmCF293BfWi-eUP" /></figure><p>I wanted to not just understand the pros and cons of leveraged tokens, but also the mechanics behind how token issuers achieve their promised results. Having come from a non-financial background, I realized that most of these answers could be found in financial products that have long existed like Leveraged ETFs and Daily Leverage Certificates.</p><p>This is my attempt at giving a general overview of how a leveraged token might achieve its function and making it understandable to laymen like myself. Practical implementation details will vary according to the token issuer.</p><p>Inspired by the information found <a href="https://sixfigureinvesting.com/2012/03/under-the-hood-of-a-leveraged-etf/">here</a> and <a href="https://www.planet-ss.com/articles/GuideToDailyLeverageCertificates.pdf">here</a>.</p><p><em>As always, this article is meant to be informative and does not constitute investment advice. Leveraged tokens involve a great deal of risk, something that has become clearer to me the more I have dived into its inner workings.</em></p><h3>Walkthrough</h3><p>Let’s attempt to create a 3X Daily BTC token — we’ll call this B3X. This means that whatever percentage price change BTC/USD sees in 1 day, B3X/USD will see 3 times that percentage change.</p><p>Suppose 1 BTC is currently trading at 10,000 USD.</p><p>We offer our 1 B3X at 10,000 USD as well. Someone buys our B3X and we now have 10,000 USD. We then borrow 20,000 USD so that we can buy a total of 3 BTC. Our B3X is now worth 3 BTC minus 20,000 USD.</p><blockquote>B3X Price = 3 x BTC Price — 20,000 USD</blockquote><blockquote>For BTC @ 10,000 USD,</blockquote><blockquote>B3X = 3(10,000) — 20,000 = 10,000 USD</blockquote><p>If BTC goes up by 10% to 11,000 USD, our 3 BTC will be worth 3 x 11,000 = 33,000.</p><blockquote>B3X Price = 33,000–20,000 = 13,000 USD</blockquote><blockquote>(13,000–10,000) ÷ 10,000 = 0.3</blockquote><blockquote>==&gt; Our B3X has gained 30%.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R5cInx0P8iywiJDxIwmN5w.png" /><figcaption>Our B3X token will gain or lose 3 times of BTC’s daily gain or loss. For now. 😈</figcaption></figure><p>To recap, we calculate the current USD value of B3X by taking the USD value of its holdings minus the USD value of its debt.<br>Using the headings in the table, this would be:</p><p><strong>Value of B3X (USD) = Num of BTC Held x BTC Price (USD) — Debt (USD)</strong></p><p><em>Note: In order to attain a multiple of the percentage change found in the underlying asset (BTC in our case), debt has to be incurred. This can be done in a variety of ways including institutional agreements, trading in futures, as well as loans. For the sake of simplicity, we will assume the token issuer takes out loans without interest. In practice, the debt incurred will come with interest, which may be factored into the value of the leveraged token or passed on to investors in the form of fees.</em></p><p>So far, our token has not performed differently from regular margin trading — we have simply borrowed funds and used it to buy more of an asset, with a view to eventually sell the asset and return the funds we initially borrowed.</p><p>Leaving everything as is, let us look at what happens when we go on to the next day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PQINyul4lNW362vzQjhrOQ.png" /><figcaption>B3X’s daily change this time is only 2.5 times that of BTC’s 10% gain.</figcaption></figure><p>And the next few days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QOn5k6b9nZQtV0I06jjmUg.png" /><figcaption>B3X is not able to keep up.</figcaption></figure><h3>Reference Points</h3><p>When we purchased our 3 BTC, it was done at 10,000 USD per BTC. Any change in BTC value would be referenced to the point where BTC’s value was 10,000 USD.</p><p>This was the case at the end of Day 1, which correctly gave us the 30% daily change. But for the end of Day 2, the 10% BTC change was referenced to BTC’s Day 2 starting price of 11,000 USD.</p><p>Let’s have a look again at our first equation for B3X’s value.</p><blockquote>B3X Price = 3 <strong>× </strong>BTC Price — 20,000 USD</blockquote><p>Can you tell which component is not accounting for the daily update in BTC’s price?</p><p>The 20,000 USD debt was based on us being able to purchase 2 BTC at 10,000 USD each, which was the BTC/USD price at the start of Day 1 and remains static in our computations for the value of B3X. This component needs to change each day, but will also affect the amount of BTC we are holding (3 BTC). Changes in our debt amount will need to correspond to changes in how much BTC we hold.</p><p><strong>Additional Debt = ± Additional BTC bought or sold × Current BTC Price</strong></p><p>We will look at how to balance these numbers, but for now, it is important to note that had we evaluated the price movement of BTC not on a daily basis, but on a 5-day basis, our B3X token would have achieved the desired effect of 3 times BTC’s % change.</p><h4>Day 1-to-5 % change for BTC = (16,105 –10,000) ÷ 10,000 = 61.05%</h4><h4>Day 1-to-5 % change for B3X = (28,315 –10,000) ÷ 10,000 = 183.15%</h4><p>183.15% is 3 times of 61.05%.</p><h3>Time Frames</h3><p>The time frames over which leveraged tokens are evaluated is the main difference between them and simply borrowing funds to buy more of an asset and holding that margin position.</p><p>A margin position can be viewed as a leveraged token with an undefined time frame. In our example, if we were to evaluate our B3X value at any time with reference to Day 1 when BTC was worth 10,000 USD, the percentage change in B3X value will always be 3 times that of BTC over that same time period. <em>(Math shown </em><a href="#c6fb"><em>here</em></a><em>.)</em></p><p>A <strong>DAILY</strong> leveraged token aims to achieve their 3X target with reference to the <strong>start of the day</strong>. For a daily B3X token, the percentage change in B3X value will always be 3 times that of BTC’s percentage from the start of the day to that particular point of time during the day.</p><p><em>Note: since crypto exchanges are open round the clock and do not have daily opening and closing times like traditional stock exchanges, prices at the end of the previous day = prices at the start of the current day.</em></p><h3>Rebalancing Act</h3><p>In order to make sure our daily leveraged token performs its function each day, we need to adjust the debt and amount of BTC held at the start of each day. In order words, we need to figure out how much additional BTC to purchase or sell so that the value of B3X will be positioned to move 3 times BTC’s percentage change when referenced to the BTC price at the start of the day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sawy7fm1Ex52MJgj9_wvxA.png" /><figcaption>We want to find how much additional BTC we need to purchase or sell at the end of Day 1, in order to get to our target of 3 times BTC’s change by the end of Day 2.</figcaption></figure><p>In general, the amount of additional BTC needed to rebalance a leveraged token is given by,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvUVNP3AaizgXPSdSpGoSA.png" /><figcaption>Math shown <a href="#9b2b">here</a>.</figcaption></figure><p>In our example, at the end of Day 1,</p><p>M = 3, B3X Value = 13,000, BTC Value = 11,000, BTC Held = 3, so</p><blockquote>Additional BTC = 3 x 13,000 ÷ 11,000 — 3 = 0.545</blockquote><p>Plugging this back into our table,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7QN3gO-qMxxmoHuaWYZrzw.png" /><figcaption>We are now able to achieve the 3X percentage daily change for B3X on Day 2.</figcaption></figure><p>Going further,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZqlu3kq-4m3dML5ZLMoTQ.png" /></figure><p>Let’s try with a different example and vary the BTC % Daily Change,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tJ75KSPXxsLFg-OrxwdMMQ.png" /><figcaption>% Daily Change for B3X remains 3 times that of the % Daily Change for BTC. Note that when Additional BTC is negative it means we sell off BTC for USD and our Debt (USD) decreases as a result.</figcaption></figure><h3>Spanner In The Works</h3><p>What if on day 5, instead of falling 26.93%, BTC fell 35% instead? Since B3X is structured to move 3 times of BTC’s percentage move, any decline of more than 33.33% in BTC’s price would result in a more than 100% drop in B3X’s value and effectively bring it to 0.</p><p>What if this decline happened in the middle of the day and BTC later rose by 40%? Note that the value of B3X changes along with BTC throughout the day and that B3X can be traded throughout the day — it is the rebalancing that happens only once a day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnDgWawkwBqFnXpNe6i_1g.png" /></figure><p>If B3X’s value were to fall to 0, and BTC subsequently rose 40%, should B3X’s value remain at 0 since 3 × 40% of 0 is still 0? Should B3X’s value simply reflect the current value of its BTC holdings minus debt? At 2pm, should B3X’s value be 0, or a negative value, whatever that practically means?</p><p>Some token issuers may have custom protocols to deal with the case where their leveraged token drops to 0. Most token issuers will have a prevention mechanism in place to try and avoid this situation altogether. This mechanism is sometimes known as an “airbag” mechanism.</p><h3>Airbag</h3><p>Instead of waiting until the end of the day to rebalance, most leveraged tokens will rebalance when their value has been deemed to have dropped dangerously low. In our example, a move in BTC by -33.3% will result in a -100% move in B3X, so the trigger point for rebalancing might be set at -30%. What this does is shift the reference point to a BTC price that is lower than before, so that the 3X percentage change results in a smaller absolute change than before. Let us look at an example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d_GKdqjmm-htppGxUCsoTQ.png" /></figure><p>When BTC hits a loss of 30%, B3X experiences a loss of 90%, but an airbag rebalance is then triggered. When BTC falls further to 6,856 USD, B3X experiences a 21.414% loss, but this only results in a 232 USD drop in B3X value. Even though BTC fell by 527 USD, a corresponding 3X percentage drop in B3X is equivalent to just 232 USD.</p><p>Overall, BTC still fell by 35% from 10,547 to 6,856, but B3X fell by a total of 92.14% from 10,803 to 849 due to the airbag rebalancing.</p><p>Let’s look at what would happen if BTC were to keep falling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IWP1FnEmFkuzvfLqlch9g.png" /></figure><p>After each airbag rebalancing, once BTC hits -30% again, the next airbag rebalancing would be triggered. Since B3X’s value can only fall a maximum of 90% before getting rebalanced, in theory, if we are allowed an unlimited number of decimal places, the B3X value will simply tend towards but never reach 0. In practice, again, different token issuers should have various protocols in their Ts &amp; Cs to deal with cases where their leveraged token value approaches or hits 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CDuxeCDXgUTtFrgWm1EaBQ.png" /><figcaption>Chart showing airbag rebalancing triggered at 13:00 (1pm), 14:00 and 15:00.</figcaption></figure><p>Let’s go back to our earlier example and look at what happens when BTC goes back up after airbag rebalancing is triggered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIRwcTZmkbCq9wRAYALpOA.png" /></figure><p>BTC fell by 30%, then after the rebalance rose by 39% to 10,284.</p><h4>Total BTC movement for Day 5: (10,284–10,547) ÷ 10,547 = –2.5%</h4><p>B3X fell by 90%, then after the rebalancing rose by 118%.</p><h4>Total B3X movement for Day 5: (2,354–10,803) ÷ 10,803 = –78.2% !!!</h4><p>While airbag rebalancing can slow down a rapid fall, it also hampers recovery. In this example, the result is a percentage decline in B3X that is a staggering <strong>31 times </strong>that of BTC’s decline! 😱 We’ve outdone our target of 3X, and not in a good way.</p><p>Just like how real-life airbags can save lives but deliver a real blow to the face, these airbag rebalances can prevent our investments from getting wiped out but still cripple them significantly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-ftKNPpDy01WmiCX" /><figcaption>Photo by <a href="https://unsplash.com/@khadangan?utm_source=medium&amp;utm_medium=referral">arman khadangan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>A Word on the Pros and Cons</h3><p>What we have just seen is a general effect of rebalancing. Suppose no unscheduled airbag rebalance is triggered, and B3X is down 50% for the day. After rebalancing, B3X will need to gain 100% within the next day in order to fully recover. This corresponds to a 16.67% drop in BTC the first day and a gain of 33.3% the next.</p><p>If we had simply invested in BTC instead of B3X, the 16.67% drop would be fully recovered with a 20% gain.</p><p>Regardless of the rebalancing frequency, whether it is daily, monthly or every second, rebalancing when the BTC value is falling references our leveraged token to a lower BTC price and reduces subsequent gains if the price rebounds. Conversely, rebalancing when the BTC value is rising references our leveraged token to a higher price and increases subsequent losses if the price starts to fall.</p><p>In other words, rebalancing puts us at a disadvantage if the price changes direction after we rebalance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ala0auLqyVOHsJj4cn36GA.png" /><figcaption>Even though BTC returns to its Day 1 starting price, B3X is about 15% lower than its starting price.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fIjk4Fl6BQhmocfvhwn5Bg.png" /><figcaption>Here, BTC simply oscillates daily between 10,000 and 11,000. We see that this results in B3X trending downwards.</figcaption></figure><p>We see the benefits of rebalancing when BTC’s price keeps moving in the same direction. Imagine we have a token that works like B3X but never performs any rebalancing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCEsXEaRVbBmZ4EjY7pj8A.png" /></figure><p>B3X, with daily rebalancing, gives higher returns for periods where BTC is consecutively moving upwards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0xuKXW0crQK-jlTqlLXZg.png" /></figure><p>B3X, with daily rebalancing, reduces loss for periods where BTC is consecutively trending downwards.</p><p>And that’s it! Hopefully this has been helpful in providing a digestible explanation of leveraged tokens. Thanks for reading!</p><h3>The Math</h3><p>To keep the math in this article manageable I have moved the longer calculations to this section.</p><h4><strong>Show that for a given time frame, the percentage change in B3X will be 3 times that of the percentage change in BTC.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aj990I6fVu4wH5OSQ75C7g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7J-U0nrSE30XzuzMFzy01A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SpfI8AM8bSnk4leyQ2Ph3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aGnf2kyJ3TxpfwMVnk9uag.png" /></figure><h4>Additional BTC Equation (for rebalancing)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9cwIuEyntXmrZa3vIF8Lyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4MhKqPTpp_KRaq7kdJhLNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9-2O3KhUyX02VlM-hcMu-w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XWNX2PtyxCp5PDouiVc4Xg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXoRwgumJmrJ-1Ucvl55RQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9a5ed9c656f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>