BitMEX Calculator For Profits & Fees

Long/Short calculations for excel backtest

I'm trying to create an excel sheet for backtesting trading ideas and I'm having trouble figuring out the PnL formulas.
I'm primarily using Bitmex so not sure if formulas are the same across other leveraged trading platforms.
I basically want to have a simple sheet where I can start with a certain amount then go long or short (1x) on each historical price that my chosen indicator signals. Then compound that amount over years to get a simple idea of how a strategy might work if strictly adhered to over a long period of time.
(I'm not including fees for the sake of simplicity at this stage.)
I've tried to reverse engineer the "ministry of margin trading" PnL calculator but can't figure out a few key formulas.
Can someone please tell me what formula I need to add to an excel cell to automatically calculate the profit or loss from a Long or short in Bitmex?
If I'm just simply buying & selling this is easy: =Exit price - Entry price
But with Bitmex PnL calculators the results seem to be quite complicated.
I'm guessing it needs to be = ( (Exit Price - Entry Price) / Something? ) X Leverage

I'd also be grateful if someone can point me towards an existing (unlocked) excel sheet online that I could download for backtesting.

Also very keen to figure out how to code backtests in Trading View, but this is also taking a bit of work. Any tips or links here also greatly appreciated.

Thanks!
submitted by nance8000 to technicalanalysis [link] [comments]

Long/Short calculations for excel backtest

I'm trying to create an excel sheet for backtesting trading ideas and I'm having trouble figuring out the PnL formulas.
I'm primarily using Bitmex so not sure if formulas are the same across other leveraged trading platforms.
I basically want to have a simple sheet where I can start with a certain amount then go long or short (1x) on each historical price that my chosen indicator signals. Then compound that amount over years to get a simple idea of how a strategy might work if strictly adhered to.
(I'm not including fees for the sake of simplicity at this stage.)
I've tried to reverse engineer the "ministry of margin trading" PnL calculator but can't figure out a few key formulas.
Can someone please tell me what formula I need to add to an excel cell to automatically calculate the profit or loss from a Long or short in Bitmex?
If I'm just buying & selling this is easy: =Exit price - Entry price
But with Bitmex PnL calculators the results seem to be quite complicated.
I'm guessing it needs to be = ( (Exit Price - Entry Price) / Something? ) X Leverage
I'd also be grateful if someone can point me towards an existing (unlocked) excel sheet online that I could download for backtesting.
Also very keen to figure out how to code backtests in Trading View, but this is also taking a bit of work. Any tips or links here also greatly appreciated.
Thanks!
submitted by nance8000 to BitMEX [link] [comments]

Question regarding Bitmex Funding Rate

In the XBTUSD Perpetual Contract page it is stated that the Funding Rate is comprised of two main parts: the Interest Rate and the Premium.
Premium seems self explanatory. It is calculated using a difference between the weighted average of the price in multiple exchanges and Bitmex's orderbook to discourage longs when price is trading at a premium and vice versa.
I am confused about the Interest Rate component. The XBTBON page shows that the interest rate has been an constant of 0.0300%.
The stated formula for calculation is:
Interest Rate (I) = (Interest Quote Index - Interest Base Index) / Funding Interval
where
Interest Base Index = The Interest Rate for borrowing the Base currency
Interest Quote Index = The Interest Rate for borrowing the Quote currency
Funding Interval = 3 (Since funding occurs every 8 hours)
I find this confusing because unlike Bitfinex or Poloniex, Bitmex does not seem to have a borrowing market. From whom is XBT/USD borrowed? Is it from bitmex and do they get the Interest? If I go long XBTUSD at 5X margin am I borrowing the contracts at a fee from Bitmex?
submitted by warproxxx to BitMEX [link] [comments]

Bitcoin Cryptotrading Basis Guide Book by Reslav

Bitcoin Cryptotrading Basis Guide Book by Reslav
https://preview.redd.it/6in97egosnx31.png?width=800&format=png&auto=webp&s=d2e4d1b052b295cb3da49f604fab7a6113321210
I wrote this lecture on the methodology of successful trading, and more specifically on tactics, strategies, subtleties and recommendations, based on 2 years of work on Bitmex, Binance, Gate, Okex bitcoin cryptocurrency exchanges in real combat conditions. Guided by this technique, I managed to earn 500% in excess of the deposit for 7 days of trading (i.e. I increased the deposit amount by 5 times!). These are not fairy tales, but reality, that is, confirming statistics of exchange transactions on the account of the crypto-exchange.
I believe that the knowledge provided in this course will help a beginner to master successful trading only if the course is not only read, but also outlined. It will be important to follow punctually, commenting on your actions in your notes.
In separate consultations, I could give personal instructions on the nuances of technical analysis on various timeframes, signals on entry points, information on trade automation software (algorithmic trading robots), and other tools useful in the work of a trader. But, despite a lot of additional software, my experience has shown that the most effective speculation model on the cryptocurrency and stock exchange, which everyone chooses for themselves based on practical experience, is directly in the online trading mode on exchange terminals. Each exchange is good in its own way, but also has its drawbacks. I chose the best solution for myself and am sure that this is temporary. Perhaps in the future there will be more progressive decentralized exchanges with good liquidity and they will replace the existing platforms managed by market leaders.
Various digital designations, such as: — in what percentage of the deposit do you enter into a particular transaction; — where to put stop limit or market (Market) (market) orders (and whether to place them at all), where to exit the transaction and how. Again, I note that all the selected values ​​are usually individual and depend both on the time trading intervals (TimeFrame) (1m 3m 15m 1h 3h 4h 6h 1 d 1w 1m) and on the deductible amount of the bet in % percentage of the amount of your deposit.
It is important to remember that trading in the cryptocurrency market is a high-risk investment activity that everyone chooses and carries out at their own risk. Remember that with a big bet on the whole, as they say, a patty, and even with 100x-500x leverage, you risk losing your entire deposit right away. An exchange machine or a well-tuned and trained professional broker robot does not cost anything to go against the trend with a tidbit — easy prey. Do not be hamsters i.e. naive simpletons — do not merge the deposit into zero due to elementary greed, incontinence, ardor and other factors that contradict the qualities that a professional trader needs to succeed in trading, namely: cold-bloodedness, endurance, accuracy, punctuality, tact, quick reaction , the ability to quickly enter numbers and timely press the desired buttons.
You ask me: “Hey … guy, you are so smart … I wonder how much you earned from trading or how much you earn or why you don’t do it yourself … why do you need competitors?” — I will answer you: it is no secret that AI (artificial intelligence) has been working on the exchange for a long time and it is constantly improving, but this still does not prevent a person from continuing to beat him. I hope that in the future this trend will not stop otherwise — we have disappeared. And as regards competition — do not worry so much for me, because there is still a trading idea, program or terminal that I have not yet implemented and not reported in this guide after its publication and, perhaps, it will not deprive me of future trading opportunities.
So, the instructions that I follow in the process of trading cryptocurrencies on the exchange terminal in online mode.
  1. It is necessary to wait for the moment of the entry point. You need to enter the deal only then, you feel it and foreseen it in advance according to the levels of the daily period.
  2. It is necessary to carefully weigh their capabilities, ie to consider funds, understanding that futures trading (with leverage) leads to greater risks of liquidation / margin call (MarginCall).
  3. During growth, you need to fix profit and try to sell at a pullback. It is always possible to re-enter a deal, but it is unlikely to return lost profits, instead, you can get several hours of dead weight in the price movement opposite from the planned direction.
  4. It is very important to have cost control, namely, the timely Stop Limit (stop trade order) + sliding Stop Loss (the same thing, only with insurance against a sharp price movement).
  5. It is easy to understand the wave component and accept the movement by levels — press exit buttons in time at 2% and + 10% according to the 1 to 5 principle (we risk one part of the deposit against 5). The Pareto effect has not been canceled: 20% activity, gives 80% effectiveness.
  6. To work with Japanese candles, the ability to draw support levels and resistance lines is enough, but this is not enough for a professional, because the presence of modern advanced indicators, such as MACD, SRSI, Ichimoku Cloud / Signal, horizontal and vertical volume indicator and so on, is very important. Everyone chooses for themselves the indicator that brings more profit to a certain trading range. But remember — the main criterion for success is an understanding of the laws of the market and trade by market. Perhaps this applies to the field of extrasensory perception, metaphysics, and other obscure and hard to prove phenomena and sciences, but one way or another — intuition is clear and has a place to be.
  7. In no case should you enter into short-term breakthrough deals on minute trading with market uncertainty. The situation where minute fluctuations may seem like reversal movements is often quite misleading. If you are in a pose (bull — for growth / long or bear — for fall / short) do not retreat and the market will not slow you to please you with profit. Often, a stock price feed / the same chart manipulates the minds of players, displaying false breakdowns and minute movements, on the basis of which you can not rely on a trend change (this lie is especially evident in minute time intervals / timeframes). In such cases, make decisions only at fundamental levels. On the hourly chart you will see a more truthful picture, because globally, on markets other than minute timeframes, the market is less susceptible to momentary manipulations. This knowledge will give you firmness in the intention and decision-making to remain in the chosen position and not to respond to minor market manipulations. During the day, you may repeatedly wish to unreasonably enter into such transactions, but remember that in this case you will be guaranteed to drain the deposit. Remember — the market from the middle of the trend will go up up or down and hit the stop limit order placed by you (if you play with a large leverage not for your money), after which it will go in the right direction you have chosen. Although in general the situation is banal — you are led by the nose like thousands as well as you. The only true method is to use common sense and avoid uncertainty when trying to enter a pose. A historical analysis of prices, the frequency of ranges (delta) of ups and downs, the degree of volatility and fundamental approaches — to help you. I also want to add that success is in your hands and it consists in the realization of the need not to merge a deposit under any circumstances.
  8. You cannot leave the market unattended, the alarm of the price change alarm is not in your favor or without a stop limit at a reliable exchange platform (broker).
  9. Once again I repeat, you must be prepared in advance for the fact that the market is deceiving and unexpected movements can often occur and your task is to secure your funds with a stop on the market or to fix profit by a floating stop or a fixed stop limit.
  10. Risk management — the basis of success in trading when trading with leverage (margin trading). It is usually recommended to go into a deal at 2% of the deposit with x leverage and stop from profit in the ratio of 1 to 5. What does this mean and why is this risk / profit sharing technique so important?It is necessary to clearly calculate probabilistic lumbago in order to avoid elimination. I recommend you not to rush into bets, but to take a sheet of paper and bargain virtually in order to understand whether your calculations were correct. A virtual game is worth nothing, but it will save you money and keep the deposit safe and sound.
  11. The wave theory assumes entry into the transaction after completion and a clear change in the previous trend based on signals and the news background, incl. experience of the current subject of trade — the operator pushing the buttons. For example, in the absence of price movement in the direction of the RSI indicator, analysis of all time frames with indicators, fibonacci levels, correction degree phase, time of day in time zones, stock and commodity market readings.
  12. It is important, before starting trading, test the presence of a manipulator on the market using the method of high rates. If you are looking for an entry into a major deal in a few weeks, keep in mind that a stop with a loss can be a significant amount in the money equivalent that you are ready to lose, and if the deal does not take place in your favor, you must set yourself up in advance for what it should be. Because a successful trader is not one who regularly guesses successful transactions, but one who successfully completes one out of five transactions according to risk management and the calculation of the leverage calculator in accordance with the chosen strategy.
  13. A lost position can be closed without waiting for the reverse restoration of the bidding process, thus manually participating in the balance adjustment or by setting a stop limit order in advance or after the bid in case of further decline or growth.
  14. There is an assumption that at the end of the working day, with a likely depreciation, traders convert stocks into fiat (money), which contributes to a depreciation, but this is not accurate)
  15. Incorrect entry into the transaction. How important is it to exit an unsuccessful transaction as early as possible or at the first rollback to change the direction of the trend or wait to determine a new entry point.
  16. The presence of two accounts on the exchange terminal is possibleand desirable in order to be able to remain in a winning position regardless of the success of the initially selected trading direction (a technique requiring careful verification by personal experience with a clear definition of the margin leverage and % of the entry into the transaction from the deposit balance to minimize the risk of loss).Successful trading does not consist in the ability to conclude as many successful trades as possible, but in minimizing losses.
  17. Technology is improving and strategies are changing. Before entering a transaction, it is necessary to carefully analyze the current market situation using a comparative analysis, studying the general news background (guided by the ***“buy for expectations — sell on the news”***postulate), detecting a flat (sideways), determining the level of instrument volatility (gold, oil, funds , bitcoins / cryptocurrencies — digital coins, etc.)
  18. Immediately put a stop — is a guarantee of success or a drain of the deposit? After all, how to cope with their own feelings and not get into anxiety about a successful or unsuccessful transaction? The gradual entry scheme works well.
  19. Coins. We look at the trading delta with the help of a robot scanner and make a decision based on all the above criteria in the course. It has been noticed that amateurs buy coins in the hope of growth. Remember, the market for altcoins is not growing now.
  20. A favorable time for earning is at the time of a flat, which usually occurs after the rising flag or the implementation of a bull pennant figure, etc. It will be more clear to observe the schedule in real mode and make the required notes in your own mind.
  21. On the cryptocurrency market, some laptop microprocessors are heated and the fan turns on at peak times. This indicates the beginning of a sharp movement and is a signal to enter the deal. Therefore, you can not only observe the behavior of the market, but now also listen (this is my personal note, it is unlikely that you will find such information somewhere else, as they say — an exclusive / VIP signal;)).
  22. You can still write a lot about time, how much can or should be spent on the monitor, on which timeframes to trade and which strategies to follow, but everyone should choose this independently and preferably, under the guidance of a specialist, because what is applicable to one is to the other — contraindicated.
