Market making involves providing liquidity by placing limit orders on both sides of the market (bid and ask) with a markup spread around the fair price, and on decentralized exchanges like Gravity.io that offer zero maker fees plus rebates, traders can earn income by adding liquidity rather than just paying fees, making it accessible even with small capital starting from $100.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Coding a Gold Market Making Bot on GRVT.io - First day on the Exchange
Added:All right, guys. And hello. And finally, you know, I I'm live streaming after a long break. And yes, I've been busy with some projects. But anyways, so today, uh, we're starting an entirely new project, which is coding a gold market making bot on gravity.io.
So for those of you who you know uh are also curious about know why we're moving from hyperlquid. So basically we have our you know uh current strategies running on hyperlquid and the performance has been like quite nice but on some days I felt like you know when the times are uh you know quite calm and slow like this is a time where we can like try to look for new opportunities on uh new decks. And so the reason I decided to start knowing that on gravity is that uh right now and I hopefully like in the long term uh they actually pay you to be a maker, right? So, they pay you to add liquidity, which means that even though you might have like just $100 or $1,000, you're not a big hedge fund with lots of capital, you still can become a market maker. And I think that's a great opportunity for people who, you know, are just getting started with market because in most cases, you need a lot of money. And so, yeah. So, here on Gravity, you can earn maker fees by adding limit orders and you actually get rebates. So it's not only it's for free, you are getting paid to become a market maker. And I'm really curious to start this new project because it's a new exchange, right? But the concept and the strategy is, you know, to some extent the same. So what we're going to do in this project is, you know, it's going to be very pretty much the same as with Hyperlquid. We're going to use MT5 as our, you know, source pricing and we're going to use also MT5 as hedging in this uh, you know, with the strategy. And so here I'm going to focus on gold because uh, you know, personally I love trading gold and uh, on MT5 the spread and gold is also pretty cheap. So if you want to hedge our exposure, I I think gold is very convenient. uh if we want to no run our system here. So when I say market making so what we're going to do is we're going to compute the fair pricing which we take from MT5. So we take XUSD on MT5.
So this is the gold chart and we're going to use that price uh you know to code the bin spread. So, we're always going to, you know, add some markup on the bit and also some markup on the ask price to become a market maker here. And because it's my first day, like the only thing I have set up right now is I deposited like $100 on this trading account. So, here on my account, I have $100. And so, there are a lot of things that we have to do when we start this project. So for those of you who you know just arrived and thank you for coming. Uh let's first discuss the strategy plan what we have to do. So we're going to work on you know the project tasks and then we're going to proceed with coding with cloth and you know doing all the exchange connectors back tests and then we're going to hopefully test some strategies and this project is you know going to take you know take some time you know maybe one or two weeks until we actually get a fully working trading bot but hopefully you know by the end of this week we already will have some first draft that is able to trade and and then we can like try to evaluate the results. So let's open our asana which is our project management tool and let's have a quick brainstorm uh you know what we can do to this project. So here I'm going to uh a lot has happened. So guys if you have any questions about hyperlquid just feel free to ask. we can like quickly uh just provide an update on the strategies but you know if there are no questions then I will just proceed with gravity.io IO.
So this is our gravity.io project plan.
Uh so the first thing we need to do is uh we'll probably need to create an API key to extract the data from this exchange and see if there is some price inefficiency.
Uh sorry I just need to close the window. Thank you very much.
And so the first thing we need to do is we need to generate an API key and connect the exchange. So this is our first task which is generating the API key. The second task that we need to do is we need to then you know try to subscribe to various endpoints. So we're going to test uh various uh API endpoints to see you know how it is working exchange. Uh then after we're comfortable with you know working with the API we're going to extract the historical data from gravity uh going to extract historical data and compare pricing with empty file. So this is like uh the first step to analyze the pricing discrepancies between gravity and uh MT5. Uh then what we're going to do is we're going to evaluate or try to design strategy. So it's it's a market making strategy, right? We just need the fair pricing of gold. Add a markup on the bid. Add a markup on the ask and and like we're going to evaluate or design a market making strategy, right? And then once we have the strategy designed, uh we can then code a trading bot. So we're going to code a market making we're going to code a marketmaking bot and then we'll see the results and then once the market making bot is done we just need to you know observe optimize see you know how you know the training bot executes and then after that we're going to do you know all other uh like dashboards as usual dashboards risk management tools reporting and so on or monitoring you So it is the same thing as with Hyperlquid again same procedure but just a different API and we're going to see how far we'll get. So it is quite a big project but it is still in my opinion a very fun project and so again why gravity so they have zero maker fees plus rebates.
So, we're getting paid uh to trade and like like I want you guys to understand like getting paid to trade, right? You can design a break even strategy like on paper, right? The strategy is break even, but because you're adding the liquidity, you are getting paid in rebates. So we can like actually try to design strategy that strictly maximizes the volume. We're not going to make any profit at all, but still the rebates are going to pay us.
So this is what the exchange wants. They want to have good liquidity where other participants can trade for a very good price and this is basically our reward.
So hi, good to see you in live stream again. Yeah, thank you Lawrence for coming. Hi, don't do this on gravity.
They have liquidity problems. Uh better would be lighter rise x or even extended. Yeah, I I was like looking at gravity, right? Their liquidity is actually not that high. So they have like 5 million 24-hour volume, but I still think it's like a good attempt.
All right, to try because at the end of the day, uh even if we just deposit like 5k, 10k, or like something around that range, we can still try to make a profitable system. And uh I'm also like planning to try lighter and rise x or extend it. So yeah, thank you Dom for suggesting that. But I already like did my plan and like I'm going to uh proceed that I mean yes slider has no fees but if you want to upgrade a professional one you know where they where you can actually do market making uh there is still a small fee. So like this uh like project is more targeted at like retail uh traders who start with low capital but still want to pursue market making.
So treat it more like on the educational side where you have the opportunity to trade for free and like this is like a perfect sandbox to actually become market maker with a low amount of capital. So I I don't feel like I'm going to become like super rich with this project, but at least for the viewers and people who want to learn marketmaking strategies, I think this is actually the perfect place uh to get started with. Uh but yeah, thanks for the suggestion and uh let's just proceed with that. It will take like probably just one or two weeks until we then move to another deck and by that time hopefully a lot of you guys uh yeah will have learned something. Right. So this is more focused on the educational side to become a market maker because the only other like not DEX uh exchange if you remember we had our uh Revolute exchange USDC and USD market making there were also zero maker fees. So I'm like right now going to focus on exchanges that actually have zero maker fees to make this work. And like I don't know if it's going to be profitable, right? We're just starting but I think we have a very high chance to create like a profitable system and then we'll see the results right we'll see the results over time how it performs as I said like we're going to focus on RWAS this is again like what I like to focus on so gold pack silver they all look attractive to me right and then some ETFs right like the spy like some stock indices right so this is what focus on what's good too we are also quoting on uh Thursday. Let's see how much volume we can stack. Ah, okay. Great to also have other people who have tried this.
Right. Has first more problems. They told me they have 15 exclude markets but current there is not much quoting. Okay.
So, you know that's why we can try to change that, right? So good liquidity means it attracts more uh traders which means it increases volume which means more profit for us and uh I think it's up to the market makers and the liquidity providers to you know attract the flow and like we'll we'll do the best that we can right and maybe if we do a very good job on gravity then maybe you know over time we can see uh some improvement like for example let's look at JP225 right So when we started trading JP225 on hyperlquid uh the 24hour volume wasn't that high actually right I think if you look at the daily chart right we look at I I mean maybe it's us maybe it's random maybe it's whatever but we started market making not like arbitrage string right but it's our market we're adding liquidity so it it's something like in between right we're adding liquidity at at the end of the day so we add liquidity at the start of like June right on JB2 to five and ever since then we saw a very big rise in volume and like that could be well in my opinion maybe we just because we provide liquidity uh it was more attractive to trade it uh but there are like a lot of speculations maybe it's just random and JP just but I think you know with better quality and liquidity you should also see higher volumes So like the thing is I'm very stubborn when it comes to strategies. A lot of people tell me don't do it, don't do it, you're going to lose money or it's not worth it. And and like a lot of times they are right. But I have like this internal like need or pressure to just do it, right? Because I just see some opportunity and if it fails, I just need to see it for myself, right? I I need to confirm doing my own research and strategy that it actually does not work and I appreciate your feedback, but I'm still going to try and make it work, right?
I'm going to try and make it work.
What do you think of tokenization projects? Can you imagine it will be big in next years? Well, there are things like Paxg or Xtocks. Uh these assets, you know, are like increasing slowly increasing popularity. uh other exchanges are also adopting blockchain technology for 24/7 trading but I think we're still in the early days but I I think the blockchain technology has proven one thing that uh like on hyperlquid when you know crude oil uh had like this very big increase during the war right hyperlid had such high volumes and there were so many speculators during the weekend and I think people learned that the technology actually works right I think the train technology on blockchain is like really really good and it's more about the legal and the compliance you know and the client protection and all these things that you have to do you know as a centralized exchange uh like on a DEX it's much easier right there's no regulations so people can do whatever they want but I think the technology is great and we just need to you know allow time to provide this sort of compliance if you were to trade that on a centralized exchange because right now on IC markets right you trade stocks only eight hours a day right why can't you trade stocks 24/7 right why why can't you have an exchangeraded product where everyone can access that 24/7 I think people you know over time will want that like me personally I like the fact that I can also avoid overnight gaps right so when uh you trade it hold a position overnight on a stock or during a weekend you have a weekend gap risk overnight risk and you can actually also like exit the trade prematurely and I think that is my opinion great win trading okay so here I have already written the task so let's proceed with generating the API key like today is my first day so I still need to learn a lot of things so here I already like uh funded the account with like $100 99.8.
I think there are some small transaction costs. And I'm going to put that money into my persp.
So I'm going to move that and so complete.
So now the money has arrived. And now let's check my API key. So here we are in the API section. Uh let's create the API key. And here I'm going to click on generate. Let's do convenient one.
Right? I can always change the API keys later. Uh I just have to be sure not to leak my keys now, right? Uh that is going to be uh very important. So I'm going to do it off screen for a second to just quickly generate the API keys.
And I've already prepared like uh like a project right so this is going to my project I'm going to share with my members you know uh once this is done so here what I'm going to do is I'm going to create an end file and here I'm going to uh save my gravity API key file. So one second. So let's create the I key now. And actually I can just set it to read only because we're not going to trade for like in the beginning.
We're just going to export the data, run some back tests, and and now I'm just saving the uh API keys.
Going to store them Great. So it is now stored and everything is saved. So yeah that is great. So now we can uh now go back our training platform and yeah so now we have the API key saved here. Actually it's a read only.
So I don't have to worry about leaking it right now because the only thing you could do is like read from the account.
But we're [clears throat] going to set up the cloud project now, right? And uh the opinion and also regarding stocks, bonds, etc. The only you and your counterpart this is the blockchain. No other instit.
Oh, so yeah, I think uh people are going to become much smarter in the future.
Like there will always be dumb money like like it's crazy, right? So people will always chase uh get rich quick schemes and you know get scammed or pay high fees on exchanges, but that's how it is, right? And whether uh the people do it, you know, on a platform like MT5 or do it like on a platform like know Hyperlquid or some centralized exchange.
uh there will always be the money but the difference between like dexes and MT5 is that on MT5 there can only be the money right you can't become smart money like a market maker liquidity provider arbitrage trader on the platform like MT5 because a broker already sets the pricing and spread that is like already against you right so unless you are like very good speculator who can like speculate on the direction of a market uh then that's probably fine but that's very difficult but if you want to you know become the house uh become the market maker you actually have the opportunity to do that on these taxes and now also like centralized exchanges and so for that reason uh I think more and more people will learn that trading is more than just predicting the direction like if you're invest like in you know hold stocks or ETFs I guess that's fine But if you do like intraday trading, which I'm like super against because trading intraday manually is like super super difficult and we all know that most traders lose money. I think it's easier to like maybe try what I'm doing right here, right? So I'm trying to like teach people that there are other ways to make money than just betting on the direction manually. Okay.
So here I set up the clot uh project and so API keys have been generated and now we need to connect to various endpoints.
So first I think I need to create a cloud uh md file.
So in in this MD file, I'm going to uh like tell Claude what this project is about so we can start uh yeah start working on this project here.
Okay. So uh so this project is grvt.io marketing project.
this project uh this project I want to create a marketing bot on uh grvt.io IO mainly focusing on RWA.
Uh, I want uh stream realtime prices from Meta Trader 5 and quote uh spread around uh MT5 Guys, so the next thing that I'm going it So step one I have added I have added the uh API credentials uh inn I have AP centers for grvt.io IO and I want create a simple websocket class that can stream data from Exchange important.
This project is going to live stream.
Please avoid uh printing sensit data such as type wallet addresses etc. I for example avoid end uh variables.
Okay. So I think this is like the first step here. Uh we're going to also probably we're also going to uh create uh project but it's fine.
Please initialize uh the project from Okay. Okay, I I need to log in. Seems like I I'm logged out initialize or log in my cloud account.
I'm just going here.
Then I'm going to Okay.
Okay, so now let's begin and hopefully uh running table 5 is back until July 7th.
Uh let's check what model are we using right now is the question. You're currently Fable 5. All right.
But yeah, the trade has been like really nice in Hyperlid, right? So, as you can see, like we're already up like $3,800 since we started trading on Hyperlid large account. Uh, so it's not like I'm moving away to a different exchange, right? I'm still super happy on Hyperlquid, but I think it's just uh a natural thing to look for backups or new strategies because, you know, I could just sit on a beach now and like be like, "Oh yeah, I make a few thousand every month." And then I don't have to like lift a finger or something. But, you know, I actually enjoy discovering new strategies and new exchanges. So this is what I would do anyways for fun.
So So yeah, so we're just going to add add a new decks and over time we'll have like multiple deckes, multiple deck strategies, but at the end of the day it's always going to be the same thing, right? Look, compute the fair price, quote a spread around it. You can like do arbitrage or like market making.
like you can always decide but it's all about you know just looking for exchange and adding like here I was looking at the live dashboard and on the account 100k uh the price on both platforms applicate had converged well but the positions didn't liquidate is this liquid issue okay there's like a lot of text so let me just read through your internal message right so so so there are like uh five questions in that so um you know while clot is you know working so let's look at this thing here yeah you're right all the positions didn't liquidate and there are multiple reasons and that is because we're adding liquidity uh so maybe like we still haven't hit our like target like exit level. So even though the floating the positions are in a floating profit maybe we still haven't like reached that which we can try to confirm in our control panel. So let's look like on JJP right.
So here we see that right now the uh this the ex cross exchange spread uh it tries to exit when it's at zero right and here we are at like + 17 or plus 55. So it needs to drop a bit lower to trigger the exit signal. So that's one thing. Second thing is maybe liquidity issue because we're always adding maker orders. So we're adding liquidity. So we depend on a counterparty to execute the trade for us, right? So this is the second issue.
Maybe there's not enough liquidity. Uh does the algorithm break the order into small pieces? Yes. So we're trying to exit in small chunks, not the entire position size. Uh so we split the thing into smaller sizes and then the positive funding rate working in your favor. Yes.
So our arbitrage uh tries to almost always capture positive funding rate. So for example here on Hyperlid we're plus $244 in funding rates today. Uh so we're also trying to make money on the funding rates here. So, so right now today like we caught a nice trade on SP 500 plus 181 and then on JP225 which is 226 and so on SP right here you see that it's in a realized P&L. So this is like money made primarily from the spread and here in JB225 it's mainly coming from the funding. So depending on the asset right and on the trade setup sometimes you make more money on funding sometimes you make more money on the spread. So that depends like on the symbol strategy and the current state of the market.
What's your strat for US 500? Um it's actually a very simple one. So uh for US 500 we're just measuring the comparing their pricing with MT5 and right now uh I buy at minus 7 exit at minus2 and I sell at six and exit zero. So here uh for SP500 I like added like these very like quote a very large spread and and the reason why I do that is that I'm mainly allocated on JP225 now right so if I get a trade opportunity I want to at least enter at a very good price which in fact I did which is really nice uh but usually it's like at minus 4 like if I try to you know focus all my money on SP 500 I would like maybe enter at minus4 or short at four sometimes even three or in this in general. So uh this strategy mainly tries to you know make money on the spread or the funding rate right? So you need to measure the pricing discrepancies. So if we just go to arbitrage lab right so here I I made this app so feel free to check it out.
So if you're interested in second let's continue.
The nice thing about cloud is you just write a prompt and then I can chat with you guys which is really cool. So here on SP500 you can view the historical spread here and so it compares the price between hyperlquid and MT5 and then like sometimes you see like sometimes the discrepancy is like very very large right which uh in this case like that would have been like a very good trade setup which is like crazy. So here we have the spread right sometimes we see that it drops like quite low so we can buy like at minus 5 for example and then try to exit. So this strategy uh there are many ways you can trade strategy but it's all about just comparing the fair price and then adding a markup or like coding a spread around it. So for example if MT5 price is some value you can try to buy on hyperlquid for $4 cheaper or $4 more expensive and then that should uh you know create a profit.
So all strats are the same. It's not just for indices it can be applied for forex, commodities and crypto. It's always the same. Just look for these pricing discrepancies and buy when the discrepancy is high and exit when the discrepancy or low.
All right. So here we created uh the first version uh where we try to connect to the exchange and uh then I'm going to provide cloud with some extra uh you know information. First I have to see like if the API connection works that's the main thing. So we need to confirm that the API keys are actually able to connect to the exchange and then if if yes then we can try to stream some sorry live prices and historical prices from the exchange and compare that with uh Morishia countries because I see trains in Maicius. Uh yes of course if you want like a broker who has better regulation you know like maybe located in Europe or ASIC right or FCA feel free to use any broker you know that you that you want like personally I I think regulation uh in in my case is more limiting right because as a retail trader I only get leverage 1 to 30 so I'm like willing to accept the risk uh you know of having a broker offshore because then I can have higher leverage and higher leverage of course means that I can open larger positions and then I can also as a result try to make more money right but for most traders like if you leverage 1 to 20 30 uh that should be fine so it's all about like capital efficiency at the end of the day and one big factor is that IC trading uh allows uh uh depositing with crypto and so because we work with crypto uh it's very convenient to deposit and withdraw with crypto but these are just very small optimizations right so the strategy could work like if you deposit with the wire transfer but I I just I'm very impatient when it comes to rebalancing right because then you have to wait two to three days to rebalance your account so um yeah it's mainly my impatience when it comes to deposit and patrols.
Anyways, as I said, so if we manage to finish this project by the end of the week, I'll be super happy. Like if I deposit like $1,000 or $10,000 and make a little bit of money, I think that's great because that's just at least like showing you that like within a few days or a week, we can design profitable trading systems and especially in Gravity because uh the maker fees are zero and you have rebates. Literally anyone can try to copy the strategy and use it like for their own project.
Okay. So, it looks like uh it works here. So, can you put a gravity uh api connector?
I'm going to create a folder called exchange connectors which is the same like as with the hyperlquid. Like right now I'm doing a separate project because I don't want to you know be confused with other files. We have hyperlquid MT5. So once this is done then I will import this project into my hyperlquid project where we can try to implement you know the logic into my you know control panel dashboards and so on. So it would be compatible with multiple dexes.
uh whenever I start something new I just like a blank project so I don't have to worry about these things and then when it's done then cloth can do a lot of things to know that so here I'm going to create new directory exchange connectors can you put uh connector files into exchange uh connectors uh folder and import the class >> [snorts] >> Now, recently I had, you know, I always said that I hate watching trading content on YouTube, but I realized that I'm just looking at uh like the wrong type of content, right? I would but I I think uh like if you look how would I say I forgot the guy's name I would love to tell you that channel when I remember I'll let you know but there is actually also very good train content and I started to watch that and like it kind of inspires me what other people are also able to do uh because for a long time I just assumed all train content on YouTube scam which most of it is right Uh but there is something like interesting that I saw recently and it also like inspired me to try some things.
Okay, nice. So here we see that uh we have BTC USDT perpetual.
So it's it's connected via websocket and so it stream realtime pricing from gravity is great. So now what I'm going to do because the title of this video is creating a gold arbitrage bot. Uh I'm going to stream XAU USDT prices. So here we have uh you know some configuration files are using A Lanita Stokov. How are skewing for inventory and volatility etc. Well, first of all, I don't know what the first sentence means, so sorry about that. Uh, first of all, I'm not a quant, so I don't really work with that.
Uh, I'm not skewing for inventory. Uh, and volatility, I'm just quoting a fixed spread, right? So uh in this strategy I'm just going to compute the real-time fair value of gold and then just going to quote a fixed bid ask spread around that level uh while I hedge the exposure on gravity with my MT5 platform. So that's the main thing I'm focusing on on this live stream.
Where do they teach these things? Like do you guys like learn that online or are there like actual market making schools or uh like I'm curious where do you learn these things? It's quite interesting.
[snorts] Like people always come to live stream with very cool terms like like I heard I heard I know that they exist but I don't know what they mean.
And so in my mind, all I do is just quote a fixed spread and then I run a basic back test and uh so say it's interesting that there are actually a lot of like knowledgeable people and sometimes I feel like an impostor. Of course, I I don't think I'm an imposttor because I I I tell you straight up that I don't know what it means, but there is like probably an entire science and mathematics behind that.
Can you stream a crisis on uh X AU instead of uh Bitcoin? So here I'm going to stream prices uh on gold and then I'm going to add the uh uh gravity exchange connector. So here I'm going to gravity right I'm going to uh add MT5 folder and then we're going to compare the real-time pricing of XUSD on IC markets and XUSD on Gravity. So, we're going to see, you know, the real-time pricing differences.
And then I'm going to create a very simple dashboard to visualize uh, you know, the current live spread.
I know a few friends specializing HFT.
It's really interesting and you should check it out too. It's essentially just quantifying volat try keep your inventory. Yeah. So, uh, so I understand with the inventory, right? So uh like when you have a lot of one asset on one side you you are more inclined to sell it right so you can buy again because otherwise uh your margin or capital is blocked. Um yeah that's all I know about it.
Like the thing is about like perpetual futures, right? Uh like if you're like a classical market maker market making spot assets, right? Then the inventory management and skewing is like very important. Uh but when I trade like perpetual futures, right, the the thing about per is that when the price deviates by a lot, we have like this very nice funding rate. So the higher the pricing discrepancy, the better the funding rate and the more I'm actually inclined to hold the position rather than skew the exit if that makes sense.
Unless there is a different market opportunity, which sometimes I do see bare market opportunities. So I manually skew the exit like I would exit at like a break even price or a slight loss to reinvest or reallocate that capital on a new strategy. So I I do understand the concept and like probably I would also need a way to automate that which would like be a very good optimization.
Love that you keep things as simple as possible. As we can see it's working. Uh I mean the concept of market making is always the same right you always like quote a spread around level and then when you apply things like people say apply calman filter or like price skewing or add a volatility adaptive whatever it is I think all of these things work right they all work but if my strategy works without all these things right then there's actually so much that can be improve improved. So, if I'm able to create a profitable strategy without those things, then we know it can only get better, if that makes sense. So I I like the simplicity but where where if I just quote a static spread and I am able to make money then I guess uh we're like starting like really nicely because if we can or or imagine like I applied all like these fancy tools advanced method tools and my strategy would not perform very well what other options do I have to make it work right so um starting something simple that already works perks is like a good uh prerequisite to optimize it later in high school. I hope break into chain street I get to get into first.
Well, good luck to you guys. Uh I think like in universities there might be like a finance class where you can learn these things. I I I think the best way to learn this is actually just go to a trading firm and that's the best way to learn that. But but I heard like there are things like quant interviews or quant books that you can also study. So I guess there are ways to get into this type of thing but I never knew how.
Let's restart this.
So we need to change the path.
I moved uh the files Can you update the ports?
But isn't that cool? Right, with a single prompt, right? All I did is I created a very simple clot MD file. I have my environment variable file here which are the API keys and we already are streaming the bin and ask prices right something like that would take me maybe one hour or two hours to actually just go through the API documentation and read right so here you have the API docs uh so yeah actually you see cxd so probably it wouldn't be like that badd but here I see that this is their like websocket documentation and all of that I I remember like maybe three or four years ago I didn't know what websockets were like a few years ago and I had to learn that like myself and it took me a lot of time to get the hang of it you know that websockets are completely different from like HTTP uh like REST uh REST calls and with a single prompt I'm able to do that I'm like still in shock that it's actually quite fast and on top of that I'm chatting with you guys.
So probably I'm not using that much brain power right now to do all of that.
So right now it's more about like efficient project planning, knowing what you want and knowing what the results should be.
Okay, already adjusted this task. So we're going to connect to this MT5 account. Uh, and we're going to stream XUSD prices from MT5.
Do I see like maybe tomorrow we could already have function functioning trading bot like that could happen.
Yeah. So the things in HD is like I feel like the edge is like super small, right? Like also the volumes are super high but competition is very high. When we look at like a decks like Gravity or like Hyperliquids, I I'm like like if you look at like the pricing discrepancies that you sometimes see like like do you see this like here the pricing MT5 Hyperlid is completely like off, right?
And so if you were able to capture this price difference and this is real, right? I checked that myself. They're like this is real. There is so much money to be made and like this is impossible like this seeing that is like impossible in traditional finance. If you went to interactive brokers and you for example try to arbitrage let's say CME futures on indices against like CFDs or ETFs uh you will never find such pricing these pricing differences. It's almost impossible. But for some reason on like cryptoexis like on hyperlquid it is there and it's actually very simple.
So that's like very interesting.
Okay, let me res try to restart the script and try to get the pricing on gold.
So there's like a 1 cent spread and so now I'm going to connect to MT5 and I'm going to compare the pricing of MT5 gold with gravity gold real time. So soon we'll have a like a very simple dashboard and then we can like try as I said create a very simple marketmaking bot to quote like the bit ask spread and the thing is like where are I I need to ask like uh where are the servers located? I think maybe it's in Asia or Tokyo.
Where are right IO trading servers located?
I need to sign in.
Right. One second. Let me sign in.
Okay. So, now we're logged in.
Okay. I'm going to uh for the MT5 connector I just want to provide the login and MT5 path.
Initialize uh MT5 using path and verify the login. No password.
I guess you could quote one side on gravity which pays good funding rates and hedge on the other. So like cross exchange market making but directional on each uh to capture funding rates.
Yes, that's a great proposal. This is actually exactly what we're doing on Hyperlquid right now. So we're adding liquidity only on one side when the price deviates and then we hedge it on MT5 and that like in a way is also like a funding rate arbitrage. Um but the thing is we haven't done like on live streams or I haven't like shown you is like providing 247 quotes or 245 and like the advantage of providing 245 quotes is that from time to time you will get like huge market orders right that will sweep through the order book and you're able to catch also big liquidations big market orders uh that you wouldn't be able if you were more reactive, right?
You can be reactive, wait for the price to deviate or you can already be positioned in the market so you're already a able to accept or absorb some of that like uh you know some of that flow. So when people submit big market or so you don't have to be like at top of book the entire time you just have to be positioned. So when a big market order happens you can like absorb that and then when you get filled you would then you know hedge that with MT5. So I wanted to you know focus more on like the market making part because we haven't done it yet and uh like this is going to be like a very interesting project but in any case it's also going to be somewhat of funding rate arbitrage because if we get filled on one side right and the price deviates more we can just hold that position and make money uh in funding rates.
I want you to stream both prices on gravity and MT5 on gold and uh print out the cross exchange spread using mid Guys, this if you're only creating strategies using cloud code, what's stopping other people from doing as well? Uh, and it should be paying you. Well, uh, nothing stopping you or nothing stopping me. Um, so people can just try to do themselves, but like it looks easy on stream, but there are a lot of like little things that people don't know how to do. Like most people don't even know how to open Trainer platform. Uh, but I think how would I say like if you're smart enough to code it with Clot anyways, then you don't need me in the first place. And if you are not smart enough or not experienced enough to do it with cloud then probably you will need my help or someone else's help to learn from me or someone else. So I think with AI right now so much is possible with AI and I think the competition will increase. So I think what people actually want is not how to get their product but more how to get it done with the help of AI and I want to like be there in the community to actually guide people to create these you know strategies products using AI and that's how it is because AI is only going to get better and if I live in the illusion that okay, I'm just going to keep my strategy to myself. I I bet that within the next few years, everyone will be able to create their own algorithmic strategies with Claude, right? I could literally tell Claude, "Hey, I want to create a Bowlinger bot on MT5. Can you help me out?" And within 15 minutes, you don't have to be a trader. You have your own strategy. And so I would rather accelerate that process and be the person to actually guide you than be the, you know, scared that my strategy will because what I'm showing you is so simple. It is the simplest market making strategy that ever existed on this market, right? There are so many more complex things that you could actually add. So I don't feel like I'm giving something away that's valuable. It is public knowledge what I'm doing here, right? You just need the commitment, the experience, some money to actually do it yourself.
So yeah, so talking about it. So if you want to do it alone, you don't have to pay me. But if you need my assistance, you know, I'm here and I'm happy to share the code with you guys because I'm not going to live in the illusion that okay, what I'm doing here is going to be valid in the next five or 10 years. We we always need to evolve and always need to do new things. And the way I see is that a lot of people will eventually do the same thing as I do with the help of AI. And so why not just put it out there and know how to do it if it's only a matter of time when others start doing it. No, there's a saying, sell a shovel, don't mind gold, right? So I'm selling a shovel by teaching people how to do it or any other uh large language model that they want.
Okay. So, let's restart the script.
So, wow, this is interesting. So, what I can see here is that So, guys, this is the spread, right? So, right now, gravity is $2 above MT5, which is quite a lot, right? $2.5 on gold is like a huge difference. And so I could like try to sell at two, exit at one. Again, there are no fees, right?
There are rebates. So we could like design like a very very cool strategy like like I'm I'm super excited about this.
Can you create a simple dash app to visualize visualize the real time prices and spread use uh ABC darkly.
So now we're going to create a web app to visualize these pricing discrepancies.
And do I see like we can almost try to you know place some test trades right?
So we can place some test rates on the exchange and try to quote like uh ask.
So first we need to compute the limit prices for bid and ask and then we need to you know provide the exchange with these prices and update them continuously right maybe like an update inter of 0.1 0.25 25. Again, we don't have any collocation. So, we need to collocate all of that like probably on a Japanese server. So, I'm going to like order uh Japanese VPS this week and then we can try to run the strategy there.
>> [snorts] >> Nice. So, now we're creating Oh, we're now at plus three. Like, do you see it's so fast and the discrepancies are so huge?
That is like crazy.
So, so the next step is like try to submit some test orders or you know what? I'm just going to tell Clots to just do it and then verify. But yeah, and now we're back to 1.4, right? So, wow. The the price discrepancies, they move like by quite a lot. And it's not just some like small price spikes.
They're like huge differences.
Now we're back at one $1 difference is like super huge. I also need to look at the time and sales. I'm also interested like in the uh liquidity and like uh you know how how often orders are getting executed. So here you see like trades right that are performed on the exchange. So again it's not very liquid but let's just like create like a strategy where we like quote a spread maybe two or three points above and below MT5 and then we're going to run this market making strategy on gravity.
AWS gives you credits type of credits. Uh I tried AWS like three weeks ago. Was a bit confusing in the beginning but then I got used to it.
We can collocate in Japan both these one for basically free. Ah that's cool.
So we can like try to make our like yeah AWS strategy.
Okay. So now uh hopefully the dashboard will be done soon and so I'm going to show you what cloth you know has has cooked [snorts] Okay.
So here we have our dashboard.
So let's see how it looks.
It's a very like simple dashboard. So let's have a look at it. So what you have here is the mid price on gravity on gold, right? So it is slightly above MT5. And here we have the MT5 realtime price on gold.
And like we do see that here this is the cross exchange spread by like comparing the mid prices between those two curves. And so like when the cross exchange spread here for example is like five, right? This means that we can try to sell at five, right? And then we would like try to maybe exit at one or zero. So we see that on gravity there is no cost right so we don't pay any fee and on MT5 the fee is actually very low you would pay like 20 cents on MT5 the it cost 20 cents on MT5 to like run the hedge. So if you create a system like we sell at three exit one we make $2 we pay 20 cents you know uh on the trade. So that's only 10% of the profits that we could potentially make.
Like do you see that like here the mid prices they update so slowly market making here it would be so easy right because here we see very very huge pricing uh discrepancy but then Dom you know he wrote that the liquidity on gravity is like very low right so maybe that could like we would not be able to make a lot of money with a large capital but of course we can try and see what we get so so do you see guys, right?
This is like insane, especially because we pay no fees. And so now I'm going to like make a coffee.
And actually, let's go straight into trading.
I need to text my partner. Hey, I want $1,000 on Gravity and $1,000 on MT5, the netting account. Uh we're then going to create this marketmaking system. And actually, I feel like like I I I can feel it now. Before I was like, okay, I'm going home in 1 hour and I'm going to have dinner and whatever. But now that I see the chart, I actually want to finish the project today or tomorrow.
And uh that would be quite interesting.
Here the price updates are not that frequent, right?
Whereas MT5 is like super. So this strategy is not latency sensitive at all. If if you look at it like if we like computed like a 5-second moving average, this is not a latency sensitive strategy. We could even do market making with like 1 second delay to be honest.
So collocation in theory is not necessary. Of course, it helps, but I think I can make money from my PC here.
Maybe gravity doubles only updates on the last price, not the mark price. Um the things I'm Yeah. Yeah. Let's see.
I don't think so though. uh does gravity websocket price update on new it ask or on new mark price for last trade. So let let's confirm that. I think it's it's like a great uh great comment, right? We need to check if the price updates are real like real time or they update like based on some event that's not related to bit ask, but I think it's like a bid ask event that updates uh sends a new out book snapshot. So let's see.
Okay, I need to text my partner. Uh, hey, can you create uh an MT5 networking out.
All right. So, I told my partner to, you know, fund an account uh with $1,000 on MT5. Uh send $900 on my Gravity account.
And I think today we can like actually try to run like a first version. Uh which model I mainly using right now I'm using Fable 5.
Okay. So, all right. So, we're updating on the best bit ask right now. So, whenever the bid and ask changes, that's what updates it.
I want to create a strategy now.
Or actually let add this uh so here we're going to define our market making strategy. Right?
So people are like, "Oh, you're giving out your strategies for free." here. But yeah, it's actually the easiest way of trading. Just buy low, sell high. But most people don't do it because they just don't better.
So uh number one uh uh limit price on uh GRVT are derived from MT5 prices.
Uh so limit price GRVT is MT5 bit minus markup.
So limit price ask on variety is five ask plus markup.
So another thing is if limit price uh always uh send limit orders as uh maker orders add liquidity.
Uh next thing is if uh limit price on gravity uh is inside the order book limit price uh is rejected because it exceeds top of book price.
Uh place uh maker order at top of book plus offset and six. Uh monitor exposure. uh monitor exposure uh on gravity and stop quoting.
Stop placing orders on one side if exposure exceeds that value. Seven uh inputs.
Uh order volume uh bit markup ask markup max exposure and that's it.
So like so so these are rules for the market making strategy like super simple just quote uh spread around that level and let's uh let's code it.
I have added a new task in market strategy section. Can you implement All right, so our money is on the way and see how it goes.
Guys, it'll be quite funny, right? Like how long are we streaming right now?
like 1 hour 13 seconds. If I'm able to create like a market making bot within two hours, then you know that anything's possible with cloud, right? So, anyone could do it. It's all about like finding an exchange, providing liquidity, having, you know, have some appetite for risk, stuff like that. And like there are also many things that can go wrong, right? So, I'm not saying this is risk- free. You also need uh Like AI is great for building things, but when things screw up, uh, then it's, uh, quite bad. And and who's there to fix it, right?
All right. Money's on the way.
Okay. Like our dashboard is still running.
Cool.
So, yeah. So, what you see here is actually correct. I mean, look, it's four, sometimes six, sometimes two.
Like for me this is super exciting. Uh like I think I would also like show the trades. I think we can try to display the buy and sell orders on this exchange uh that are like filled.
And yeah, right. So, this is going to be like a very very uh long task probably.
So, I'm going to take a quick bathroom break, right? I'll make some coffee and I'll be right back. And then in the meantime, uh, feel free to just, you know, look at this dashboard and I'll be back in a All right, so thanks for waiting and I'm back. Got my coffee with oat milk and let's proceed with see you know if the strategy uh you know has been implemented like literally guys like trading is like so simple right all I told claude is like hey I have this create a market making strategies with these things and and like within I don't know 30 minutes it's going to be ready.
And so so the question is what what is like why is it so easy? Why why are we able to make money right in in like how would I say like with all these banks HFT hedge funds you know and all these efficient things why is it like still possible to do this and and I think the answer is just that maybe the big banks they don't bother right because oh yeah the volume's not good or maybe I can make a few hundred or a few thousand dollars on this asset and then that's all the the the edge is there but the volume is not high enough.
So this is probably like this deck is a place where like retail traders can actually capitalize on that right because still modern finance and everything most of it like still happens on centralized exchanges on stock exchanges and so on. So like I think this is like a good opportunity to just jump into and because there are so many dexes nowadays, right? Uh it's more about looking and searching for these dexes and assets rather than designing a profitable strategy. Designing a profit strategy is the easy part. I think the most important part is just being flexible, finding a deck where a strategy works and like just look for new assets and symbols.
So I feel like like maybe in the future I'll have to adapt, right? Maybe Hyperlid will become too efficient. I'll have to move here, then I'll move there and then and so on and so on. So like at the end of the day, it's always the same thing.
just add liquidity, write efficient code, collocate with the broker or exchange servers and and that's it.
Nothing revolutionary. It's it's always the same thing as market maker. Just quote the spread. It's like one is cheaper, one is more expensive.
Sometimes you don't even need to hedge, right? Hedging is only like to secure your profits. But like when you get into like try to maximize volume and profits then you don't actually use uh a right So yeah, you can see that we're trying to exit my JP225 trade funding rates over $700 like nothing has been going on for the past two weeks and on Friday JP had like 350% funding rate, right? And now we have this this is like like really nice to see like after a long time we're like making hundreds of dollars. um before it was like we've always made like a bit like $100, but you see that like the past two weeks have been very calm. Like we caught one good trade, made like almost $400, right? But for most part, our profits were like below 100 because we're also stuck in our S&P position.
And then on Friday, I just decided to allocate lots of money on JP, right? And like the days before, we also had like nice profits. But now uh I think some days you just need to accept that you're not going to make like hundreds of dollars every day. like you just patient and wait uh for times because markets sometimes markets are calms and sometimes there are wild and like we have to adapt up.
Okay. So, let me log to the new trading account. So, my partner, he created a new MT5 account and deposit money on that account. So, I'm just going to log in. Make making sure I don't leak my login credentials accidentally.
Log in. And uh we have a fresh 1K account on MT5 and then another 1k account uh on gravity. I think the money is already on the way. So, Yeah, I'll check All right, then never mind. Uh the MT5 account doesn't work that well, but we can, you know, just try market making unhedged on gravity. And once that MT5 account is done, uh we can then apply the hedging to secure some profits later [clears throat] thing is I I also need to check uh uh so someone mentioned like it's uh located in AWS is Tokyo. Yeah. Uh, northeast one.
So there's an ad private link but uh for matching happens offchain on those Tokyo servers while settlement and funding impacting those action are pushed onchain with their that case sync based chain. So only the offchain matching layer has a physical location that matters. Right.
All right.
And here a taker is 0.045%. 045%.
Um, compute that what it mean like if if you're like a speculator and you just need liquidity, right, to trade there.
Does it mean 4,000 times 0.045 1.8 * 2. So, like as a retail trader, if you like speculated, it would cost you $3.6 US. So, my advice for you is like don't trade gold on a DEX. It's too expensive. Like 3.6. It is too expensive. Like, you have a better shot like making money on MT5 CFDs or trading GLD ETF. It's all cheaper.
So the thing is like we have to think about who are we buying or selling to right uh and it's the dumb money on the taxes like we have to be like honest about you know how we make money the way we make money is make money the spread and the one who pays the spread and pays the fee is actually the speculator the retail trader the dumb money who's willing to buy at bad prices. So, we just have to accept the fact that uh these are the people who actually lose money and we're profiting off of them and and that's why it works, right? But that applies to like any exchange, any trading platform.
It's always the dumb money, you know, feeding the LPS, the brokers and so on.
So, we're just trying to be part of the system or be the participant that is on the winning side, right?
And that's uh like sadly how it works.
Like people will always speculate. They will always like pay huge fees and large spreads and there's nothing we can do about it. All we can do is just provide better liquidity making sure that you know they get good liquidity, good pricing at all times and we're getting rewarded for that. So that's how yeah you have to play the game in Binance.
Okay. So like in theory it would be like interesting to run like a market making strategy where we uh like do not uh what is it hedge on FD5. So we get an additional edge which means we don't have to pay for the hedging fee.
But I then I have to simulate you know exactly how volatile our strategy portfolio be in case we not hedge on MT5.
There was actually a guy who proposed to me. Uh I I think it was a few weeks ago that like we could create like our own fund, you know, like a wallet where we would send money and like through like different smart contracts. It would then trade on like any decks that we want and it would like provide liquidity. So we'd have like our own market making and like liquidity uh trading strategies. I mean that sounded like kind of cool but that already goes like into the realm of managing other people's money but because it's all like automated right so it's like transparent what it does it would just be you know through public smart contracts I think like that type of project would be quite interesting it's just that I'm always like worried with my do with third party funds I can always make some issues and stuff like that but imagine you'd have like a fully automated system the blockchain that can also trade for do, but then I'd need to, you know, dive deeper into actual blockchain technologies and, you know, how how to do that basically.
So uh what are the rate limits uh on gravity?
Uh I want know how often I can refresh uh my orders.
So, our script is done. So, we can actually start market making now. Um, I check my uh funds, right? So, here I have $900. So, I can actually move the money to my trading account and then I can like start trading.
Oops.
So, funds have been moved.
and I want to specify market for class inputs inside the file set of arcs.
Okay. So now uh yeah we just okay so this is going to be interesting.
Oh I I forgot one thing and that is that I created a read only API key. So quickly like off on a separate window I'll create new API keys and update that. So second so I can update my uh or I can create a new API key with trading permissions.
I'm going to do it now. And uh All right. So now I'm just going to copy the new API key.
Now we can try to run our script on our account. So So we have $1,000 here, right? So we have $1,000 here. Uh wow. I I think our website might disconnect here. The pricing is I think because artist right because I disconnected from my MT5 platform. I tried to log into my new account but it disconnected. So I'll have to log to my previous account.
Right. So now I just need start my script again and it should work.
So here we're connected to our MT5 account. And so now uh if I refresh and now uh everything's correct again.
Okay. So here's our market maker. Uh and here can specify the settings.
So I want to update every 250 milliseconds. Uh let's set the order volume to 0.01.
The markup like $2 up and $2 below. The maximum exposure is 0.05, which is fine with me. The top of book offset is going to be like 01 and I need to ask claude what uh these so rate milliseconds uh recall tolerance What do values mean? Like I I I probably know what they mean, but I'm just going to ask just to make sure. So, I think requ of the limit order should update. So, I think it should be uh like maybe 0.25, to five, but we'll see what.
So, here what we have is how often Grab sends us market data. Uh All right. So it it only displays the rate at which uh gravity like displays the things and here the refresh is the heartbeat of strategy.
So here we should do it to 250. You could go down to 0.4 Four at tier one position pulling is the binding straight or came that is the market making but uh okay let's try to do a refresh interval of 25 0.5 every seconds. This is that size where a refresh cycle actually does and cycle compares to price.
All right. So, let's just try to run the script and see what happens. And then we're going to monitor uh So now uh so this is a dry run. So these are the bit prices 409 43 and so the MT5 price is 2011.
And so now I'm going to set to false.
And then we're going to see uh trading account is missing from copy the training account from gravity UI app settings. All right. So here uh there is something like called the trading account ID. So I will need to copy that and I will need it need to add that into my end file. So again I'm going to update my gravity uh trading account ID is equal value. So I've updated that value.
So now all right so what happened here is that you are not authorized to access it.
Oh, here I got this error.
So, let's see what we have to do to fix this.
because I think I provided like most like all of the API functionalities. So like that's quite interesting but we'll see you know what Hot.
Here This Oh, I I see what it is. So, there is like a different trading account ID.
I think I added wrong trading account ID because that it should have like used the trading account ID from my API keys probably because that like handles the trades. Uh, so how about I just try to restart it now and maybe it should work.
And okay. So now if I go my platform what you can see here is that here I have placed my sell limit. It works guys. We are market making now. Look at that. So here this is our like buy limit right and this is our sell limit here.
So we are trying to always be positioned in the market right it's 14 here and we're like entering and exiting but yeah so I think it is working so here we're adding liquidity and like now what we have to you know make sure is that we won't get like uh what is it um rate limited. So, I still need to check the um rate limits, but here we're buying and selling. We're buying and selling. We're buying and selling like updating the orders, right?
So, if I go to open orders, uh like you cancel and then you add a new limit order. You cancel, then you add a new limit order with like every new order price basically.
And maybe I will increase the tolerance, right? So we don't like uh cancel too early. And I think like with our strategy, our reco tolerance could be maybe like 25 cents even, right? So that way our order stays longer without having to get cancelled.
And so now because our tolerance is higher, these orders like stay longer.
So do you see that we have like this is our buy limit and this our sell limit and it's just waiting to get filled based on the five price.
I mean that's it, right? That's all you have to do. you just apply the spread and then if you want to hedge it, we can just, you know, create like an exposure listener or listen to the fills and then hedge that with MT5 to secure some profits. But I think we'll do that tomorrow and tomorrow uh like we'll try to trade. I'll connect MT5 to hedge the exposure and our strategy basically is done. And then the remaining things like doing reporting, monitoring, risk management uh tools, right? Monitor the margin and so on. But the core functional strategy is just this right that's all it is and then it's all about optimizing speed right collocation maybe do some faster data feed but this is it so I'm very happy with his results took less than two hours and tomorrow tomorrow we'll continue with doing the exposure monitoring and hedging that with MT5 and so I'm just going to let it run maybe I can like try to also uh like If you look at this thing here, right? So let's So this is the current spread, right? So like my spread that I define should be within some range within two and minus two ideally. So Right. So here now we're at minus two.
Right. So it hopefully from now on the spread should be almost always contained between Oh, here the units are BPS. I I want the units in uh USD. So we'll change that.
But yeah, we're just hoping to get filled eventually. And for now, that's it. So, I'm just going to let it run.
I'm going to observe it and then we'll see how. So, if someone like places a big market order, buy or sell, hopefully we'll be position the markets to absorb that order. And so, we're basically buying at better prices, right? Buying low, selling high.
Uh, are you going to add it to a subscription for download? Yes, this is going to be part of uh the downloadable code. Uh but for now like I'm I'm still like worried that there might be some issues, right? So ideally I would want to let it trade for one or two days and then maybe tomorrow or Wednesday. Uh I'll just upload it on my website so you guys can try it out later.
You know extended error per deck has zero maker fees. They also have trees like gold. Yes. Uh someone has mentioned that. So I think uh actually we're quite we were quite fast with gravity today.
So to be honest like I don't need to know spend an entire month to do dashboards and control pans because you already have that right. So I think uh it's more about doing the proof of concept doing the initial drafts. So I think uh I'm not going to spend like an entire month again doing all these things. Uh but I will like you know try to create like quick proof of concepts right first drafts so you guys can you know get started as soon as possible.
And so we can also like try to write a similar strategy on extended as well. So I'm just going to write it down. And I think like if extended actually has zero maker fees as you say then I'm also like super interested in going to extended and trying them out.
Just going to write down extended later.
Actually I have my SN pass writing on paper.
So later once we're done with gravity, let's go to extend it and then we'll have like two decks that um trade on.
Like I just want to see like one filler, right? I just want to get filled at least once. Maybe the spread is a bit too tight. I mean too loose, right?
Maybe uh we should like mark up only like let's say one one should also be fine right so bit is one ask markup is one and then that way tightening the spread basically means we have higher chance of getting filled because then we're competing at top of book extent sucks their support is terrible and spread not good well with a support that will be unfortunate right but if the spread is not good uh we don't actually care because we are market making So this is actually good for us because we can compete uh with a bad spread. So our job as a market maker is you know to provide good spreads right.
So it's more attractive to trade on uh that exchange. So so here you see the market making strategy. You buy here you sell here.
You always position in the market and then like you just measure your maximum exposure. I'm just hoping to get filled, right? I'm just hoping to get filled eventually. Uh, which might take some time, of course. Uh, but yeah, I think this is like super cool.
Anyways, guys, so I guess this is it like for today, right? I'm going to work on the MT5 hedging and listening to the exposure. Then we can like also write a very simple dashboard like a simple one.
We're not going as I said uh do something like this right like this took me a lot of time actually I spent like one or two months doing this uh you know and the control panels I'm just you know mainly trying to show you a strategy that works and then whatever you do extra on top of that is like you can the code and try to no create your own dashboards you know cloud is like really good and I just wish get a fill very soon. Like that would be like really nice. Ah guys, see look at that. We're at the top of book right now, right? So our price is at top of book or was uh so we actually have a good chance of getting filled soon, right?
It just takes a long time because liquid is not that good here.
But eventually we should should get filled.
So, yeah. So, guys, any questions? Uh, I think I'm just going to pack it and I'll see you guys tomorrow and we'll continue with our MT5 hedging tool.
No, I just, you know, want to sit here for a while and see if we get any fills.
But that's what market making is, right?
Just have a fair price. Buy for low, sell for high. And like one last change that I want to apply here is that I want to show the cross exchange spread in absolute values in not points basis points.
The thing is we could go like even tighter, right? Like maybe 50 cents.
I mean, that might be too tight because then we might have like a still quote, right? because we don't have like really fast updates but yeah eventually we should get filled also like check uh small changes the dashboard so I wanted to display the spread not in basis points but in absolute values because I can know better understand I see things in absolute values uh when I trade here for me like That Okay.
So let's restart the dashboard and okay so this is the cross exchange spread now right now this value like before it was one right so it actually shouldn't be higher and lower than one based on current settings. Sometimes it can exceed uh because my you know uh quote is stale or like we cancel the order and then like it just jumps a bit but most of the time it should actually be below one. So there's like still a lot of investigation I have to do app. So now you see all right it can go higher because if we're at top of book right so we're quoting at the top of book and not like quite slow here.
So we just need to actually so it can happen actually that it goes beyond one.
So here recording at top of book not They're all over here.
Oh, five.
Nine.
Okay. So, yeah guys, anyways, I'll keep you updated regarding strategy tomorrow.
Tomorrow we will continue and like if I like catch any trades today, you know, I'll just show it to you tomorrow. Like we still have like some work to do which is the MT5 hedging. So yeah, until then uh it perform. So thank you for joining to this live stream and I will upload the code, you know, once I've properly tested it. So right now I'm still a bit, you know, unsure if I uh, you know, I just finished coding it like a few minutes ago. So let's give it some time and have a good, guys.
Related Videos

