<?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 John Dummett on Medium]]></title>
        <description><![CDATA[Stories by John Dummett on Medium]]></description>
        <link>https://medium.com/@zoomerjd?source=rss-f81bcec909e6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*tjbb4DG39mQGNg68WsXcUg.png</url>
            <title>Stories by John Dummett on Medium</title>
            <link>https://medium.com/@zoomerjd?source=rss-f81bcec909e6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:59:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zoomerjd/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[Getting Liquidated on FTX vs BitMEX]]></title>
            <link>https://medium.com/@zoomerjd/getting-liquidated-on-ftx-vs-bitmex-7903d3787026?source=rss-f81bcec909e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7903d3787026</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ftx]]></category>
            <category><![CDATA[bitmex]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[trading]]></category>
            <dc:creator><![CDATA[John Dummett]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 22:24:01 GMT</pubDate>
            <atom:updated>2020-02-28T22:35:27.356Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In this guide, I will explain the liquidation process/price on FTX for BTC-PERP and compare it to the process/price on BitMEX for XBTUSD. I will then explain which exchange it is better to get liquidated on and why.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Nelk_CLihHhfgfppYtnRA.jpeg" /></figure><h4>Contents</h4><ul><li>What liquidation means on each exchange</li><li>The liquidation process of FTX</li><li>The liquidation process of BitMEX</li><li>Key differences between the liquidation process on FTX vs BitMEX</li><li>Comparing liquidation prices for an example position on BitMEX vs FTX</li><li>Comparing mark price calculation methods on FTX vs BitMEX</li><li>Additional resources</li></ul><h4>What liquidation means on each exchange</h4><p>On FTX liquidation means that the exchange is taking over your account to force close its position in the market, leaving for the user any remaining collateral in the account at the end of this process. If it cannot close the position before the auto-close price is reached, the position is auto-closed (more detail on what this means below) and all account funds are lost.</p><p>On BitMEX liquidation means that the exchange is taking over your position to force close it in the market, all funds assigned to the position are lost.</p><h4>The liquidation process of FTX</h4><p>FTX employs a multi-step liquidation process whereby the exchange first attempts to close the liquidated position in the market. From the FTX <a href="https://help.ftx.com/hc/en-us/articles/360027668712-Liquidations">documentation</a>, “Approximately every 6 seconds, we send 10% of the position size as a order on the market...for small positions it will aim to fully close down the position in about one minute.”</p><p>If the position cannot be closed before reaching the auto-close threshold, the account is auto-closed. At this step the liquidated position is handed off to BLPs (“backstop liquidity providers”) who are tasked with closing the position. If the BLPs can close the position in profit they can keep 2/3 of the remaining collateral for themselves and the other 1/3 goes to the insurance fund. The account holder loses all account collateral if they are auto-closed.</p><p>There is a backup process (which appears to be a copy of the <a href="https://www.bitmex.com/app/autoDeleveraging">ADL</a> system on BitMEX) for situations where there are no BLPs available to take over the position, “the remaining size is closed against users with large opposing positions (starting with the top 10 opposing positions, more if their total is insufficient), in proportion to their position sizes.”</p><h4><strong>The liquidation process of BitMEX</strong></h4><p>BitMEX also employs a multistep liquidation process. As per <a href="https://www.bitmex.com/app/liquidation">the documentation</a>, the exchange first cancels all open orders on the same contract as the position in order to release margin. If the margin released by these cancelled orders is enough to bring the position back above the liquidation threshold, the position reverts to being open, in control of the user and no funds are lost.</p><p>In the case that there is still not enough margin on the position after cancelling any open orders, all funds assigned to the position are lost and the liquidation engine closes the position in the market. The details of the exact process the liquidation engine uses to close the position are not public — however 100% of remaining collateral goes to the insurance fund.</p><p>In the case the position cannot be closed before going bankrupt, the exchange will top up the position with funds from the insurance fund. If there are no insurance funds available, then <a href="https://www.bitmex.com/app/autoDeleveraging">ADL</a> is used.</p><h4>Key differences between the liquidation process on FTX vs BitMEX</h4><ul><li>On BitMEX liquidations are triggered for each position independently (ie, when on isolated margin you only stand to lose the margin assigned to the position, other account funds are not touched), on FTX liquidations are triggered for the whole sub-account</li><li>On FTX the exchange intervenes earlier than BitMEX and has two distinct liquidation and auto-close steps (ie, there is a higher chance of collateral remaining after liquidation), on BitMEX the exchange intervenes later and in practice most liquidated positions go straight through to the equivalent of FTX’s auto-close step (ie, all funds are lost)</li><li>Margin on FTX is counted in USD and contracts have linear PNL curves, where as on BitMEX margin is counted in Bitcoin — on some contracts this can cause a <a href="https://blog.bitmex.com/xbt-vs-xbu-chain/">non-linear PNL curve</a> which results in liquidation occurring more/less quickly depending on the direction of the trade</li><li>On FTX auto-closed positions are sent to BLPs who receive 2/3 of the remaining collateral and only 1/3 goes to the insurance fund, on BitMEX liquidated positions are closed by an internal liquidation engine and 100% of remaining collateral is sent to the insurance fund</li><li>The maintenance margin requirement on FTX changes depending on the leverage level selected, where as on BitMEX it is constant no matter what leverage is used — more on this very important point in the next section below</li></ul><h4>Comparing liquidation prices for an example position on BitMEX XBTUSD vs FTX BTC-PERP</h4><p><strong>Take the following scenario:</strong><br>Entry price of position = $10,000<br>Size = Long $200,000 notional value<br>Entry Value in Bitcoin = 20 Bitcoin<br>Initial Margin = 1 Bitcoin (BitMEX), $10,000 (FTX)</p><p>Here are the calculated liquidation thresholds (ie, the percent of the position value that must be available in XBT for BitMEX or USD for FTX) and the liquidation prices for the relevant positions on each exchange. Note the higher thresholds on FTX when the account leverage is set lower than 50x:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*jykhmcyufm5V32t6zWZ4Zw.png" /></figure><p>When the liquidation price is reached on BitMEX all margin assigned to the position is lost. When it is reached on FTX, the position is forced closed over a minute — however if the auto-close price is reached in that time, all margin assigned to the position is lost.</p><p>As you can see, when on low leverage on FTX, you will be liquidated much quicker than on BitMEX — however there is more space between the liquidation and auto-close prices so there is a relatively high chance your position will be closed without losing everything. On BitMEX your liquidation price is better than on low leverage FTX, but you will instantly lose all margin on the position when you are liquidated.</p><p>Overall the high leverage option on FTX is the best value, though there is only a small difference between the liquidation and auto-close price (so the chance of the entire position being closed with margin remaining is almost zero), this option gives you a lower price at which all margin is lost, when comparing with BitMEX and the lower leverage option on FTX.</p><p>Also worth noting is that although the liquidation threshold on BitMEX is lower than the one on the high leverage FTX option, because of <a href="https://blog.bitmex.com/xbt-vs-xbu-chain/">non-linear losses</a> on BitMEX long positions, the liquidation price is actually worse than for the same position on FTX where losses are linear. (Collateral on BitMEX is in Bitcoin, so as the XBTUSD price falls, not only does the position have unrealised losses, but the value of the margin also falls in USD terms — a double whammy effect.)</p><p>Another way to illustrate the above considerations is by looking at the effective leverage of the position at the time of liquidation and auto-close. Effective leverage is calculated as (position value / collateral remaining on position). The higher the effective leverage, the lower the amount of margin remaining on the position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*s0OXgd-BVTEcWEXWlq-5vg.png" /></figure><p>As shown in the image, the highest effective leverage is available on FTX.</p><h4>Comparing mark price calculation methods on FTX vs BitMEX</h4><p>The mark price is the price used to trigger liquidations (ie, when the mark price of a contract is equal to the position liquidation price, the position is liquidated.)</p><p>An important difference between FTX and BitMEX can be found by looking into their respective mark price calculation methods. On FTX the mark price is simply the mid price between the best bid and ask in the orderbook, this means that if the trading price of the contract wicks up/down, this wick will trigger liquidations.</p><p>Alternatively on BitMEX, the mark price is based on a number of factors including the index price and orderbook conditions, there are protections to ensure that a temporary wick up/down will not move the mark price unless the move is sustained. This means that wicks do not generally trigger liquidations — a strong reason to trade BitMEX over FTX when using high leverage.</p><h4>Additional resources</h4><ul><li><a href="https://help.ftx.com/hc/en-us/articles/360027668712-Liquidations">FTX documentation on their liquidation process</a></li><li><a href="https://help.ftx.com/hc/en-us/articles/360030937511-High-Leverage">FTX documentation on high leverage</a></li><li><a href="https://help.ftx.com/hc/en-us/articles/360027668812-Index-Calculation">FTX documentation on their mark price method</a></li><li><a href="https://www.bitmex.com/app/liquidation">BitMEX documentation on their liquidation process</a></li><li><a href="https://www.bitmex.com/app/fairPriceMarking">BitMEX documentation on their mark price method</a></li><li><a href="https://medium.com/@zoomerjd/how-to-bitmex-calculate-liquidation-price-on-xbtusd-1feac648178d">My guide to calculating liquidation prices on BitMEX in-depth</a></li><li><a href="https://docs.google.com/spreadsheets/d/1ABZsuj_XZNByJquktQYekT-Ql4ANpcaDrNqaxUklqqg/copy">My handy calculator sheet for FTX liquidation and auto-close prices</a></li></ul><p><em>I hope you found this publication useful! To ensure you don’t miss out on new publications, please follow </em><a href="https://twitter.com/zoomerjd"><em>me on Twitter</em></a><em>.</em></p><p><a href="https://twitter.com/zoomerjd">John Dummett</a></p><p><em>New to BitMEX? Sign up with my link for 10% off trading fees: </em><a href="https://www.bitmex.com/register/bUQWwU"><em>https://www.bitmex.com/register/bUQWwU</em></a></p><p><em>Or want to try FTX instead? Sign up with my link for 5% off trading fees:<br></em><a href="https://ftx.com/#a=zoomerjd"><em>https://ftx.com/#a=zoomerjd</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7903d3787026" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To BitMEX: Calculate Liquidation Price on XBTUSD]]></title>
            <link>https://medium.com/@zoomerjd/how-to-bitmex-calculate-liquidation-price-on-xbtusd-1feac648178d?source=rss-f81bcec909e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1feac648178d</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitmex]]></category>
            <dc:creator><![CDATA[John Dummett]]></dc:creator>
            <pubDate>Mon, 24 Feb 2020 20:04:16 GMT</pubDate>
            <atom:updated>2020-02-24T20:04:16.755Z</atom:updated>
            <content:encoded><![CDATA[<p><em>New to BitMEX? Sign up with my link for 10% off trading fees: </em><a href="https://www.bitmex.com/register/bUQWwU"><em>https://www.bitmex.com/register/bUQWwU</em></a></p><p>In this guide, I will show you how to calculate the liquidation price on your XBTUSD position. This is useful for planning your trades and understanding the purpose of the liquidation price.</p><h4>What is meant by the terms <em>margin</em> and <em>liquidation</em>?</h4><p>When trading on leverage, you can open a position with a larger value than the amount of bitcoin you stand to lose, this bitcoin you stand to lose is called <em>initial margin</em>. If the price moves against your position (ie, down when you are long), unrealised losses will be deducted from your <em>initial margin</em>. BitMEX requires that you have a minimum amount of margin remaining on your position, this is called your <em>maintenance margin</em> requirement.</p><p>When unrealised losses have reduced your initial margin to the point that only the maintenance margin remains, your position is <em>liquidated</em>. This means that BitMEX takes over your position and you lose all the initial margin you assigned to the position. You should avoid liquidation if possible.</p><h4>What is the liquidation price? How is it calculated?</h4><p>The liquidation price is the price at which deductions due to unrealised losses will leave only the maintenance margin remaining on your position and therefore the position will enter liquidation.</p><p>There are 4 steps to calculating the liquidation price on an XBTUSD position:<br>1) Calculate the position bankruptcy price<br>2) Calculate the position bankruptcy value<br>3) Calculate the maintenance margin value in XBT<br>4) Calculate the position liquidation price</p><p><strong>Take the following scenario:</strong><br>Entry price of position = $10,000<br>Size = Buy 200,000 contracts<br>Entry Value = 20XBT<br>Position leverage setting = 20x<br>Initial Margin = 1XBT<br>Funding Rate = 0.01%</p><p><strong>1) Calculate the position bankruptcy price<br></strong><em>To do this, we use the PNL equation from the </em><a href="https://www.bitmex.com/app/seriesGuide/XBT"><em>series guide</em></a><em> to determine the price at which the initial margin of the position has been lost.</em><strong><br></strong>Size * (1/Entry Price - 1/Bankruptcy Price) = Initial Margin * -1<br>200000 * (1/10000 - 1/Bankruptcy Price) = 1 * -1<br>Bankruptcy Price = 9523</p><p><strong>2) Calculate the position bankruptcy value</strong><br><em>To do this, we simply calculate the position value at the bankruptcy price.</em><br>Bankruptcy Value = Size * (1/Bankruptcy Price)<br>Bankruptcy Value = 200000 * (1/9523)<br>Bankruptcy Value = 200000 * 0.00010501<br>Bankruptcy Value = 21.002XBT</p><p><strong>3) Calculate the maintenance margin value in XBT</strong><br><em>The maintenance margin requirement can be found in the </em><a href="https://www.bitmex.com/app/contract/XBTUSD"><em>contract specification</em></a><em>.</em><br>Maintenance Margin = 0.50% + Exit Taker Fee + Funding Rate<br><em>What does that mean in practice?</em><br>MM = (0.5% * Entry Value) + (0.075% * Bankruptcy Value) + (0.01% * Bankruptcy Value)<br>MM = (0.5% * 20) + (0.075% * 21.002) + (0.01% * 21.002)<br>MM = 0.1178517XBT</p><p><strong>4) Calculate the position liquidation price<br></strong><em>To do this, we use the PNL equation from the </em><a href="https://www.bitmex.com/app/seriesGuide/XBT"><em>series guide</em></a><em> to determine the price at which only the maintenance margin remains on the position (ie, the rest of the initial margin has been deducted due to unrealised losses.) </em><br>(Size * (1/Entry Price - 1/Liquidation Price)) = (Initial Margin - MM) * -1<br>(200000 * (1/10000 - 1/Liquidation Price)) = (1 - 0.1178517) * -1<br>Liquidation Price = $9577.56</p><p>💪</p><h4>How can I check my calculation?</h4><p>You can check your calculation by using the BitMEX calculator tool, the calculator tool is located on the <a href="https://www.bitmex.com/app/trade/XBTUSD">trade dashboard</a>. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*3-O8VVCATJ55-B9pkBFyrw.png" /></figure><p>When using the calculator, make sure you are on the right contract and that your example does not include <a href="https://www.bitmex.com/app/exchangeGuide#Perpetual-and-Futures-Contracts">Gross Open Premium</a> (for example, if your buy price is above the current mark price, the initial margin requirement will be more than the standard (Entry Value * 1/Leverage) and the result in the calculator will not line up with your calculation.</p><p><em>This is an entry in the “How To BitMEX” series, where I impart unique knowledge to traders looking to become better users of BitMEX. To ensure you don’t miss out on new publications, please follow </em><a href="https://twitter.com/zoomerjd"><em>me on Twitter</em></a><em>.</em></p><p><a href="https://twitter.com/zoomerjd">John Dummett</a></p><p><em>New to BitMEX? Sign up with my link for 10% off trading fees: </em><a href="https://www.bitmex.com/register/bUQWwU"><em>https://www.bitmex.com/register/bUQWwU</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1feac648178d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clearing the air over the largest Bitcoin exchange]]></title>
            <link>https://medium.com/@zoomerjd/clearing-the-air-over-the-largest-bitcoin-exchange-24ad63defb29?source=rss-f81bcec909e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/24ad63defb29</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[bitmex]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[John Dummett]]></dc:creator>
            <pubDate>Sat, 22 Feb 2020 18:19:25 GMT</pubDate>
            <atom:updated>2020-02-23T08:09:15.409Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why <a href="https://medium.com/u/90326a938400">Hasu</a> was wrong about BitMEX in October 2018</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zf3WvUSTQbSNtGIcn_aelQ.jpeg" /></figure><p>I recently agreed with <a href="https://medium.com/u/90326a938400">Hasu</a> to write up my take on his article from 2018 in which he raised questions of foul play at BitMEX. I believe most of his points were wrong. So that you can refer to his article while reading mine, see here:</p><p><a href="https://medium.com/swlh/a-storm-is-brewing-over-the-largest-bitcoin-exchange-f956324b449f">A storm is brewing over the largest Bitcoin exchange</a></p><p>In his article he identified three main topics of doubt, which I will dismantle in turn:<br>- “BitMEX trades against their customers”<br>- “BitMEX weaponizes their server problems”<br>- “BitMEX monetizes customer liquidations through their insurance fund”</p><h4>On “BitMEX trades against their customers”</h4><p>Hasu’s definition of market making is accurate, however I would stress further how crucial market makers are to building a viable exchange business. Each execution on a derivatives exchange requires one maker and one taker. High liquidity (considered “high” when there is a large number of contracts made available by market makers at a price close to the middle of the orderbook) is key to success as an exchange business.</p><p>The need to attract market makers in order to function an exchange presents a chicken and egg scenario. Makers will not come unless there are taker customers eating into their orders all day. Takers will not come unless the exchange has a reputation of great liquidity and orderbooks are nice and full of orders ready to eat into. BitMEX, by having an internal market making desk, was able to fix this chicken and egg problem.</p><p>Hasu is correct that BitMEX (at this time) has not provided any further public information about the market making desk other than what was provided in <a href="https://blog.bitmex.com/bitmex-market-making-desk/">the original blog post in 2018</a>.</p><p>In his analysis on how market makers generate profit, he is incorrect however. He makes an implication that profitability necessitates some kind of directional trading against BitMEX customers, which is not true. Market makers on BitMEX receive a negative fee (rebate) on their trade executions and make additional profit by capturing the spread (the difference between the best bid and ask). <a href="https://blog.bitmex.com/how-to-market-make-bitcoin-derivatives-lesson-1/">This is how market making is profitable</a>. Market making is a non-directional, market neutral way to generate trading profits.</p><p>Hasu says that BitMEX has not confirmed whether the market making desk has any kind of priority access. This is incorrect, the <a href="https://blog.bitmex.com/bitmex-market-making-desk/">blog post from BitMEX</a> clearly states “They also have no better information <em>or access</em> than any other trader on BitMEX.”</p><p>The BitMEX market making desk provides liquidity on contracts (prioritising those with less liquidity) in order to provide a better trading experience for customers, thereby increasing trading activity and removing the chicken and egg problem of attracting maker and taker market participants. <em>The internal market making desk trades on BitMEX using the same API, same information and same access that any other trader on BitMEX has.</em></p><h4>On “BitMEX weaponizes their server problems”</h4><p>Hasu opens this topic with “BitMEX is long known for having frequent server problems” however he neglects to mention that this is because they are the most successful derivatives exchange in the industry. Building a <a href="https://www.bitmex.com/app/security#Trading-Engine-Security">mathematically perfect derivatives exchange</a>, where each participant has direct access is <a href="https://blog.bitmex.com/bitmex-technology-scaling-part-2-the-road-to-100x/">an extremely difficult task</a> and BitMEX’s accomplishment represents a phenomenal financial innovation.</p><p>A common expression amongst traders is “I trade on x exchange and they never have overload/load shedding.” (If you do not know what this is, <a href="https://www.bitmex.com/app/loadShedding">read here</a>.) What these traders do not realise is that once upon a time BitMEX did not have load shedding either and that this is not a good set up.</p><p>Load shedding ensures timely responses to exchange actions, rather than allowing a queue of actions to grow infinitely - leaving users waiting dozens of seconds for an exchange reply. No one is debating whether or not load shedding is frustrating - it is. However it will never stop you from closing a position or cancelling orders and it is a much better alternative to the stress and uncertainty of slow exchange response and lag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-Czkb15jtpOUPoH-H_oFw.gif" /><figcaption>What the engine queue looks like when there is no overload. Graphic credit: BitMEX.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZSk0bFoqae30YiRDCLrrxg.gif" /><figcaption>What the engine queue looks like when overload is occurring. Graphic credit: BitMEX.</figcaption></figure><p>Hasu misunderstands how load shedding works as he concluded that when overload is occurring there should be no trades processed. As the graphic above illustrates, when overload occurs and load shedding rejects new orders, the engine has a full plate of work to complete. This is the explanation as to why exchange activity is still occurring during load shedding events, it is not an indication of “someone trading with special access.”</p><p>If you read Hasu’s article you could be left with the impression that BitMEX is not a trusted exchange, however the opposite is true. From day one BitMEX has differentiated itself by offering fair and equal access to the exchange for all users. When BitMEX launched over 5 years ago, the space was plagued with shoddy exchanges that offered priority access schemes and other unfair arrangements. BitMEX took a stand against this and that has been the foundation of its good reputation as an honest, transparent, trustworthy institution - now recognised as the undisputed leader in crypto derivatives.</p><p>BitMEX has made clear and continuous progress in scaling the engine and platform, to accommodate more users and to improve the experience for existing users. This focus on providing the smoothest and sharpest trading experience in crypto is more profitable than any convoluted and immoral effort to weaponise load shedding could be.</p><h4>On “BitMEX monetizes customer liquidations through their insurance fund”</h4><p>BitMEX itself has already addressed most of the points raised by Hasu in his last topic of doubt over BitMEX. In particular they have addressed <a href="https://twitter.com/BitMEXResearch/status/1094894482074542080">why the size of the insurance fund is not a bad thing</a>. I will focus on addressing the points not covered in BitMEX’s post. Starting with this one:</p><blockquote>“Most contracts on BitMEX are of the quarterly futures type, which runs for one quarter and then expires. Then BitMEX resets the partition of these contracts to zero. However, the money from the past quarterly simply disappears. It’s not carried over to the new contract, yet it’s not returned to customers or even visibly removed from the fund balance.” — <a href="https://medium.com/u/90326a938400">Hasu</a></blockquote><p>This comment is completely unsubstantiated and false. Insurance funds derived from trades on a specific contract do not suddenly disappear at the expiry of that contract. These funds are added to the insurance fund balances of other live contracts. The only way insurance funds are deducted is when <a href="https://www.bitmex.com/app/liquidation#System-Gains-and-Losses">they are used to avoid ADL</a>.</p><p>It is potentially true that the insurance funds are considered an asset of BitMEX in a strictly accounting sense, however if BitMEX ever tried to use these funds for anything other than avoiding ADL the brand would be permanently damaged. I agree with the sentiment however, that given the size of the insurance fund now, it would be sensible for BitMEX to formalise the arrangements.</p><p>It is worth noting that other prominent exchanges have far less transparent/fair liquidation processes, note my recent discovery of how FTX only puts 33% of their liquidation proceeds into the insurance fund (BitMEX puts 100%):</p><h3>John Dummett on Twitter</h3><p>A significant difference between BitMEX and FTX. On BitMEX all remaining funds after liquidation go to the insurance fund. On FTX only 33% do - the other 66% goes to &quot;backstop liquidity providers&quot; who take over the position. BLPs can profit from liquidations, is Alamada a BLP? https://t.co/xqMnlmEcIe</p><p>I do not think Hasu’s original write up was written with ill-intent, however as my break down demonstrates most of his comments were off the mark.</p><p>A fair criticism of BitMEX we may both be able to agree on is that misconceptions about BitMEX were able to grow in a vacuum left because BitMEX did not address misinformation quickly enough.</p><p>Luckily I am now on Twitter and using my expertise and experience to regularly commentate on the actions of BitMEX and other exchanges in the industry. I hope to improve the quality of commentary in the space. You can follow me here:</p><p><a href="https://twitter.com/zoomerjd">John Dummett</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24ad63defb29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To BitMEX: Calculate PNL on XBTUSD Trades]]></title>
            <link>https://medium.com/@zoomerjd/how-to-bitmex-calculate-pnl-on-xbtusd-trades-9b2f8f16399a?source=rss-f81bcec909e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b2f8f16399a</guid>
            <category><![CDATA[bitmex]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[John Dummett]]></dc:creator>
            <pubDate>Wed, 12 Feb 2020 19:45:22 GMT</pubDate>
            <atom:updated>2020-02-15T13:22:52.287Z</atom:updated>
            <content:encoded><![CDATA[<p><em>New to BitMEX? Sign up with my link for 10% off trading fees: </em><a href="https://www.bitmex.com/register/bUQWwU"><em>https://www.bitmex.com/register/bUQWwU</em></a></p><p>In this guide, I will show you how to calculate the PNL on your XBTUSD trades. I am often surprised when traders do not know how to do this! You should know exactly how your PNL is calculated so that you can easily track and plan your trades.</p><h4>Why is calculating PNL on XBTUSD unique?</h4><p>The BitMEX XBTUSD perpetual swap contract is <em>inverse</em> — this means that it is priced in USD but all PNL is calculated based on bitcoin values. This introduces some unique quirks that can be hard to understand at first, but thankfully this guide makes things easy.</p><h4>Okay, so how does this work?</h4><p>There are two parts to calculating PNL on your trades, the first is to calculate the Gross PNL and the second is to calculate the Net PNL. The Gross PNL is your PNL before fees are taken into account, your Net PNL is your Gross PNL minus any fees paid. <strong>It is important to remember that all executed orders pay a taker or maker fee, your XBTUSD position may have also paid Funding Fees - you can check this by looking at your </strong><a href="https://www.bitmex.com/app/tradeHistory"><strong>Trade History</strong></a><strong>.</strong></p><p>Let’s go through the process of calculating Gross PNL and Net PNL with the following example trade:<br><em>Buy 5000 contracts @ $7500 (Assume Taker Fee charged)<br>Funding Fee 0.01% @ Mark Price of $8111<br>Sell 5000 contracts @ $8350 (Assume Taker Fee charged)</em></p><p><strong>Gross PNL<br></strong><em>Gross PNL = Quantity * (1/Entry Price - 1/Exit Price)<br>You need to ensure that the (1/Price) values are rounded to 8 decimal places, as these are the bitcoin values used to calculate your PNL by the BitMEX Engine.<br></em>5000 * (1/7500–1/8350)<br>5000 * (0.00013333 - 0.00011976)<br><strong>Gross PNL = 0.06785XBT</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*svq8kboAyN6k69bJt2RHIQ.png" /></figure><p>‎‎‎ <br>You can check whether you have completed the calculation correctly by using the BitMEX Calculator Tool. The tool is accessible by clicking on the small Calculator icon on the trade dashboard.</p><p>‎</p><p><strong>Net PNL<br></strong><em>Net PNL = Gross PNL - Fees<br>Fees are paid on the value of the executed order. You can see the fee rates </em><a href="https://www.bitmex.com/app/fees"><em>here</em></a><em>. We need to calculate the order values before we can calculate the fees paid. The position value for the Funding Fee payment calculation is based on the mark price at the time of the payment.</em></p><p>Entry Value<br>Quantity * (1/Entry Price)<br>= 5000 * (1/7500)<br>= 5000 * 0.00013333<br>= 0.66665XBT</p><p>Funding Value<br>Quantity *(1/Mark Price at time of payment)<br>= 5000 * (1/8111)<br>= 5000 * 0.00012329<br>= 0.61645XBT</p><p>Exit Value<br>Quantity * (1/Exit Price)<br>= 5000 * (1/8350)<br>= 5000 * 0.00011976<br>= 0.5988XBT</p><p>Entry Fee<br>= Entry Value * Fee Rate = 0.66665 * 0.075% = 0.00049999XBT</p><p>Funding Fee<br>= Funding Value * Funding Rate = 0.61645 * 0.01% = 0.00006165XBT</p><p>Exit Fee<br>= Exit Value * Fee Rate = 0.5988 * 0.075% = 0.0004491XBT</p><p><em>Now that we have all the fees paid, we just deduct them from the Gross PNL:<br>Net PNL = Gross PNL - Fees<br>= </em>0.06785 - 0.00049999 - 0.00006165 - 0.000449<br><strong>Net PNL = 0.06683936XBT</strong></p><h4><strong>Seems complicated?</strong></h4><p>While calculating PNL on your XBTUSD trades is not as straightforward as calculating PNL on your spot market trades, it is still just as necessary. Try calculating the PNL on one of your XBTUSD trades via the steps above and check to see it is equal to what you see in your BitMEX <a href="https://www.bitmex.com/app/wallet">Wallet History</a> record. Now you can do your XBTUSD trade accounting like a pro 💪</p><p><em>This is an entry in the “How To BitMEX” series, where I impart unique knowledge to traders looking to become better users of BitMEX. To ensure you don’t miss out on new publications, please follow </em><a href="https://twitter.com/zoomerjd"><em>me on Twitter</em></a><em>.</em></p><p><em>New to BitMEX? Sign up with my link for 10% off trading fees: </em><a href="https://www.bitmex.com/register/bUQWwU"><em>https://www.bitmex.com/register/bUQWwU</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b2f8f16399a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To BitMEX: Synthetic USD]]></title>
            <link>https://medium.com/@zoomerjd/how-to-bitmex-synthetic-usd-cb6c89990a7a?source=rss-f81bcec909e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb6c89990a7a</guid>
            <category><![CDATA[bitmex]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[John Dummett]]></dc:creator>
            <pubDate>Wed, 12 Feb 2020 16:25:11 GMT</pubDate>
            <atom:updated>2020-02-15T13:03:58.137Z</atom:updated>
            <content:encoded><![CDATA[<p>In this guide, I will show you how to enter a synthetic USD position on BitMEX. A synthetic USD position means that although you are holding bitcoin in your account, you will have no bitcoin exposure and will instead only be exposed to USD. Sounds impossible? It does indeed involve some BitMEX magic!</p><h4>Why should I know about synthetic USD?</h4><p>All deposits and withdrawals from BitMEX are in XBT (aka, bitcoin.) Unlike some other exchanges BitMEX <strong>does not </strong>accept deposits of other cryptocurrencies. The account wallet balance and PNL calculations are denominated in bitcoin for all contracts. The wallet balance information is shown in the top right corner of the trade dashboard:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*TgxQnt3aselWTWHSVxUAmw.png" /><figcaption>A BitMEX account with 0.01XBT on deposit.</figcaption></figure><p>Because BitMEX only has to worry about securing one wallet, BitMEX has lost zero funds to hacks or intrusion. But there are downsides to this approach, for example what do you do if you do not want exposure to the price of bitcoin, but need to keep your bitcoin on BitMEX? Other exchanges may allow you to hold a balance in USD or an equivalent value stablecoin, but BitMEX does not.</p><p>Thankfully there is an alternative way to remove your bitcoin exposure on BitMEX — open a synthetic USD position.</p><h4><em>How do I open a synthetic USD position?</em></h4><ol><li>Open the trading dashboard of the <a href="https://www.bitmex.com/app/trade/XBTUSD">XBTUSD swap</a></li><li>Calculate the number of contracts to sell, where <em>Bitcoin Amount</em> is the amount of bitcoin you do not want exposure to anymore:<br><em>(Bitcoin Amount*Best Bid Price) = Number of Contracts to Sell</em></li><li>Market sell the calculated number of contracts on 1x leverage</li></ol><p>Let us take a practical example, say we want to turn 0.005XBT into synthetic USD:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/1*fxX7YiWhGnzI9ogBbIvtHQ.png" /></figure><ol><li>I open the trading dashboard of the <a href="https://www.bitmex.com/app/trade/XBTUSD">XBTUSD swap</a></li><li>I calculate the number of contracts to sell (the Bitcoin Amount is 0.005 and the Best Bid Price can be seen on the sell button):<br>0.005 * 10350.5 = 51</li><li>I market sell 51 contracts, making sure to use 1x leverage</li></ol><p>Nice! We now have a synthetic USD position, this is what it looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qwF4Z68yxLsmRzidmVcdnw.png" /></figure><h4>What exactly is happening here?</h4><p>A BitMEX synthetic USD position is simply a short position on 1x leverage. The value of the position in USD is stable and equal to the number of contracts in the position. If the XBTUSD price goes up and there is an unrealised loss in XBT terms on the position, this is cancelled out in USD terms by the increased value of the remaining margin. As such, the liquidation price on the position is unlimited.</p><p><strong>In the above example, no matter what price the position is closed at, the Realised PNL of the trade will be $51 worth of bitcoin, at the time the position is closed.</strong></p><p><em>This is an entry in the “How To BitMEX” series, where John Dummett imparts unique knowledge to traders looking to become better users of BitMEX. To ensure you don’t miss out on new publications, please follow </em><a href="https://twitter.com/zoomerjd"><em>John on Twitter</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb6c89990a7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>