In fact, any market situation should be beneficial for you due to successful risk management*!*For successful online trading, it is very important to use candlestick and technical analysis*, which help to more accurately determine the entry point to the transaction (purchase or sale).*You cannot act at random when the market is hard to predict and often ready to follow your footsteps.If you lose, then I do not recommend immediately going to recoup*, because trade should ultimately be break even. In ardor, you are likely to enter into an unsuccessful deal and lose even more than before. This situation will make you very sad, so do not make this mistake. She is famous.*Use a modern powerful laptop or desktop computer with a convenient side numeric keypad, a large screen and a convenient manipulator (mouse) so that when you press the buttons you have as little physical braking and stops as possible. Practice in advance to work in the browser on the exchange terminal without making a deposit on futures trading from the exchange wallet. This training practice will reduce your losses.
Hello from Ukraine, Kramatorsk city ( “War is peace / freedom is slavery [and] ignorance is strength.”)
Reslav Cryptotrader (if you need find me look around — me be i near ;).
To be continued…
http://twitter.com/reslav1
P.S.:
Nowadays, money strives to be counted more and more. Using the information technology of databases with indexes, it has become possible to automatically and instantly capture and display the information that was previously collected by entire departments of the state within a month and after manual entry was displayed on the screens of industrial monitors and public television. The era of the Internet has come, the time of the accessibility and decentralization of information.
Today we see stock chart quotes of stock prices of leading world companies online. Everyone has the opportunity to invest their money in these stocks and earn on the difference in exchange rates of their value. A speculative market was formed on this basis, where leaders appeared who were able to act most efficiently and, accordingly, earn money. Many specialists are studying the nature of success in speculative markets.
Many works on methods of achieving success in trading are morally obsolete due to the emergence of new technologies for calculating and controlling the money supply, for example, such as Bitcoin. After all, back in 2009 for 1309.03 BTC they gave 1 dollar. Today 1 BTC costs $ 9,000. This is due to the fact that since the appearance of bitcoin has never been hacked and the technology has shown its reliability and consistency, as a measure of the money invested in it. I will not go into the details and subtleties of Bitcoin technology, but I will note one thing — this is cryptographic software that was used in the banking sector as Swift payments, but transformed into a P2P peer-to-peer network of private computers, as a result, like Bittorent, it became public, hard controlled, commons. Bitcoin provides for a complexity bomb, which complicates each year, and therefore makes it more expensive, its limited production, and this is one of the main reasons for its rise in price. As well as the fact that Bitcoin is convenient for storing funds, as it is liquid and it can be easily sent without quantity restrictions and with high transaction (transfer) speed. All details about Bitcoin are available in open sources and you can find out everything about it on the Internet, as well as the alternative coin market (altcoins / coins), such as Ethereum, USDT (dollar tokens confirmed by a US company with real dollars in bank accounts) etc.
Around this market of bitcoin cryptocurrencies, the same speculative matrix (network / exchange) arose as around ordinary currencies and created such a strong competition for traditional assets that many governments adopted it and began to use and implement technologies that arose in their turn base. Cryptocurrencies or blockchain (cryptographic chain / blocks / chain) began to be introduced in public sectors of the economy for calculating and controlling public commons, such as electricity, land, etc.
Further, on the basis of this market, the need for regulation arose and the US authorities were very worried about the uncontrolled development of technology, on the basis of which a news background (negative or positive) arose, which powerfully affects cryptocurrency rates. In the era of information, this network began to act as a money pump, skillfully pumping money from the hands of inept speculators into the pockets of experienced traders.
As a result of reading a lot of books, watching various telecasts in the industry of bitcoin trading analytics, I came to the conclusion that successfully trading cryptocurrencies is akin to art and as statistics have shown, only 20% in 2–3 years are able to consistently earn money, and of which, in turn, only 2 -3% become billionaires.
I bring to your attention a technique by which you can enter the ranks of these 20% successful traders and possibly, jointly, open the door to those notorious 2–3% successful traders who are fortunate enough to touch the notorious golden fleece and discover the world of unlimited financial opportunities.
All knowledge is available in open sources and collected by me in the book “Basics of Bitcoin Trading from Reslav” (2019), most of them are available.
submitted by reslavr to u/reslavr [link] [comments]

Bitmex Customer Support Phone Number++ 1(888)-780-0222 u/Remarkable-Coyote

Provide your account email. We will send you a password reset link.
Bitmex Support Number +1(888)-780-0222
If you have lost your 2FA token, please Contact Support with the subject “Lost 2FA Device”. BitMEX support will then email you an ID verification link.
What is bitmex.com perpetual swap contract?
Bitmex.com perpetual swap contract is an inverse futures contract that has no expiry date. The anchoring of the contract price to the index price achieved with the interest payments exchanged between long and short positions. These payments incentivise traders to open or close positions which converge the futures price towards the index.
What is cross leverage BitMEX?
Cross-Margin is an advanced form of leverage and a riddle to the most. However, it is easy if you know how it is calculated, but still a tool only to be used by advanced traders. The usual leverage 1x – 100x is isolated, this means only the used margin is at risk.

What is leverage in trading?
leverage trading. Definition. Trading that doesn't require you to pay the full amount of the position; you are allowed to leverage the difference. Leverage trading is a common practice in foreign exchange trading. also called trading on margin.
submitted by Remarkable-Coyote to u/Remarkable-Coyote [link] [comments]

Question about liquidation with bitcoin futures on bitmex

Hi.

I have been using bitcoin and studying crypto ever since 2013.
But I'm new to BitMEX and margin trading.
I have a question about liquidation when trading futures. Would be great if anybody could help me out here.

The situation:
So, let's say today, on the 10th of July 2019, I buy the XBTZ19 contract at the price of $13000, with 5x leverage. The expiry date is 27 December 2019.

Bitmex calculator tells me that with 5x leverage at $13k, the liquidation price will be $10880.5

The question:
Will the possible liquidation happen only on 27 December, when the price is at or below $10880.5?
OR

Will i get wiped out even if the price goes below the liquidation price on any random date between today and expiry date? For example price drops to $10000 on September 1. Will I be emptied out?



Would be great if anybody could help me with this question.

Thank you
submitted by elfavorito to BitMEX [link] [comments]

The Absolute Fucking Impossibility of Reporting Taxes On This Shit

EDIT: PLEASE STOP ASKING ME FOR DAY-TRADING TIPS. LEARN BY DOING.
I'm in the US. I day-trade cryptocurrencies and have made tens of thousands of orders across many pairs and exchanges (and have made substantially more than I would have by just "hodl xd", even with short-term penalty added, thank you very much). Uncle Sam wants his pie. Okay, fine. I know exactly how much I've made by simply tallying the deposits and withdrawals from by bank to my fiat gateways, and I'm willing to be taxed on that, but...
The IRS expects me to report every single transaction on a form with each interval gain and loss step reported in USD. Every single one of my tens of thousands of orders and partial trades, most of which having no actual valuation or realization in USD, yet somehow I'm expected to calculate the imaginary USD gain/loss of each when BTC/USD fluctuates by whole percents every other minute on the reference fiat exchange (GDAX, say). No matter what painstaking diligence is paid to reporting the notional USD gain/loss for every alt pair and perpetual swap trade by cross-referencing those irrelevant data points, I will inevitably end up with a totally fictional sequence of numbers that deviates significantly from my known, actual USD gain from what hit my fucking bank and what is presently on my exchange accounts. This especially when transaction and trading and funding fees are taken into account, as well as the nightmare of slippage and partial fills.
Also Bittrex completely wiped out my trade history, and everyone else's from what I hear, but my deposits/withdrawals are still there and that should really be all that matters (but not to the IRS apparently). I also had a stint on poswallet.com, same situation.
Now here's the mind-melting part: I use BitMEX. I've made most of my gains from there. (Yes, I know that US customers are ostensibly disallowed by BitMEX from using BitMEX, but we all know this is lip service, and it is not illegal in itself by US law to violate a site's T&S, and honestly BitMEX rocks so hard I'd be willing to set up an offshore company to keep using it). The IRS virtual currency guidance defines cryptocurrency as "property" and seems to concern itself with "exchange of virtual currency for other property", which is taxable. Okay, but is a perpetual swap or futures contract taxable? How is it possible to calculate the "cost basis" of a BitMEX position, where posted margin can arbitrarily and dynamically scale? No actual buying or selling of bitcoin occurs on BitMEX, so how is it taxable? How is it reportable? How?
How the fuck do I even report any kind of short position on Form 8949? This would apply to Poloniex and Bitfinex as well.
The IRS stipulates different (and highly favorable) tax rules for conventional futures trading, such as the 60/40 rule, where as I understand it 60 percent of futures gains are considered long-term and 40 percent are considered short-term, as marked-to-market. Would this apply to BitMEX futures as well? And how about when, at the end, you withdraw your bitcoin from there and it becomes "property" again to sell for fiat?
Even if I went to a tax attorney or CPA, as I intend to do, would they know more than me what with the terribly incomplete guidance the IRS has given about all this? Nevermind the logistical insanity of the step-by-step fictional USD conversion process. And forget about bitcoin.tax; they don't handle BitMEX or any kind of serious trading activity.
I've made a lot of money. I'm fine with being taxed fairly on my net gain. But the IRS has not adequately addressed the problems I have described in their guidance. What the hell do I do?
submitted by IshizakaLand to CryptoCurrency [link] [comments]

Massive BTC returns from long term trading.... how does BitMEX handle this?

Here's a hypothetical question:
- Bitcoin is at $8,000
- You enter long, cross margin (100x) with a big balance. Liquidation price is $500, just say
- You enter with 0.25 BTC (200,000 contracts)
- When Bitcoin hits $20K, that's 6,000% ROE on the calculator
- So you would make 15 BTC profit on your 0.25 position
BUT — HERE'S MY QUESTION —
How can BitMEX guarantee there's all that BTC available for anyone who cashes out?
What if thousands of traders did this same trade? How can BitMEX be sure that there's exactly enough BTC from losers to pay out these winners? Thanks! :)
submitted by solrac149 to BitMEX [link] [comments]

BitMEX Cross Liquidation Formula

Hi guys,
I was wondering if anyone could help with working out the cross liquidation formula for BitMEX and specifically that when short. I'm looking to get the USD value. I have the normal liquidation formula when using x5, x10 etc. and that works fine (well within 98% to the calculator on the website), I also have a formula which works for long liquidation price when using cross margin. But I can't get the short calc to match up with the calculator at all. It always seems well out.
So for info. For normal liquidation price I'm using:
And for liquidation using cross margin when long I'm using:
I'm sure there's a subtly I'm missing here doing the short calcs! Any maths gurus out there? :D.
BitMEX have so far offered me the following formula but this doesn't give me the USD value as far as I can work out:
This is for a trading/ risk management tool I've developed and its the last hurdle before I can release it!
Many thanks.
submitted by Gar_eth to BitMEX [link] [comments]

The 3 Kinds of Cryptocurrency Traders that are Kicking Your Ass

The 3 Types of Cryptocurrency Traders that are Kicking Your Ass