Multi Vendor Multisig w/ Seed Signer, Hodl Dee & QnA
BitcoinMagazine
985 views•2024-09-05

Oasis Week in Review: Latest blog articles, workshops and more
OasisFoundation
135 views•2024-10-18

Kaspa: How ZK Turn Blockchains Into Settlement Layers (Part II)
cxc
1K views•2025-12-19

以言會友 EP13|當比特幣屢破紀錄 區塊鏈技術能帶來什麼?
dotdotnews
293K views•2021-01-05

Soroban Development: Ecosystem Growth, and the Rise of 70+ Smart Contract Projects
SorobanOfficial
1K views•2023-07-19

Balaji Srinivasan I The Fiat Crisis | Pragma Tokyo 2023
ETHGlobal
37K views•2023-05-06

$22 million NFT scammers arrested (insider evidence)
coffeezillaextras
806K views•2025-02-03

SYMMETRICAL TRIANGLE HOLDS THE KEY TO NEXT MOVE" DON'T IGNORE
xrpfuturemillionaire
800 views•2026-03-15
Trending

WOW! Judge TURNS THE TABLES on Trump in His OWN $10B LAWSUIT!!!
MeidasTouch
197K views•2026-07-23

Playstation NO DISC/NO BUY Fight Is Over...
DavidJaffeGames
4K views•2026-07-23

Steam and Xbox Just Dropped The Hammer On PlayStation
OhNoItsAlexx
9K views•2026-07-23

Americans Confused in Australia for 17 Minutes Straight
IWrocker
17K views•2026-07-23