(This article was originally published on hummingbot.io)
Welcome to the Hummingbot Academy!
Welcome back to our Educational Center, where we aim to help you to learn more about market making, arbitrage, and everything related to algorithm trade.
Today we will talk about a different strategy that can be used with hummingbot: Cross-Exchange market making.
The objective of this article is to help you understand:
What is the cross-exchange market making strategy?
What is the difference between cross-exchange market making and arbitrage?
How is cross-exchange market making different from pure market making?
Why and when should I use this strategy?
If you already understand how arbitrage and pure market making work, cross-exchange market making (XEMM) becomes really simple: all you have to do is to combine both operations in one.
So what is cross-exchange market making?
Here's a simple explanation of the concept of cross-exchange market making:
My friend Alice wants to sell her guitar and she's offering it for $100.
I go around to all of my other friends and tell them that **I am selling **a guitar for $110.
If one of my friends, say Bob, agrees, I immediately buy the guitar from Alice for $100 and sell it yo Bob for $110.
Pretty neat right? I made $10 of profit selling something I didn't own by simply doing a back-to-back, simultaneous buy and sell of the guitar.
Wait... that sounds a lot like arbitrage, so what's the difference?
OK, here's how this situation would be for arbitrage:
My friend Alice wants to sell her guitar and she's offering it for $100.
I go around and try to find if someone, anyone, is offering to buy a guitar for some price higher than $100. After looking around, I find an ad posted by my other friend Carol; she wants to buy a guitar and is willing to pay $110.
Great, I immediately buy the guitar from Alice for $100 and sell it Carol for $110.
Did you notice the subtle difference? For step #2 in cross-exchange market making, I was the one proactively telling people I had something to sell and I was setting my price. Does this concept sound familiar? In the transaction with Bob, I was the maker and Bob was the taker.
On the other hand, for step #2 in arbitrage, I was simply going around and searching to find if someone else had already said they wanted to buy a guitar at a higher price. In the arbitrage scenario, Carol was the maker, and I was the taker.
In my transaction with Alice in both scenarios, I was a taker: I accepted her offer for a guitar and her price.
An arbitrageur acts as "taker/taker"; he is the taker on the buy and the sell transaction. Arbitrage is more passive because an arbitrageur just monitors prices and searches for opportunities to act on. On the other hand, a cross-exchange market maker acts as "maker/taker"; he proactively tries to create trade opportunities by creating maker orders on one side of the trade.
What does this have to do with market making?
In our previous article on pure market making, we explained that a market maker is someone who places both bid and ask orders in order to facilitate trading. You can see that in the cross-exchange market making example above, I am acting as a maker, offering a guitar to sell and specifying a price. So that's one half of what a market maker does.
But I can also do the same transaction for the buy side. I have another friend, Dave, who wants to buy a guitar, but he is only willing to pay $95. At this price, he and Alice can't trade, because his budget of $95 is below Alice's asking price of $100. Since I know that I can sell a guitar to Dave, at the same time I'm going around trying to sell Alice's guitar, I can go around offering to buy another guitar that I can sell to Dave.
Now I have both sides: I can offer to buy a guitar for $85 and sell a guitar for $110. I am now acting as a market maker. The interesting thing about cross-exchange market making that you may have noticed is:
I don't even own a guitar in the first place; if someone wants to buy a guitar from me, I just buy the one from Alice to sell them and,
I don't even need to have the money to buy a guitar on the buy side; if someone wants to sell me a guitar for $85, I can pay for that purchase by selling that same guitar immediately to Dave!
In cross-exchange market making, a trader acts as a normal market maker on one exchange (the "maker exchange"), creating buy and sell orders. However, the trader eliminates the inventory risk usually associated with market making by using another exchange (the "taker exchange") to simultaneously offset (or "hedge") any trades filled on the maker exchange.
That is why we mentioned earlier that cross-exchange market making kind of looks like a combination of pure market making + arbitrage.
So how does this translate to order book markets?
A financial environment where the same asset is traded in different marketplaces is susceptible to what is known as market inefficiency, where the information about the value of the asset takes some time to dissipate to all the exchanges.
This can be easily noticed by looking at the differences between bid and ask prices offered on each order book, as can be seen on the screenshot of the BTC/USDT order book on two different exchanges at the moment in time:
(continue reading on hummingbot.io)
Suppose you have just entered into an agreement with a Facebook wall post-campaign. I prefer to check this https://www.bikerringshop.com/collections/cross-rings and get learn more new skills for cross jewelry. The terms are simple you will post and market your products, and in exchange, you will get a fee of 1% of all sales generated by the campaign. This sounds nice, but now you need to find a way to get your customers to see these posts. This is where cross-exchange market-making comes in handy.