For an investor to outperform the market, someone else must underperform.That is a simple arithmetic fact.
In a fair and regulated environment, investors have equal access to information. Winners and losers are determined by whoever can make a better prediction.
But cryptocurrency is the wild, wild west. Market participants don’t play fair and they can profit at the expense of others.
Here are the three types of traders that are kicking your ass
Insider Traders
Under Rule 10b5–1, the SEC defines insider trading as “any securities transaction made when the person behind the trade is aware of nonpublic material information.” Insider trading is illegal in almost all traditional markets. In a research paper published in 2010, Qin Lei found empirical evidence that insiders were able to consistently beat the stock market.
Over the last year, we’ve seen many high-profile cases of insider trading in the cryptocurrency market.
Coinbase** — The Bitcoin Cash Incident**
On December 19, 2017, Coinbase tweeted it would add Bitcoin Cash to its exchange. But before the announcement was made public, both the trading volume and the price of Bitcoin Cash suspiciously surged.
On March 1, Coinbase was hit with a class action lawsuit. The full court document is available here.
South Korea Financial Supervisory Service (FSS)
Even regulators are being investigated for insider trading. Korean FSS officials knew ahead of time that new cryptocurrency trading restrictions would be put in place. Yet, they still made trades before the announcement.
The chief of the FSS, Choi Hyung-sik, confirmed on Jan. 18 that trading violations had occurred. Despite being caught red-handed, another FSS official responded that there was technically “no code of ethics or conduct for virtual currencies and therefore difficult to issue any punishment.”
The examples mentioned above are just a few high-profile cases. Insider trading runs rampant in the cryptocurrency space. Very often, prices and trading volumes will pump right before an exchange announces a new coin.
To many, insider trading is no longer a surprise but rather something that “just happens” in an unregulated market.
Whales
A whale is simply a colloquial way to describe an investor who is able to manipulate markets by mobilizing large amounts of capital.
Most crypto investors treat whales like the boogeyman. They’ve never had a personal encounter, but swear that whales are responsible for large market swings everywhere.
In some cases there is strong evidence indicating that they are right. Recently, academic research has come out showing that large-scale price manipulation does happen. Here’s an example from 2013, where a single entity was largely responsible for pushing the price of Bitcoin from $150 to $1,000 in two months. Another paper that came out last week shows how large amounts of USDT was used to manipulate Bitcoin prices.
Here are a few techniques whales use to manipulate price.
Stop-loss hunting
Whales intentionally push the price down in order to trigger stop-loss orders.Then they turn around and buy coins from these stop-loss orders for cheap and wait for the market to recover.
This strategy works well for coins with low trading volumes and small order books. With enough coins, whales can push down the price by introducing a slew of market-price sell orders.
To show how this works, let’s imagine a scenario:
The goal is to drive the price down past $100, which may be a psychological breaking point for some people and therefore a likely place for stop-losses.
One can do this by:
  1. Placing a market sell order totaling 10 BTC, to drive the price down from $150 to $110
  2. Keeping the sell pressure on, as investors naturally start selling their holdings.
  3. Watching people’s stop-losses go off at $100 without their knowledge. This drives the price down further.
  4. Buying up all the stop-loss orders at $90 and under.
  5. Waiting for the market to recover before selling the coins.
Short/Long Hunting
This is another form of market manipulation, but one that only exchanges can pull off.
Let’s see how this works on Bitmex for BTC.
The price just has move slightly in the wrong direction to trigger a liquidation. When liquidations happen, the investor loses their entire margin and pays a big fat fee.
Because exchanges know exactly what prices will trigger these liquidations, they have both the capability and financial incentive to engineer price movements using bots.
To be clear, there is no evidence implicating Bitmex. But it is suspicious that low volume trading periods are followed by a furious uptick in volume. When this happens, liquidation tears through leveraged positions, leaving traders with nothing other than a fistful of trading fees.
BitmexRekt tweets these liquidations in real time. You can follow them here.
Spoofing
Another common strategy whales use to manipulate the market is called spoofing. It means to bid or offer with intent to cancel before the orders are filled.The goal of spoofing is to send false signals to investors.
Here’s an example of using this strategy to profit:
This also works in the opposite direction. By placing large sell orders, spoofers can send bearish signals and lure investors into selling their cryptocurrencies at a discount.
Bitfinex’d investigates an entity known as “Spoofy” operating on the Bitfinex exchange.
Wash Trading
The last strategy we’ll cover is wash trading. In a wash trade, an investor takes both buy and sell positions. This may be done in order to:
Usually wash trading is extremely hard to prove, as washed trades look very similar to real trades.
On July 27, however, Bitfinex unknowingly baited wash traders during the Bitcoin (BTC) fork to Bitcoin Cash (BCH). At the time of the fork, all BTC holders were to receive BCH commensurate with the amount of BTC they held.
To accommodate for BTC held in margin positions at the time, Bitfinex had to finesse the numbers. To quote the announcement:
BCH will be distributed to settled bitcoin wallet balances as of the UTC timestamp of the first forking block, which is expected to occur on August 1st, 2017.
The token distribution methodology will be:
  • All BTC wallet balances will receive BCH
  • Margin longs in BTC/USD and margin shorts in XXX/BTC will not receive BCH
  • Margin shorts in BTC/USD and margin longs in XXX/BTC will not pay BCH
  • BTC Lenders will receive BCH
Due to the net amount of BTC committed in margin positions at the time of the fork, the above methodology may result in Bitfinex seeing a surplus or deficit of BCH. As such, we will be resolving this discrepancy in the form of a socialized distribution coefficient. For example, currently, there are more longs than shorts on the platform, causing a distribution coefficient of ~1.091 (Meaning that for each qualifying BTC a user will receive 1.091 BCH). The actual coefficient will be calculated at the moment of the distribution.
These rules turned out to be game-able. Because Bitfinex did not charge BCH to open short positions leading up to the split, one could simply purchase 10 BTC and short 10 BTC. This way, you could collect free BCH without any exposure to BTC price volatility. If BTC drops, the shorts cancel out any loss. If BTC soars, the profits cancel out the short positions.
On July 27, there were more longs than shorts on the platform and the distribution coefficient was 1.091.
However, on August 1, the distribution coefficient moved to 0.7757.
Leading up to the fork, an enormous amount of short positions were created. And instead of prices going down, which is what usually happens when shorts increase so dramatically, prices actually went up.
To make matters even more dubious, shorts dropped by 24,000 on a single tick right after the fork.
The manipulation here was so obvious that even Bitfinex had to acknowledge it. They issued an official statement about the wash trading here.
Pump & Dump Group Executives
So we’ve talked about insider traders and whales.
The final type of traders we’re going to talk about are the pump & dump group executives.
Pump & dump (P&D) is a form of market manipulation that involves purchasing a cheap asset, artificially inflating its price, and then dumping the asset a higher price.
The cryptocurrency market is rife with such groups. Here are just a few:
Here’s howPump & Dumps work
  1. P&D executives find a coin that is easy to manipulate and easy to sell. I.e. A coin with a strong community, advertising potential, small order book, and low trading volume.
  2. Executives secretly accumulate the coin over time while trying not to affect the price.
  3. These executives spread their pump signals to their inner circle members who pay upwards of $300 for the privilege of hearing early signals.
  4. The first wave of pumpers start shilling on signal groups. They tell gullible investors that a pump is about to happen because of “new website updates”, or “new partnership announcements”, generally whatever angle they can spin.
  5. As the price rises, the P&D executives start dumping their coins.
  6. Once the executives are spent, they spread the signal to their paid members to begin dumping the coin.
  7. The price starts falling and like a game of soggy cookie, the slowest players lose.
Cryptomedication wrote a great piece exposing BravadoGroup and several large influencers in the crypto space planning large scale P&Ds.
The reason I single out P&D executives is because they are the only ones that consistently profit. They have the most control and the highest amount of influence.So much so that members are willing to pay $300 for the privilege of being used as pawns. The buyers in signal groups are even worse off. They are falsely led into buying into a promising, undervalued coin, without any knowledge that it will soon be dumped.

So you’re telling me the game is rigged and I’m boned, what should I do?

The simple answer is to stop actively trading.The more you try to time the market, the more you open yourself up to opportunities of getting screwed over.
Speculative trading is a zero-sum game. In order for investors to outperform the market, they require others to underperform the market. In an unfair market, the average investor will more likely lose to people who have an unfair advantage and are gaming the market.
This is why I genuinely believe the average investor should just index the entire market. If you’re in it for the technology and the long-term growth, why bother speculating at all? Just hold a small piece of the entire cryptocurrency market. Indices has been proven to beat 95% professional traders in equity markets over a 15 year-period.
This is why I built HodlBot. It’s an easy way to diversify across the top 20 cryptocurrencies by market cap. It indexes 87% of the entire cryptocurrency market. Every week, your portfolio automatically rebalance so you’re always tracking the top 20 coins. It helps you get some quiet sleep while active traders lie awake, staring at their phones. You can read more about it here.
The best thing about a total market index is that it can guarantee market performance. Active trading, on the other hand, cannot.
I don’t mean to spread FUD by pointing out all the different ways traders are ripping investors off. I just want investors to know what exactly free and unregulated markets really mean. We’re not protected by the SEC or any other sanctioning bodies. While this comes with unbridled freedom and breathing room for rapid innovation, it also means all foul play is fair play.
It’s a brave new world out there filled with all kinds of splendor and danger. If you’re going to take your chances, please make sure you’re prepared.
submitted by haggenballs to BitcoinMarkets [link] [comments]

PAUL, JIM AND ROY Q&A 26 JULY 2018

PAUL, JIM AND ROY Q&A 26 JULY 2018
https://preview.redd.it/8t2d8ujwzgc11.jpg?width=1024&format=pjpg&auto=webp&s=cd13c50961d8839b7553a489743ea3c8d478306d
Dear members,
Here is a summary in Q&A format for the impromptu session Paul, Jim and Roy did in an unofficial trade.io supporters group on 26 July 2018 which should allay most if not all fears and questions.
Compliance & Documents Needed For Withdrawals:
First and foremost, we're not fortune tellers, but from our experience with other regulated companies in similar asset classes to crypto, like FX, CFD's, etc. regulation is coming and in many places already here as we've all seen.
We're choosing to get out in front of this, so that when it does happen and the companies that are being completely negligent in their compliance and regulatory duties are getting pinched, we're in a good position. With that said, though, we need to be cognizant of competition and not be too strict so that we can't compete with the cowboy exchanges in the near term.
With that said, let's tackle the KYC issue upon withdrawal first.
The process for withdrawals is very simple, and currently there is no tiered structure...meaning its the same process regardless if you want to withdrawal 1 satoshi or 1K BTC. This is in place for many reasons, as it will be easier to start onboarding clients once our fiat to crypto module is in place, and also grandfathering people into the LP.
When withdrawing you'll need to fill out Form A if you are an individual, and Form A is simply saying the info you're providing is true and accurate and you're not a US citizen. Very standard.
Then you provide an ID and Proof of Residence.
NOTHING needs to be certified and NOTHING needs to be translated to English, as we have a fully staffed multilingual compliance department. Apologies if the instructions were confusing, as we're in the process of making some tweaks to make it less confusing.
KYC/Withdrawal process is the minimum possible but still following regulatory guidelines.
Q: R documents provided confidential ?
A: 100% and securely stored.
Q : Restricted countries?
A : Only countries that are restricted are OFAC countries and the dangerous country known as the US.
Q: also i wanted to confirm, as u have already partnered with selfkey , will there be a personal wallet for each user at your end??? or a combine wallet ?? will there be any fee the e walllet service
A: Selfkey won't take place for some time, so put that to the side for now.
Q : So maybe you shall delete current FAQ in profile section? Simply because it's too scary for all.
A : We'll def beef it up to make it much clearer.
Q: Before moving, Any different form for companies withdrawing ? And kyc
A: Yes, good point, company withdrawals have a diff set of docs, that can be found within the guidelines, But still to my knowledge, company docs need not be certified or translated to English either.
Q : Any different form for companies withdrawing ?
A : Yes, good point, company withdrawals have a diff set of docs, that can be found within the guidelines
But still to my knowledge, company docs need not be certified or translated to English either.
Q : TIO price
A : For better or worse, we all keep an eye on price of TIO. The employees and staff have TIO just like the TIOnauts....so we all have the same interests here.
With that in mind, please remember there are nearly 90M TIO in circulation. The volume today (or most days for that matter) is 200K or a quarter of 1% of TIO in circulation.
So while its natural to see, say a 5% decrease in price, you can't ignore this is taking place on literally no volume and off of trade.io exchange. The price is being dictated by bulls**t exchanges like BitForex which is complete hocus pocus.
In order for TIO to get to the BNB levels we need liquidity and participants. We fully expect once we're up and running in full force on our exchange and TIO is limited to that, we'll be in good shape, in our opinion.
Please note this is not a recommendation to buy or sell TIO, but rather pointing out some factual information.
You wouldn't be able to sell 25K without cracking the price. In order for TIO to get to the BNB levels you need liquidity and participants. We fully expect once we're up and running in full force on our exchange and TIO is limited to that, we'll be in good shape.
Q : Exchange
A : It's not perfect, far from it. However, to say its not light years better than the beta which didn't even have working market orders at the time, and a fraction of features that are out now is simply inaccurate. I'll be happy to post what the demo beta looked like at launch. Obviously this isn't something to be proud of, but again, I do want to stick up for our devs just a little bit here as I know they are busting their butts.
With that said, any remaining mods are being tended to around the clock and I'm personally updating everyone every 12 hours. For example, there were issues with saving presets, data issues, etc. have been rectified. Next on the list is BCH & USDT. Once bugs are fixed, then enhancements come that we've been tracking and logging.
Dev's are tidying up any residual issues from launch, like BCH & USDT. Dev's btw, are more than 14 (as I saw that number somewhere), we now have over 30 devs around the globe. So rest assured there is not 1 dev in the basement making Pinnochio 🙂
On the to immediate do list after the tidying:
  1. Adding additional users, of course
  2. Adding the airdrop tokens
  3. Adding additional tokens & blockchains
So those 3 items are on the the "get it done" list. Also will be working on margin trading as well which is going to be a key initiative (i.e. our friends at Bitmex.)
Q : Why do we see trades on inactive assets ?
A : We have algos firing in tiny trades to create charts for now. Until there is adequate flow, this is necessary to create clean looking charts.
Q : So LP is technically already sort of functioning then?
A : Sort of, its a bit more complicated than that.
Q : When traded on only one exchange same prob. How can we say it s not being manipulated by the exchange itself
Non tionauts might think that way..
A : Manipulate usually conotates a negative, not sure why having TIO only on trade.io would lead to a negative.
Q : Won't ppl added in 2 batch miss LP start?]
Tied in to this. Some people will surely complain about the 30 day no fee incentive. Claiming (and rightly so) they did not avail themselves of it since they were restricted
A : We're def not committed to 30 days only, as you rightly said, it won't be fair, if we only open it up to say 5K people in the first 30 days.
Q : when will there be bots placing and filling order book
A : Once there is a larger number of users on the platform.
Q : Set deadlines, dates for things to get done
A : I will refrain from setting deadlines, as we haven't exactly been the greatest at meeting deadlines.
Q : Adding additional users
A : For adding additional users, its going to be a shoot first ask questions later tactic. So as we add, emails will go out, and we will alert the community. Its in everyones best interest that we allow the 20k+ on the waiting list and open it up to the masses ASAP though for 101 reasons. We're all on the same page there gang.
Q : Will you have a public list on which features are being worked on? (Not deadlines, just a list for poeple to know what to expect next)
A : I will have them in my twice daily updates (Paul).
Q : LP
A : As I have said earlier this week, we have been working closely with regulators to modify the LP which will maximize it's utility AND benefit to TIO hodlers. The current structure was based on the regulatory guidelines during our ICO and is expected to change in the very near future. (Roy)
We have been working with regulators and jurisdictions with the goal of making the LP TIO only. As alluded to before, things are going well and if they continue this is the direction of the LP.
Q : will there be a way to calculate taxes, or is it still soon to have an answer to that?
A : Taxes are the responsibility of the LP participant. there are dozens of jurisdictions which have their own unique tax laws and requirements which would be an incredible undertaking to address for all our users. We have been approached with a few technology providers who are working with accounting firms to address this very issue. should we discover a convenient solution for our clients then of course we integrate a solution that is conveinent for all our clients to calculate/estimate their tax liabilities for their respective juridictions.
Q : Can you give us estimated revenues on ICO consulting business?
A : It is important to understand the ICO Consulting pricing model and revenue structure for this. Our consulting services require a small upfront engagement fee to onboard the client. The majority of the revenue is not collected or recognized until the ICO client has completed their ICO as the pricing model is performanced based much of the time on amount of funds raised and tokens issued. which means, revenue from consulting engagement is delayed 3-4 months until the ICO has ended for that consulting client.
Q : Provided tiers remain as is, the price of TIO will most probably plateu at some point (I imagine pretty quickly). What's the plan with the tiers? Will these be dynamic at some point?
A : Tiers will change as price of TIO changes, also with regards to TIO price plateauing, pls keep in mind that while the LP is one major utilization of TIO, there are others to keep TIO in demand. The LP will not be the sole dictator of price/demand of TIO.
Q : With higher and higher TIO price the likelyhood is that less and less people will be interested to buy as "the train would have left the station" Imagine when TIO is $1, you'd need 2,500$ for every tier. Imagine if it reaches 10$
A : Again, the tier structure will remain "flexible" as to allow for the most participants possible while at the same type not diluting. The original plan to adjust the tier is based on the price and volume of TIO. We are contiuously monitoring this to make the LP fair and benficial to our community.
Q : In my opinion, the model of having the LP with multiple currencies (not only TIO) is a much better one, as participants will have multiple diversified assets portofolio
A : It's subjective really. I believe TIO only LP will boost the token much better. That's what we believe as well. Having someone contribute 1K BTC and getting profits from the LP doesn't help TIO at all, it only helps their pockets.
Q : when do new version of calculator appear?
A : Once the terms of service have been finalized and the official announcemnet has been made.
Q : Will the daily profits automatically be included in the next (successive) days' calculations? Or will they be deposited in a separate wallet outside the LP
A : Profit from today will be put in your wallet pro rata tomorrow, and so on.
Q: please tell what will happen to leftover (for the person having teir lvl less than 100)
A: trade.io keeps it. If the participants don't maximize their LP contribtutions that is their discretion. we are not forcing the min teir structure to be 25K as this would not be fair. We structured the LP to be fair for the masses and understand that not everyone can maximize their contribution. However, if LP participants do not max out their teir level we are a for profit company and any leftovers will help us spearhead additional initives and partnerships to increase the utility of TIO and benefit the community. There are direct and indirect benefits of the LP here.
Q: Will the LP be available before the end of September?
A: I refuse to provide a deadline...don't make me....:) We stink at hitting deadlines, its a tough biz in tech. We're busting our butts though to get the LP up and running.
Q : well, just imagined that dynamic model and it seems that in that model rich become richer and poor get poorer. Am i wrong?
A : With the flexibility for us to change the tiers we can control this better so that doesn't happen. The last thing we want is to go against our core values and placate to the whales. That's not why we created the LP. the LP was created to redistribute wealth in an easy an accessible way to the masses. What benefit does it give our community if only the rich become richer?
Q : will there be an auto-reinvest option?
A : Yes, 100%, like a money market sweep type mechanism.
Q : On window for LP withdrawal
A : You can opt out at any time, and it will be automatically removed at the next "roll over" similar to if you have traded FX with swaps.
Q : The auto-reinvest will probably hit the tier limit right (unless you're in the top tier which is currently limitless). What happens then?
A : You'll be automatically bumped to the next tier
Q : will top tier be capped on revenues shared on the start, or this will be a possibility for the future?
A : Top tier is capped in terms of % but not in terms of quantity, is that what you're asking? There has always been a cap to the %....its never been open ended. we are potentially paying out 55% of the LP, in actuality, not 50
Q : but we talked earlier that there will be an option to re-invest.. now given that the payouts will be done in other crypto.. will that option be able to convert let's say BTC into TIo and add to the LP automatically ?? if that's the case, then we''ll automatically move to the next tier.. set and forget
A : We can have a bot that auto buys TIO, we can add that later to reinvest. A later feature would be the concept of "dust" to do this reinvestment. .
Q : Will the daily profits automatically be included in the next (successive) days' calculations? Or will they be deposited in a separate wallet IP plan using dust later?
A : They would need to be reinvested to move up. initially, this would have to be a bit manual, but we are planning a DRIP plan using dust later.
Q : Non-TIO assets and caps
A : For non TIO, there needs to be caps so people dont do 2500 TIO and US$1 million. When and if we allow non-TIO in LP. AND non-TIO will not have same multipliers, but as an enhancement. We are not trying to fuck you or game you in any way. Over time, we want to enable people to make money loaning BTC, ETH, USD, etc so other can go short. Returns on that will not be like TIO. We launch with TIO only, later we present the plan for other assets. On we have something we all like, we can move ahead.
Q : LP top tier caps
A : There will be a cap on top tier as well, above where our current largest outside investors are.
Q : so Jim.. shifting gears a bit here, can you talk to us about the regulatory side of things.. where do we stand? what're the future plans with regulators? will TIO be listed as a utility token or a security? anything you can share with us in terms of regluations would be great.. I know there's a lot of confusion with the SEC right now, but any thoughts or undergoing discussions?
A : All cryptos have different classifications in different jurisdictions. We are in Switzerland, where we are a utility. US might treat us diff, as they see everything as a security. Malta has another view. This applies to ALL cryptos, not just TIO, every jurisdiction is different. To say any token is a security or utility is not accurate. Dealing with customers for exchanges is a different regulatory issue.
On the exchange regulatory side, we are working on multiple jurisdictions. HK, US, Malta, etc. In Malta, we have co setup already. Just waiting for app process to open.
Q : Is there any chance that leverage trading will be added to the exchange?
A : yes, on the priority list.
Q : Once we lock our TIOs to the LP, adn after a few months we want to remove them (loss or profit does not matter) do we get back teh same ammount of TIOs even if the price of TIO increases?
Lest say I put 25,000 TIO, with TIO price of $1, adn wehn I decide to take them off the price of TIO is 2$, do I still take 25,000 TIO back or 12,500 TIO ?
A : Yes #TIO in = #TIO out unless the LP has a massive loss that wipes out our blanace sheet and TIO reserve which stands in front of you.
Conclusion : We are going back to whipping the slaves in the salt mines.
submitted by Scarlet_TIO to u/Scarlet_TIO [link] [comments]

Algorithmic Crypto Trading Bots - Napoleon Software

Just to give a little intro of who we are!
Napoleon Group launched in 2016 to reinvent financial investment based on two fields of expertise: quantitative trading and blockchain technology. Headquartered in Paris, France, Napoleon Group comprises three divisions:

We are also known under NapoleonX Project. Our white paper baseline included delivering a platform and offering low-frequency trading signals to our NPX token holders. Based on the company extensive experience, we gathered more than 50 FIAT & Crypto strategies delivering trading signals at midnight UTC.
That’s when we came up with our fourth company. Napoleon Software, which offers a professional and automated trading bot solution to anyone.

Napoleon Software
Currently, we have just launched a software that executes our trading signals automatically. Our signals are based on long-standing, high-performance algorithmic strategies running on a variety of highly liquid assets.
These trading signals are offered to our community on our website napoleonx.ai; you can check our historical data for each strategy on the platform. For this automatization bot, we will create an API connected to margin trading exchanges (Currently working with Bitmex & Kraken. More exchanges will be added). You will always be in control of your funds, we do not request withdraw permission.

Proposal
We are doing a free credit airdrop for people that want to test our automated trading bots; If you want to participate please complete this short form and our team will come back to you shortly. We like to hear feedback and opinions to keep improving our software.

Social Networks, CONNECT WITH US! 
Join us on Telegram: https://t.me/napoleonx_ICO
Twitter: https://twitter.com/NapoleonSoft
Facebook: https://www.facebook.com/NapoleonSoft
Reddit: https://www.reddit.com/NapoleonSoftware/
User-Guide Napoleon Software: https://napoleon-platform.s3.eu-central-1.amazonaws.com/website/Napoleon+Software+Project_V20.06.2019.pdf Website: https://napoleonx.ai/bots/napoleon-bots
submitted by Project_NapoleonX to algotradingcrypto [link] [comments]

“Funding” Of The Perpetual Contract – The Invisible “Killer” Disguised As “Coordinator” Between The Longs And The Shorts

“Funding” Of The Perpetual Contract – The Invisible “Killer” Disguised As “Coordinator” Between The Longs And The Shorts


You will not believe that if you have a position of 10 million, and it is destined to be liquidated in less than a day. Investors may not know that the funding is the “culprit”.
Since the debut of funding, it is known as the “coordinator” of the perpetual contract market to make a balance between the longs and the shorts, but is this true? The answer is no, and some veteran investors have discovered the truth of funding – the invisible “position killer”.
Why Is This “Position Killer” Invisible?
Funding is generally referred to by investors as “carrying charge” or “overnight fee”. It’s hard to understand it thoroughly, and what you need to pay attention to is the charging problem that is closely related to you.
Generally, the funding rate is periodic payments exchanges between longs and shorts over a specific period and is used to calculate the funding amount to be paid or received at the funding timestamp, usually two to three times a day. That said, except for trading fees, you’ll have to pay several additional fees due to the existence of “funding”.
“The rate collected is less than 0.4%, why you make a fuss?” Indeed, the industry usually controls the funding between -0.375% ~ +0.375%, which seems to be insignificant. The truth is not hidden deliberately but has been ignored. Why can’t you see this “position killer”? Because it is covered by “leverage” and “maintenance margin”, among them, “leverage” makes you overlook the danger of ”funding”, while the “maintenance margin” helps “funding” block the retreat of the position.
Let’s take a look at how your positions are “killed” by “funding” under the cover of “leverage” and “maintenance margin”.
“The Position-Killing Process”
A few days ago, Mr. Bai traded XBTUSD (BTCUSD) perpetual contract at BitMEX (BM), his position was still be liquidated although the market price did not reach the liquidation price. Why did it happen? How did it happen? Let’s see the details of the whole “killing process”.
1)Position Value = 8,000 Contracts *1USD*1/10000=0.8BTC;
Original Principal = Position Value / Leverage = 0.008 BTC
2) Two Payments Exchanges = Position Value * Funding Rate * 2 = 0.8 * 0.3% ** 2 = 0.0048 BTC
3) Remaining Principal After Two Exchanges (Margin) = 0.8BTC/100-0.0024BTC*2=0.0032BTC
We can see that 60% of your principal was “killed” after two payments exchanges (0.0048/0.008*100%). But why? Because “leverage” succeeded in providing the cover, and your memory of leverage only stayed at the moment of opening a position. Now you may understand that you rely on the high leverage to obtain high returns, while the funding uses such leverage to swallow up your principal.
Remember the data of 0.0032BTC, cause this is the crucial line that determines whether you can hold the position or be liquidated.
What are the rules for deciding the liquidation of a position? Apparently, the liquidation price has not arrived, but the essence is whether the available margin (the remaining principal under the isolated margin model) can meet the lower limit of the maintenance margin. What index is used to measure this boundary? It is another cover for funding – maintenance margin, which determines the threshold of the remaining principal for the survival of your position. The maintenance margin for the BTC perpetual contract on the BM platform is 0.5%. Then the lower limit of the maintenance margin is:
Lower Limit Of Maintenance Margin = Position Value *0.5%=0.8BTC*0.5%=0.004BTC
Obviously, after two payments exchanges, the remaining principal of 0.0032BTC is less than the lower limit of the maintenance margin 0.004BTC, and the position will enter the liquidation process according to the rules.
At this point, the “killing process” is clearly displayed. Before this explanation, you may fully accept the funding as the “coordinator” between the longs and the shorts, and ignore the covering role of leverage and maintenance margin.
How Cruel Is This “Position Killer”
When you finally accept the cruel fact that the "coordinator" is indeed a “position killer”, however, you may not realize that this is just the tip of an iceberg. Under the cover of “leverage” and “maintenance margin”, the “position killer” – funding will make more positions of investors be liquidated faster. Let’s take BM as an example to make a simple calculation:
Direction: Long
Open Positions: 100 CONTR (1 CONTR = 100USD)
Margin Mode: Isolated Margin
Funding: Collected every 8 hours with a funding rate of 0.3%
Maintenance Margin: 0.5%
Regardless of the market and any other fees
Liquidation cycles based on leverages:


We can see that a position worth of 10,000 US dollars, regardless of markets and fees, if with a 10x leverage, it will be liquidated after 12 days; if with a 20x leverage, it can be held for 5 days before being liquidated; however, if using a 100x leverage, only one day is required for the liquidation. Unexpectedly, your selecting of the leverage and acceptance of the maintenance margin are equivalent of setting the “liquidation cycle” for the position and determining the “liquidation technique” for funding.
There is no doubt that the higher the “maintenance margin” and the “funding rate” are designed, and the higher the leverage you choose, the faster the position will be liquidated. In reality, the design of some digital exchanges may even more unfriendly, let’s see the real parameters taken from three exchanges:


The above data is taken from the product description or fee records of their official websites accordingly without any exaggeration. Here are some incredible discoveries:
1) BitMex's funding rate even reaches 0.5%, which means that half of the principal will be deducted for each exchange of funds.
2) OKEx's maintenance margin is actually up to 93.5%, which means that you can't add any leverage, and once you added, your position would be liquidated.
3) Although Gate.io is at the intermediate level, the maintenance margin is also five times of 0.5%.
After removing the extreme data, we take the critical data from the three: a maintenance margin of 2.5% and the funding rate of 5.0%, to re-evaluate the relationship between leverage and the liquidation cycle, conclusions are shown below:


A dramatic scene emerged. Under such setting, the position can be held up to 16 hours (the funding generally occurs every 8 hours), it’s even impossible to use a 50x or 100x leverage. After seeing the truth, you may understand why those exchanges do not set 50x, or 100x high leverage. It’s not their unwillingness to do so, it’s these priority settings that prevent them from doing so.
All the hustles and bustles of the world, benefit dominates! There is nothing wrong in chasing profits, however, a bottom line should exist! When more investors understand the truth of “funding”, they will certainly make rational decisions. This is why 58COIN, the first exchange that launched the perpetual contract, completely abandoned the “funding” since the beginning. Ironically, we are the only perpetual contract platform that called off “funding”.
Website: https://www.58ex.com/
Facebook: https://www.facebook.com/coin.58COIN
Twitter: https://twitter.com/58_coin
Telegram: https://t.me/official58
submitted by 58CoinExchange to u/58CoinExchange [link] [comments]

Detailed explanation of BitMEX pending order strategy

article originally from FMZ.COM ( A place you can create your own trading bot by Python, JavaScript and C++) https://www.fmz.com/bbs-topic/2710
BitMEX has become the platform of choice for cryptocurrency leverage trading, but its API trading restrictions are strict and make automatic traders feeling very confused. This article mainly shares some tips on the use of APIs in the FMZ quantitative trading platform, mainly for the market making strategy.

1. Features of BitMEX

The most significant advantage is that the trading liquidity is very active, especially the Bitcoin perpetual contract, the transaction amount per minute often exceeds one million or even ten million US dollars; BitMEX pending orders trading have the policy of return commission fee, although it is not much, but attracted a large number of market making tradings, which made the price depth very rich. the latest buying and selling price often have more than one million dollars worth pending orders; because of this point, the transaction price often fluctuates around the minimum change unit of $0.50.

2.BitMEX API frequency limit

The request frequency of the REST API is limited to 300 times every 5 minutes, almost equal to 1 time every second, this limit can be said to be very strict compared to other trading platforms. After the limit is exceeded, 'Rate limit exceeded' will be prompted. If you keep exceeding the limit, the IP may be disabled for one hour. Multiple disables in a short time will result in a week being disabled. For each API request, BitMEX will return the header data, header data is used to see the current number of remaining requests. In fact, if the API is used properly, it will not exceed the frequency limit and generally does not need to be checked.

3.Use websocket to get the market quote

The BitMEX REST API is more restrictive. The official recommendation is to use the websocket protocol more, and push more data types than the average exchange. Pay attention to the following points for specific use:
If the depth data push time is too long, there will be an error, which does not correspond to the real depth. It is estimated that there are too many depth changes and there are omissions in the push, but in general, due to excellent fluidity, you can subscribe to "ticker" or "trades". The order details push is missing a lot and is almost unavailable. There is a significant delay in the push of account information, preferably using the REST API. When the market is volatile too big, the push delay will reach a few seconds. The following code uses the websocket protocol to obtain market and account information in real time, mainly for market-making strategies. The specific use needs to be performed in the main() function.
var ticker = {price:0, buy:0, sell:0, time:0} //Ticker information, the latest price, "buy one" price, "sell one" price, update time //Account information, respectively, position, buying and selling price, buying and selling quantity, position status, order Id var info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} var buyListId = []//Global variables, pre-emptive buying id list, will described below var sellListId = [] var APIKEY = 'your api id' //Need to fill in the BitMEX API ID here. Note that it is not a key, which is required for websocket protocol authentication. var expires = parseInt(Date.now() / 1000) + 10 var signature = exchange.HMAC("sha256", "hex", "GET/realtime" + expires, "{{secretkey}}")//The secretkey will be automatically replaced at the bottom level and does not need to be filled in. var bitmexClient = Dial("wss://www.bitmex.com/realtime", 60) var auth = JSON.stringify({args: [APIKEY, expires, signature], op: "authKeyExpires"})//Authentication information, otherwise you cannot subscribe to the account bitmexClient.write(auth) bitmexClient.write('{"op": "subscribe", "args": ["position","execution","trade:XBTUSD"]}')//Subscribed to positions, order execution and perpetual contract real-time transaction while(true){ var data = bitmexClient.read() if(data){ bitmexData = JSON.parse(data) if('table' in bitmexData && bitmexData.table == 'trade'){ data = bitmexData.data ticker.price = parseFloat(data[data.length-1].price)//The latest transaction price, will push multiple transactions at a time, take one will be ok //You can get the "buy one" and "sell one" price according to the direction of the latest transaction, without subscribing to the depth. if(data[data.length-1].side == 'Buy'){ ticker.sell = parseFloat(data[data.length-1].price) ticker.buy = parseFloat(data[data.length-1].price)-0.5 }else{ ticker.buy = parseFloat(data[data.length-1].price) ticker.sell = parseFloat(data[data.length-1].price)+0.5 } ticker.time = new Date(data[data.length-1].timestamp);//Update time, can be used to determine the delay } }else if(bitmexData.table == 'position'){ var position = parseInt(bitmexData.data[0].currentQty) if(position != info.position){ Log('Position change: ', position, info.position, '#[email protected]')//Position change Log, and pushed to WeChat, remove @ means Do not push info.position = position } info.position = parseInt(bitmexData.data[0].currentQty) } }

4. Placing order skills

BitMEX officially recommends using "bulk ordering" and "order modification" to place order. "bulk ordering" can be executed faster due to BitMEX real-time auditing, risk checking, margin calculation, and commissioning. Therefore, the frequency of the "bulk ordering" is calculated as one tenth of the normal frequency. Futhermore, our order operation should use the method of "bulk ordering" and "order modification" to minimize the use of API. The query order status also needs to consume the API using frequency. It can judge the order status according to the position change or modification order failure.
"bulk ordering" does not limit the order quantity (can't be too much), in fact, a single order can also use the "bulk ordering" interface. Due to the operation of modifying the order, we can "pre-order" some orders where the price deviates greatly, these orders will not be executed, but when we need to place an order, we only need to modify the price and quantity of the placed order. when modifying the order occurs failure, it can also be used as a signal for the order to be executed.
The following is the specific implementation code:
// Cancel all orders and reset global variables function cancelAll(){ exchange.IO("api","DELETE","/api/v1/ordeall","symbol=XBTUSD")//Call IO extension revocation info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} buyListId = [] sellListId = [] } //placing alternate order function waitOrders(){ var orders = [] if(buyListId.length<4){ //When the number of inspections is insufficient, place another "bulk" for(var i=0;i<7;i++){ //Due to BitMEX restrictions, the price can not be excessively excessive, the order quantity can not be too small, and the "execInst" parameter guarantees that only the market making transaction can be executed. orders.push({symbol:'XBTUSD', side:'Buy', orderQty:100, price:ticker.buy-400+i, execInst:'ParticipateDoNotInitiate'}) } } if(sellListId.length<4){ for(var i=0;i<7;i++){ orders.push({symbol:'XBTUSD', side:'Sell', orderQty:100, price:ticker.buy+400+i, execInst:'ParticipateDoNotInitiate'}) } } if(orders.length>0){ var param = "orders=" + JSON.stringify(orders); var ids = exchange.IO("api", "POST", "/api/v1/ordebulk", param);//Bulk orders submitted here for(var i=0;i0){ info.position = pos[0].Type == 0 ? pos[0].Amount : -pos[0].Amount }else{ info.position = 0 } } //Unknown error cannot be modified, all orders are cancelled, reset once else if(err.includes('Invalid orderID')){ cancelAll() Log('Invalid orderID,reset once') } //Exceed the frequency limit, you can continue to try after hibernation else if(err.includes('Rate limit exceeded')){ Sleep(2000) return } //The account is banned, all orders are revoked, and sleep is awaiting recovery for a long time. else if(err.includes('403 Forbidden')){ cancelAll() Log('403,reset once') Sleep(5*60*1000) } }else{ //Modify order successfully if(direction == 'buy'){ info.buyState = 1 info.buyPrice = price info.buyAmount = amount }else{ info.sellState = 1 info.sellPrice = price info.sellAmount = amount } } } //0.5 price change function fixSize(num){ if(num>=_N(num,0)+0.75){ num = _N(num,0)+1 }else if(num>=_N(num,0)+0.5){ num=_N(num,0)+0.5 }else{ num=_N(num,0) } return num } //Trading function function trade(){ waitOrders()//Check if you need a replacement order var buyPrice = fixSize(ticker.buy-5) //For demonstration purposes only, specific transactions should be written by yourself. var sellPrice = fixSize(ticker.sell+5) var buyAmount = 500 var sellAmount = 500 //Modify from an alternate order when there is no order if(info.buyState == 0 && buyListId.length > 0){ info.buyId = buyListId.shift() amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount, info.buyId) } if(info.sellState == 0 && sellListId.length > 0){ info.sellId = sellListId.shift() amendOrders([{orderID: info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount, info.sellId ) } //Existing orders need to change price if(buyPrice != info.buyPrice && info.buyState == 1){ amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount) } if(sellPrice != info.sellPrice && info.sellState == 1){ amendOrders([{orderID:info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount) } }

5. Others

BitMEX's server is in the Amazon's server in Dublin, Ireland. The server running strategy ping is less than 1ms when you choose a AWS cloud sever in Dublin, but when there is still a delay in pushing, the overload problem cannot be solved. In addition, when the account is logged in, the server agent cannot be located in the United States and other places where don't allow cryptocurrency tradings. Due to the regulation, the account will be banned.
The code in this article has been modified from my personal strategy and is not guaranteed to be completely correct for reference. The specific use of the market code should be executed in the main function, the trading-related code is placed before the main function, and the trade() function is placed in the push market quote.
article originally from FMZ.COM ( A place you can create your own trading bot by Python, JavaScript and C++) https://www.fmz.com/bbs-topic/2710
submitted by FmzQuant to BitMEX [link] [comments]

I have a some questions about margin trading.

In case I didn't make it clear I'm doing all of this on BitMEX
So I've only recently got into the whole world of bitcoin exchanges, and I've found out about bitmex's option of up to 100x leverage while margin trading. Anywhere I've looked for information about margin trading on bitmex says to absolutely stay away from 100x leverage unless you're very experienced, but just as a small experiment I wanted to see what would happen if I were to try a trade with 100x leverage before I actually go and try to trade, but since I'm pretty inexperienced, I'm not sure I'm quite understanding everything and I'm afraid I've horribly misunderstood something fundamental here, so I'm hoping that someone more experienced here can help me out with some questions and correct me if I'm wrong on anything.
I've noticed that the price of BTC has been hovering a little lower than 11k, and sometimes going above 11k then back down over the past few days. Using this knowledge, I decided to start my test when BTC was worth ~10860 USD. I used the calculator on bitmex and set it up like so:
Quantity: 10000
Entry Price: 10880.0
Exit Price: 11000.0
Leverage: 100
And I got the following as a result:
Margin: 0.0105 XBT
Entry Value: -0.9191 XBT
Exit Value: -0.9091 XBT
Profit/Loss: 0.0100 XBT
Profit/Loss %: 1.09%
ROE %: 108.80%
From what I understand, this means that I would pay 0.0105 BTC and then if I exited at the exit price, I would have gained my initial investment of 0.0105 BTC back, as well as an additional 0.01 BTC. Is this correct or am I reading this wrong or something?am i living a lie?
Also, what I've heard is that a large part of the risk of high leverage trades comes from the liquidation price being close to the entry price, so I used the liquidation price calculator to see where that would be at, and it yielded a price of:
Liquidation Price: 10828.5
So since my entry price of 10880 was a pretty low dip from 11k at the time, and it looked like the value of BTC was rising again, I decided that it'd be risky but not unreasonable, to assume that it wouldn't dip to the liquidation price of 10828.5. So now I put my hypothetical 0.0105 BTC in and waited...
A little while later the price hit 11k without ever dipping to the liquidation price. Great! So this means I would've profited 0.01 BTC, right?jesusplease let me know if im wrong please <3
Also, I'm slightly confused about how I would go about executing this. From what I know, I would place a buy order with the quantity as what I put in the calculator, a limit price as what I put my "entry price" as in the calculator, and a leverage of 100x. Then, I would also put a sell order for what I put my limit price as in the calculator so that it would sell when it reached that price? This whole part I just said feels wrong, so please correct me. Also, I heard that people put a sell order just above their liquidation price so that they can still salvage something if it's about to be liquidated. Is this a good idea, and also the proper use case for that strategy?
I really feel like I have 90% of this stuff wrong, so if I'm wrong about anything, please explain!
submitted by VeryGreens to BitcoinMarkets [link] [comments]

Detailed explanation of BitMEX pending order strategy

article originally from FMZ.COM ( A place you can create your own trading bot by Python, JavaScript and C++)
BitMEX has become the platform of choice for cryptocurrency leverage trading, but its API trading restrictions are strict and make automatic traders feeling very confused. This article mainly shares some tips on the use of APIs in the FMZ quantitative trading platform, mainly for the market making strategy.

1. Features of BitMEX

The most significant advantage is that the trading liquidity is very active, especially the Bitcoin perpetual contract, the transaction amount per minute often exceeds one million or even ten million US dollars; BitMEX pending orders trading have the policy of return commission fee, although it is not much, but attracted a large number of market making tradings, which made the price depth very rich. the latest buying and selling price often have more than one million dollars worth pending orders; because of this point, the transaction price often fluctuates around the minimum change unit of $0.50.

2.BitMEX API frequency limit

The request frequency of the REST API is limited to 300 times every 5 minutes, almost equal to 1 time every second, this limit can be said to be very strict compared to other trading platforms. After the limit is exceeded, 'Rate limit exceeded' will be prompted. If you keep exceeding the limit, the IP may be disabled for one hour. Multiple disables in a short time will result in a week being disabled. For each API request, BitMEX will return the header data, header data is used to see the current number of remaining requests. In fact, if the API is used properly, it will not exceed the frequency limit and generally does not need to be checked.

3.Use websocket to get the market quote

The BitMEX REST API is more restrictive. The official recommendation is to use the websocket protocol more, and push more data types than the average exchange. Pay attention to the following points for specific use:
If the depth data push time is too long, there will be an error, which does not correspond to the real depth. It is estimated that there are too many depth changes and there are omissions in the push, but in general, due to excellent fluidity, you can subscribe to "ticker" or "trades". The order details push is missing a lot and is almost unavailable. There is a significant delay in the push of account information, preferably using the REST API. When the market is volatile too big, the push delay will reach a few seconds. The following code uses the websocket protocol to obtain market and account information in real time, mainly for market-making strategies. The specific use needs to be performed in the main() function.
var ticker = {price:0, buy:0, sell:0, time:0} //Ticker information, the latest price, "buy one" price, "sell one" price, update time //Account information, respectively, position, buying and selling price, buying and selling quantity, position status, order Id var info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} var buyListId = []//Global variables, pre-emptive buying id list, will described below var sellListId = [] var APIKEY = 'your api id' //Need to fill in the BitMEX API ID here. Note that it is not a key, which is required for websocket protocol authentication. var expires = parseInt(Date.now() / 1000) + 10 var signature = exchange.HMAC("sha256", "hex", "GET/realtime" + expires, "{{secretkey}}")//The secretkey will be automatically replaced at the bottom level and does not need to be filled in. var bitmexClient = Dial("wss://www.bitmex.com/realtime", 60) var auth = JSON.stringify({args: [APIKEY, expires, signature], op: "authKeyExpires"})//Authentication information, otherwise you cannot subscribe to the account bitmexClient.write(auth) bitmexClient.write('{"op": "subscribe", "args": ["position","execution","trade:XBTUSD"]}')//Subscribed to positions, order execution and perpetual contract real-time transaction while(true){ var data = bitmexClient.read() if(data){ bitmexData = JSON.parse(data) if('table' in bitmexData && bitmexData.table == 'trade'){ data = bitmexData.data ticker.price = parseFloat(data[data.length-1].price)//The latest transaction price, will push multiple transactions at a time, take one will be ok //You can get the "buy one" and "sell one" price according to the direction of the latest transaction, without subscribing to the depth. if(data[data.length-1].side == 'Buy'){ ticker.sell = parseFloat(data[data.length-1].price) ticker.buy = parseFloat(data[data.length-1].price)-0.5 }else{ ticker.buy = parseFloat(data[data.length-1].price) ticker.sell = parseFloat(data[data.length-1].price)+0.5 } ticker.time = new Date(data[data.length-1].timestamp);//Update time, can be used to determine the delay } }else if(bitmexData.table == 'position'){ var position = parseInt(bitmexData.data[0].currentQty) if(position != info.position){ Log('Position change: ', position, info.position, '#[email protected]')//Position change Log, and pushed to WeChat, remove @ means Do not push info.position = position } info.position = parseInt(bitmexData.data[0].currentQty) } }

4. Placing order skills

BitMEX officially recommends using "bulk ordering" and "order modification" to place order. "bulk ordering" can be executed faster due to BitMEX real-time auditing, risk checking, margin calculation, and commissioning. Therefore, the frequency of the "bulk ordering" is calculated as one tenth of the normal frequency. Futhermore, our order operation should use the method of "bulk ordering" and "order modification" to minimize the use of API. The query order status also needs to consume the API using frequency. It can judge the order status according to the position change or modification order failure.
"bulk ordering" does not limit the order quantity (can't be too much), in fact, a single order can also use the "bulk ordering" interface. Due to the operation of modifying the order, we can "pre-order" some orders where the price deviates greatly, these orders will not be executed, but when we need to place an order, we only need to modify the price and quantity of the placed order. when modifying the order occurs failure, it can also be used as a signal for the order to be executed.
The following is the specific implementation code:
// Cancel all orders and reset global variables function cancelAll(){ exchange.IO("api","DELETE","/api/v1/ordeall","symbol=XBTUSD")//Call IO extension revocation info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} buyListId = [] sellListId = [] } //placing alternate order function waitOrders(){ var orders = [] if(buyListId.length<4){ //When the number of inspections is insufficient, place another "bulk" for(var i=0;i<7;i++){ //Due to BitMEX restrictions, the price can not be excessively excessive, the order quantity can not be too small, and the "execInst" parameter guarantees that only the market making transaction can be executed. orders.push({symbol:'XBTUSD', side:'Buy', orderQty:100, price:ticker.buy-400+i, execInst:'ParticipateDoNotInitiate'}) } } if(sellListId.length<4){ for(var i=0;i<7;i++){ orders.push({symbol:'XBTUSD', side:'Sell', orderQty:100, price:ticker.buy+400+i, execInst:'ParticipateDoNotInitiate'}) } } if(orders.length>0){ var param = "orders=" + JSON.stringify(orders); var ids = exchange.IO("api", "POST", "/api/v1/ordebulk", param);//Bulk orders submitted here for(var i=0;i0){ info.position = pos[0].Type == 0 ? pos[0].Amount : -pos[0].Amount }else{ info.position = 0 } } //Unknown error cannot be modified, all orders are cancelled, reset once else if(err.includes('Invalid orderID')){ cancelAll() Log('Invalid orderID,reset once') } //Exceed the frequency limit, you can continue to try after hibernation else if(err.includes('Rate limit exceeded')){ Sleep(2000) return } //The account is banned, all orders are revoked, and sleep is awaiting recovery for a long time. else if(err.includes('403 Forbidden')){ cancelAll() Log('403,reset once') Sleep(5*60*1000) } }else{ //Modify order successfully if(direction == 'buy'){ info.buyState = 1 info.buyPrice = price info.buyAmount = amount }else{ info.sellState = 1 info.sellPrice = price info.sellAmount = amount } } } //0.5 price change function fixSize(num){ if(num>=_N(num,0)+0.75){ num = _N(num,0)+1 }else if(num>=_N(num,0)+0.5){ num=_N(num,0)+0.5 }else{ num=_N(num,0) } return num } //Trading function function trade(){ waitOrders()//Check if you need a replacement order var buyPrice = fixSize(ticker.buy-5) //For demonstration purposes only, specific transactions should be written by yourself. var sellPrice = fixSize(ticker.sell+5) var buyAmount = 500 var sellAmount = 500 //Modify from an alternate order when there is no order if(info.buyState == 0 && buyListId.length > 0){ info.buyId = buyListId.shift() amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount, info.buyId) } if(info.sellState == 0 && sellListId.length > 0){ info.sellId = sellListId.shift() amendOrders([{orderID: info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount, info.sellId ) } //Existing orders need to change price if(buyPrice != info.buyPrice && info.buyState == 1){ amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount) } if(sellPrice != info.sellPrice && info.sellState == 1){ amendOrders([{orderID:info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount) } }

5. Others

BitMEX's server is in the Amazon's server in Dublin, Ireland. The server running strategy ping is less than 1ms when you choose a AWS cloud sever in Dublin, but when there is still a delay in pushing, the overload problem cannot be solved. In addition, when the account is logged in, the server agent cannot be located in the United States and other places where don't allow cryptocurrency tradings. Due to the regulation, the account will be banned.
The code in this article has been modified from my personal strategy and is not guaranteed to be completely correct for reference. The specific use of the market code should be executed in the main function, the trading-related code is placed before the main function, and the trade() function is placed in the push market quote.
article originally from FMZ.COM ( A place you can create your own trading bot by Python, JavaScript and C++)
submitted by FmzQuant to CryptoCurrencyTrading [link] [comments]

WARNING: BITMEX LIQUIDATION ENGINE. back to square 1 for me

I must start by saying this is my personal experience. It comes with a bit of a read but the warning is within the story. I share what I know from testing and past success. Feel free to read backstory or just jump to BITMEX AND LIQ. ENGINE
QUICK BACKSTORY(read if you want main story below)
So let me start by telling you that I had the opportunity to buy bitcoin back in 2012 when it was trading around $5 USD a coin. I was going to put a little bit of my money into it but due to me being in high school(in 2012) and finding the internet rather annoying at that time. When I came upon Bitcoin in 2012 I read into it but due to me not really understanding economics, passed it off as other internet fad and did not pay any more attention to Bitcoin or blockchain at all. Here we stand a few years later but its fine sometimes we miss opportunity. That said, I started getting more involved this space a bit before the big uptick we all experience in December. Here is where the story really begins. So I began trading some of my money and began to learn and understand what I was doing. Essentially doing my homework and putting in the studying hours to understand Technical Analysis, past market conditions, compared to current market conditions. Literally anything I could get my hands on to progress my knowledge in the field of trading. Equally I was putting money down and not always making the best decisions which by my experience has always been the best way to learn. Either way, I began to understand what I was doing and began trading some more of my money with a success rate I was rather happy with.
I ended up leaving college because I told myself that this was time better spent. I left my job because I was making more money doing this. I even sold my vehicle because I was sure I could make it back. This is when I found out about Bitmex and equally found out that in the US we are not aloud to use it. Ok fine. I was trading my money and was satisfied with what I was making. Unfortunately sometimes life happens. I experienced a life emergency that required me to get my hands on any funds I could so I sold basically all my holdings to take care of what was immediately at hand. Life happens.
BITMEX AND LIQ. ENGINE
Recently I got the opportunity to leave US and come into a region where BITMEX is aloud. I got very excited and told myself it was time to try it. Let me start by telling you that trading on margin is nothing like trading with your own money....whole different ball game that I did not expect. But I embraced it and told myself I was up for the challenge. When I started I first started trading here the returns where almost unreal. If I was not convinced I could do it before. This sold me. Now ill share that before I had the chance to become profitable here I lost a significant amount of money on MEX close to 1000 US dollars before I really got into a trading strategy that worked for me. A lot of money a lot of man hours.($1000 a lot for a person building in life)
Here is where it really begins and what I feel is actually going on within BITMEX. Once I became moderately successful in trading on BITMEX, almost immediately did that change. It all started with an 800% ROE I made. Right after this is where BITMEX literally began to liquidate my account. Ill think ill deem it appropriate to share with you that I am not just some person who wants to make money on the bitcoin trend....no, I began making a living out of this. and when I say I developed a working strategy this essentially means one or 2 trades a day where I wait for nice uptick or the inverse and close in profit. BUY & SELL orders in place. moderate stop loss but equally not taking risky trades or attempting to scalp. There is a reason people say dumb money and in my opinion, this is not who BITMEX is targeting, people who want to buy at the peaks and sell at rock bottom essentially liquidate themselves. They are not the issue. Nor are the big players or real market makers the targets because at the end of the day BITEMX makes out nicely from maker makes. Who BITMEX targets are individuals like myself who take time to read charts do appropriate TA and understand overall market conditions before taking any position. People who take time to learn and begin to make a moderate profit. Moderate profit takers are, at the end of the day, a problem for BITMEX and must mean that if we are being paid out at too high of a rate, essentially we are biting into their own profits. After that 800% ROE it was almost as if my trading strategy or myself was targeted because after I that, I have yet to make another successful move, even on this ginormous uptick. Even when my trading strategy began to not be the most efficient, I built on it. Like any good investor would....we must adapt to market conditions. Here is what I honestly think is happening. In our modern day of AI it is not to far fetched to think that a profitable company such as BITMEX has created an algorithm that essentially acts directly agains profitable individuals. . Having a large holding is one thing but having access to immediate information on trading information, where buy/sell are placed, above or below the market. Information on stop losses and Liq. price are all crucial pieces of information that they have access to. It is not to difficult to write up a neural network that takes all of the above information(BUY/SELL orders, Liq. price, stop losses ) and is told to work within certain perameters to either Liquidate or come fairly close to average liquidation price simply to scare off potential investors. This is what i suspect is happening. It would very much mean nice profits off of individuals closing unfavorable positions in current market conditions. I am not just suspecting this, I have tested it. I have put even more of my own money down just to prove myself right and time and time again my suspicions come true. Today I write to you all as a fair warning that I am almost definite BITMEX works agains individuals like myself and moderate profit takers like me. I am currently in a very unfavorable life situation because of this liquidation algorithm they have. Currently I have no BTC holding because what I was using to build up essentially was taken by BITMEX. Let me tell you that I am not over leveraging, Let me tell you I don't put down on a position unless I am comfortable and full in well knowing that there is a chance to lose my money and equally let me tell you that I am not just jumping into positions....my positions are calculated and thought out as are my exit points. But to experience what I have here really hurts and I am not an emotional individual but really, within this situation I feel physically sick and a real ache in my heart. This is followed full in well with knowing the current worth of BTC and knowing the overall direction we are going. I have given up my whole life, have been making money doing this, and was saving to move forward within my situation but to be reduced to not having any holding........... I'm sorry but this takes me back and makes me feel as if my last year has been wasted and have nothing to show for it.
I am a good person and do good for those around me, especially my family. I do no harm or foul to anybody in this life and I mind my space and business. I follow the good man above faithfully and recently have even began to question that, simply because of some of the things I am Immediately being dealt in life. Please use this as a warning and know that if youre trading on a platform such as BINANCE, BITFINIX, HUOBi, KRAKEN or any another exchange that does not allow margin trading but where you trade with your own money... stick to that. At the end of the day its yours and nobody is attempting to swoop what is yours right from under you or keep it safely on a hardware wallet. Now, I joke with you not. I have to go back to getting a regular job and have no education behind me....not even transportation to get from point A to point B. Good old fashion walking. I can't even go trade my way out of this one because I have nothing to trade with ha. I came into this space hoping for a bit of financial freedom from my immediate situation. No lambo goals simply wanted to make extra money. When i got to reap some of those benefits it was the best. Now I sit here with 0.000000000BTC to my name and feel nothing but a feeling of hurt. I even feel a bit upset knowing that it was not even taken from me by a person...that would have been better because this one person would have used it. It was taken by the damn exchange. Be careful and know that even if you play it smart in this life....things happen
**For demonstration purposes/ check back soon** Im going to post to you my BTC address here so you can see the 0 balance, those transactions that you see to BMEX are the funds I used to run my testing on this suspected algorithm and its workings. Im going to tell you that, if you remember me and this story check back to that address next year and we will see how far we have gotten after this mishap. A reddit experiment if you will. 3NKSRiLW7iiSq695Vf8hN4uVkmhvCPtnVw
submitted by miningForCrabs to Bitcoin [link] [comments]

Binance, HitBTC, etc., Market Maker Pitch: How To Get Rich Online

As a follow-up to this:
https://hackernoon.com/making-markets-moving-crypto-free-and-open-source-binance-9bcea607e57b
https://github.com/DunnCreativeSS/binanceMarketMaker
https://github.com/DunnCreativeSS/hitBTCMarketMaker
Elevator Pitch
Market making on Deribit and BitMex failed because it counted on the market to remain more or less stagnant on the 0.25$ step. We’re now looking at automating two market making strategies for smaller volume, higher spread pairs.
Market Maker Trader
We buy just above the highest bid and sell just below the lowest ask. We repeat this process, using a fraction of account balance in base pairs, until we see the net profits as price fluctuations cancel each other out in the approaching infinity sense - while we soak up profits from the spread itself in the ‘relative orders’ strategy.
Conversationally, and not coded yet, is the ‘staggered order’ strategy, where you pick a maximum and minimum price for that pair and then stagger orders up and down the order book to buy and sell along set intervals.
Resources: Would need servers close to different exchanges.
Scalability: More coins; more scale
Pros: I’ve had .57 bitcoin volume on my deposit of $18 worth of coins on the ‘relative’ strategy in the last 24 hours, while sustaining about -0.5% growth. There are other exchanges (some with margin) where we can reproduce the bot, like bitfinex/ethfinex who have a market maker rebate paid monthly in their proprietary coin, or liquid who has a market maker rebate on pairs that were previously on qryptos
Add’l pros: on Binance I can effect a 20% or 40% income on fees via my referral link, on HitBTC the affiliate program is on pause but I may eventually be able to effect 75% - although the potential gains from HitBTC affiliate are less as there will eventually be a 0% or rebate on the maker fees
Cons: To prove profitable on Binance or HitBTC, you’d need to eliminate the fees or effect a market maker rebate. On Binance this involves volume as well as holding BNB - while still paying some fees, while on HitBTC that only involves building volume first - effecting 0% maker fees then 0.01% rebate. hitbtc dot com slash fee-tier binance dot come slash en/fee/schedule On HitBTC there’s also a market making program hitbtc dot com slash mm.
To Prove for Viability
Consistent over all types of markets, but identify when it does better
In the long run, price volatility helps the ‘staggered’ strategy more than it does the ‘relative’ strategy
Less volatility but still having volume, there will be gains from the ‘relative’ strategy
The potential loss is 1. Fees 2. Grabbing a coin that immediately dies, inclusive.
If you’re to eliminate fees or effect a fee rebate, this risk goes down
If you automate many pairs you lessen the negative effect of grabbing a coin that dies
Conversationally, a stop loss can be created to further lessen this risk
Sunk costs of dev
None - need to code the ‘staggered’ strategy, which I can do
Scalability given current market liquidity and volume
On exchanges like Binance or HitBTC, with many coinpairs that have significant volume, we can scale indefinitely
The bot currently checks the average volume per base asset, then the spread of a given pair, and enters only into those markets that meet the minimum and maximum volumes and target spread, as well as a minimum order quantity and maximum order quantity (to avoid sh#tcoins)
In base: market pair: volume in base, that looks like this:
{ BTC: { XDNBTC: 69.3393775486, VETBTC: 42.606415325 },
TUSD: { NXTUSD: 67247.7248096, TNTUSD: 53891.073732 },
MUSD: { QTUMUSD: 2545776.043225 },
NUSD: { XDNUSD: 280614.7629689 },
DUSD: { MAIDUSD: 54019.8292817 },
ETH:
{ ICXETH: 589.145211656,
NXTETH: 266.992269315,
REPETH: 616.456689351,
ONTETH: 5359.788369161,
NTKETH: 197.416308344,
KBCETH: 355.311810444,
ROXETH: 311.845628547 },
BUSD: { DGBUSD: 2445.14526651 },
GUSD: { BTGUSD: 141765.29622322 },
UUSD: { QNTUUSD: 29.4731369 },
PUSD: { ETPUSD: 68.5015549, ZAPUSD: 40.1461164 },
YUSD: { DAYUSD: 338.8757426, BERRYUSD: 248.9052084 },
QUSD: { STQUSD: 6039.7474451 },
IUSD: { WIKIUSD: 10575.2656811 },
FUSD: { ELFUSD: 14.04120135 },
URS:
{ ETHEURS: 2486.24206583,
LTCEURS: 1485.789705,
XMREURS: 2807.0239136 },
'0USD': { POA20USD: 20.1087685 },
EOS: { LSKEOS: 39.06901764 },
RWB: { BTCKRWB: 44.82036 } }
Forward Tests
This strategy was first coded about 48 hours ago on Binance. It lost about 0.5% in one day, and had 0.46 BTC in volume.
https://imgur.com/qEyq1ZB
The second iteration was on HitBTC, and as of about 10-12 hours ago has 0.12 BTC in volume (across many smaller orders, instead of the test version on Binance risking everything on one pair).
https://imgur.com/U6p4pX6
It’s lost about 0.23% in that time:
https://imgur.com/xEk6xe4
My calculations, based on losing 0.5% a day on average with entry level fees and based on HitBTC’s 0% maker fee after 1500BTC in 30-day volume, indicate that after a certain amount of time while trading a certain balance we can effect 0% fees, and therein effect profits:
https://imgur.com/HFQjgl0
This is not including the chance we can get market maker benefits or the 0.01%
rebate after 6000 BTC volume.
https://imgur.com/80ifssM
https://imgur.com/o5mpKYc
Conclusion
With enough volume anything is possible.
submitted by BasketballMan23 to CryptoMarkets [link] [comments]

Detailed explanation of BitMEX pending order strategy

BitMEX has become the platform of choice for cryptocurrency leverage trading, but its API trading restrictions are strict and make automatic traders feeling very confused. This article mainly shares some tips on the use of APIs in the FMZ quantitative trading platform, mainly for the market making strategy.

1. Features of BitMEX

The most significant advantage is that the trading liquidity is very active, especially the Bitcoin perpetual contract, the transaction amount per minute often exceeds one million or even ten million US dollars; BitMEX pending orders trading have the policy of return commission fee, although it is not much, but attracted a large number of market making tradings, which made the price depth very rich. the latest buying and selling price often have more than one million dollars worth pending orders; because of this point, the transaction price often fluctuates around the minimum change unit of $0.50.

2.BitMEX API frequency limit

The request frequency of the REST API is limited to 300 times every 5 minutes, almost equal to 1 time every second, this limit can be said to be very strict compared to other trading platforms. After the limit is exceeded, 'Rate limit exceeded' will be prompted. If you keep exceeding the limit, the IP may be disabled for one hour. Multiple disables in a short time will result in a week being disabled. For each API request, BitMEX will return the header data, header data is used to see the current number of remaining requests. In fact, if the API is used properly, it will not exceed the frequency limit and generally does not need to be checked.

3.Use websocket to get the market quote

The BitMEX REST API is more restrictive. The official recommendation is to use the websocket protocol more, and push more data types than the average exchange. Pay attention to the following points for specific use:
If the depth data push time is too long, there will be an error, which does not correspond to the real depth. It is estimated that there are too many depth changes and there are omissions in the push, but in general, due to excellent fluidity, you can subscribe to "ticker" or "trades". The order details push is missing a lot and is almost unavailable. There is a significant delay in the push of account information, preferably using the REST API. When the market is volatile too big, the push delay will reach a few seconds. The following code uses the websocket protocol to obtain market and account information in real time, mainly for market-making strategies. The specific use needs to be performed in the main() function.
var ticker = {price:0, buy:0, sell:0, time:0} //Ticker information, the latest price, "buy one" price, "sell one" price, update time //Account information, respectively, position, buying and selling price, buying and selling quantity, position status, order Id var info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} var buyListId = []//Global variables, pre-emptive buying id list, will described below var sellListId = [] var APIKEY = 'your api id' //Need to fill in the BitMEX API ID here. Note that it is not a key, which is required for websocket protocol authentication. var expires = parseInt(Date.now() / 1000) + 10 var signature = exchange.HMAC("sha256", "hex", "GET/realtime" + expires, "{{secretkey}}")//The secretkey will be automatically replaced at the bottom level and does not need to be filled in. var bitmexClient = Dial("wss://www.bitmex.com/realtime", 60) var auth = JSON.stringify({args: [APIKEY, expires, signature], op: "authKeyExpires"})//Authentication information, otherwise you cannot subscribe to the account bitmexClient.write(auth) bitmexClient.write('{"op": "subscribe", "args": ["position","execution","trade:XBTUSD"]}')//Subscribed to positions, order execution and perpetual contract real-time transaction while(true){ var data = bitmexClient.read() if(data){ bitmexData = JSON.parse(data) if('table' in bitmexData && bitmexData.table == 'trade'){ data = bitmexData.data ticker.price = parseFloat(data[data.length-1].price)//The latest transaction price, will push multiple transactions at a time, take one will be ok //You can get the "buy one" and "sell one" price according to the direction of the latest transaction, without subscribing to the depth. if(data[data.length-1].side == 'Buy'){ ticker.sell = parseFloat(data[data.length-1].price) ticker.buy = parseFloat(data[data.length-1].price)-0.5 }else{ ticker.buy = parseFloat(data[data.length-1].price) ticker.sell = parseFloat(data[data.length-1].price)+0.5 } ticker.time = new Date(data[data.length-1].timestamp);//Update time, can be used to determine the delay } }else if(bitmexData.table == 'position'){ var position = parseInt(bitmexData.data[0].currentQty) if(position != info.position){ Log('Position change: ', position, info.position, '#[email protected]')//Position change Log, and pushed to WeChat, remove @ means Do not push info.position = position } info.position = parseInt(bitmexData.data[0].currentQty) } }

4. Placing order skills

BitMEX officially recommends using "bulk ordering" and "order modification" to place order. "bulk ordering" can be executed faster due to BitMEX real-time auditing, risk checking, margin calculation, and commissioning. Therefore, the frequency of the "bulk ordering" is calculated as one tenth of the normal frequency. Futhermore, our order operation should use the method of "bulk ordering" and "order modification" to minimize the use of API. The query order status also needs to consume the API using frequency. It can judge the order status according to the position change or modification order failure.
"bulk ordering" does not limit the order quantity (can't be too much), in fact, a single order can also use the "bulk ordering" interface. Due to the operation of modifying the order, we can "pre-order" some orders where the price deviates greatly, these orders will not be executed, but when we need to place an order, we only need to modify the price and quantity of the placed order. when modifying the order occurs failure, it can also be used as a signal for the order to be executed.
The following is the specific implementation code:
// Cancel all orders and reset global variables function cancelAll(){ exchange.IO("api","DELETE","/api/v1/ordeall","symbol=XBTUSD")//Call IO extension revocation info = {position:0, buyPrice:0, sellPrice:0, buyAmount:0, sellAmount:0, buyState:0, sellState:0, buyId:0, sellId:0} buyListId = [] sellListId = [] } //placing alternate order function waitOrders(){ var orders = [] if(buyListId.length<4){ //When the number of inspections is insufficient, place another "bulk" for(var i=0;i<7;i++){ //Due to BitMEX restrictions, the price can not be excessively excessive, the order quantity can not be too small, and the "execInst" parameter guarantees that only the market making transaction can be executed. orders.push({symbol:'XBTUSD', side:'Buy', orderQty:100, price:ticker.buy-400+i, execInst:'ParticipateDoNotInitiate'}) } } if(sellListId.length<4){ for(var i=0;i<7;i++){ orders.push({symbol:'XBTUSD', side:'Sell', orderQty:100, price:ticker.buy+400+i, execInst:'ParticipateDoNotInitiate'}) } } if(orders.length>0){ var param = "orders=" + JSON.stringify(orders); var ids = exchange.IO("api", "POST", "/api/v1/ordebulk", param);//Bulk orders submitted here for(var i=0;i0){ info.position = pos[0].Type == 0 ? pos[0].Amount : -pos[0].Amount }else{ info.position = 0 } } //Unknown error cannot be modified, all orders are cancelled, reset once else if(err.includes('Invalid orderID')){ cancelAll() Log('Invalid orderID,reset once') } //Exceed the frequency limit, you can continue to try after hibernation else if(err.includes('Rate limit exceeded')){ Sleep(2000) return } //The account is banned, all orders are revoked, and sleep is awaiting recovery for a long time. else if(err.includes('403 Forbidden')){ cancelAll() Log('403,reset once') Sleep(5*60*1000) } }else{ //Modify order successfully if(direction == 'buy'){ info.buyState = 1 info.buyPrice = price info.buyAmount = amount }else{ info.sellState = 1 info.sellPrice = price info.sellAmount = amount } } } //0.5 price change function fixSize(num){ if(num>=_N(num,0)+0.75){ num = _N(num,0)+1 }else if(num>=_N(num,0)+0.5){ num=_N(num,0)+0.5 }else{ num=_N(num,0) } return num } //Trading function function trade(){ waitOrders()//Check if you need a replacement order var buyPrice = fixSize(ticker.buy-5) //For demonstration purposes only, specific transactions should be written by yourself. var sellPrice = fixSize(ticker.sell+5) var buyAmount = 500 var sellAmount = 500 //Modify from an alternate order when there is no order if(info.buyState == 0 && buyListId.length > 0){ info.buyId = buyListId.shift() amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount, info.buyId) } if(info.sellState == 0 && sellListId.length > 0){ info.sellId = sellListId.shift() amendOrders([{orderID: info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount, info.sellId ) } //Existing orders need to change price if(buyPrice != info.buyPrice && info.buyState == 1){ amendOrders([{orderID:info.buyId, price:buyPrice, orderQty:buyAmount}],'buy', group, buyPrice, buyAmount) } if(sellPrice != info.sellPrice && info.sellState == 1){ amendOrders([{orderID:info.sellId, price:sellPrice, orderQty:sellAmount}],'sell', group, sellPrice, sellAmount) } }

5. Others

BitMEX's server is in the Amazon's server in Dublin, Ireland. The server running strategy ping is less than 1ms when you choose a AWS cloud sever in Dublin, but when there is still a delay in pushing, the overload problem cannot be solved. In addition, when the account is logged in, the server agent cannot be located in the United States and other places where don't allow cryptocurrency tradings. Due to the regulation, the account will be banned.
The code in this article has been modified from my personal strategy and is not guaranteed to be completely correct for reference. The specific use of the market code should be executed in the main function, the trading-related code is placed before the main function, and the trade() function is placed in the push market quote.
submitted by FmzQuant to CryptoCurrencies [link] [comments]

Please help me understand how BITMEX does the P&L for a trade

Help me calculated P&L . Total XBT before trade = 0.1
I am shorting.
Margin = 25x
  1. SELL QTY = 100, Price filled = 6977 , Limit
  2. BUY QTY = 100, Price filled = 6973.5 , Market
BTC after trade = 0.0999 XBT
https://imgur.com/a/hJnsp2C
https://imgur.com/a07rSZU
the bitmex Profit/Loss calculator says other wise...
what gives ?
any help will be appreciated
submitted by crittertoo to BitMEX [link] [comments]

Bitfinex and US taxes

Can anyone suggest a way to deal with margin trading taxes on fines last year? Coin tracking doesn’t support it.
I’d also be interested if someone can suggest a really good US cpa that could figure out a giant mess of crypto taxes.
Thanks for any help. I’m feeling pretty overwhelmed and don’t know how it’s gonna be possible for me to calculate everything across so many exchanges. Bitmex also seems really tricky
submitted by maxpainpays to BitcoinMarkets [link] [comments]

Bitmex liquidation question

I found out about the "BitmexRekt" Twitter bot, which shows the top liquidations usually after spikes in the BTC chart at
https://twitter.com/bitmexrekt?lang=en
Now I don't know much about margin trading and was wondering what "Liquidated 10,000,000 XBTUSD" (this number seems to be the upper limit there by the way) actually means in terms of real losses. That trader didn't actually lose 10 million $, but how to calculate the real loss? Is it even possible, or would you need more information to do that? I had a look at this table, but it didn't enlighten me
https://www.bitmex.com/app/riskLimits#instrument-risk-limits
submitted by Rakhom to BitcoinMarkets [link] [comments]

Bitmex Margin Trading Strategy 100x Leverage Tutorial Bitmax Exchange Margin Trading Full Tutorial Bitmex Calculator Margin Trading on Bitmex BitMEX Guide & Tutorial - Margin Bitcoin Exchange For ...

XAU fixed leverage 1:100. XAUUSD 1 LOT=100 Contracts. Example 1: XAUUSD 1 Lot = Volume x 100 x Current Price ÷ Fixed Leverage 1 x 100 x 1289 ÷ 100 = 1289. If account currency is BTC then 1289 ÷ 5141 (BTCUSD Rate) = 0.25072943 The terms are as following: Account Balance: The balance on account in BTC/XBT. Account risk max: The maximum loss you want to endure on your total account (typically 2%^max). Entry price: The price you entered at (or the average). Stoploss price: The price where your stoploss is. Leverage: The amount of leverage you’re using. Position size: The position size you need to use Use this free BitMEX calculator to work out your fees & profit/losses on BitMEX. Check out Phemex.com with an $80 welcome bonus – it’s a brilliant alternative to BitMEX which offers professional margin trading with no KYC and low fees Click here to register and claim your bonus now BitMEX Calculator for Profit and Fees in Excel explaining everything in 4 scenarios. FREE. MinistryTeam built a powerful tool to calculate your BitMEX margin, deposit, liquidation price, costs, ROE, leverage for shorts or longs. BitMEX Crypto Signals. We have the best, most accurate crypto signals and we are not afraid to publicly demonstrate it for free, before you consider any of our (more accurate, higher profitability), premium options. First, check the results that happened here in free demonstrations. 15 trades by Bitmex Sicario Cartel: +18%, +23.80%, +26.76%, +42.67%, +9.86%, -14.75%, +10.11%, +9.52%, +16%, +37

[index] [399] [76] [225] [503] [507] [209] [282] [497] [12] [286]

Bitmex Margin Trading Strategy 100x Leverage Tutorial

BitMEX Margin Trading Tutorial - Duration: ... Trading Bitcoin: 4 Steps to Calculate Your Position Size - Risk Management EXPLAINED - Duration: 6:20. Sell The Spike 8,561 views. Join my Private Coaching Program: http://scrembocoaching.com How do you feel about Bitmex Leverage Margin trading ? In this video I am going to show you how ... If you enjoyed this tutorial on margin trading at bitmex make sure to pound the subscribe button. Margin trading is a great way to keep your portfolio growing in either a bear or bull market. Video tutorial: How to use this calculator and calculate profits, losses, and fees on BitMEX (margin trading)? Use new our smart BitMEX RISK calculator. How to hedge Bitcoins at BitMEX exchange ... Here is a simple calculator you can use with Bitmex to calculate FIAT $ as well as just BTC, enjoy! Links in the video: → https://smartoptions.io/bitmex-indi...

#