What's funny is that everything you would need to figure out this strategy would be taught to you in first 2 years of your CS degree, yet it is so revolutionary. Creazy.
@RogerKeulen6 ай бұрын
Yes, finance people are just mostly stupid. Most of the work is done by people of other fields and are just hired by them. Smart people will not want to make money when they are 12 tears old. Most of them want to make usefull products like video games or other stuff. Finance is something you do because your forced by your family. Or because you have no idea what to do with live and then selects a easy education wich gets to mutch repect.
@martin_nav6 ай бұрын
Sometimes not even that I had lessons about networking including the whole TCP/IP and ISO/OSI stack on my high school.
@asdfbeau6 ай бұрын
what's funny to me is: something that's a federal crime (DDoSing by holding connections hostage with corrupt packets), is a slap on the wrist, and a fine, for the finance bros.
@dvh62986 ай бұрын
@@RogerKeulen"usefull things like videogames" 😂😂
@AlexxieSanchez6 ай бұрын
@@RogerKeulen calling finance people stupid, yet you state making video games useful 😂. Fucking 🤡. Also, your English is trash.
@borntodoit87445 ай бұрын
Cheese strategy = a strategy which focuses on the holes in the system (the cheese) Eg if a broker has a glitch you exploit that glitch for a winning strategy This cheese strategy for trading is based on exploiting TCP in the technical stack (OSi model)
@monad_tcp6 ай бұрын
Once I cheeses some API by crafting my entire request in a single packet while other applications where sending 2 or 3 packets. But this is on another level, I did that to save resources in a GPRS network and get priority over the other credit card transactions of the other customers, thus my system would complete transactions faster and give a better sensation for the end user when the CC network was congested.
@freebookstore32424 ай бұрын
i like ur brain
@cvitdilip3 ай бұрын
very smart
@ericmunene8521Ай бұрын
Is your brain up for rent
@Philgob6 ай бұрын
amazing video, please do more breakdowns of publicly available defunct strats
@timlind31296 ай бұрын
This is crazy that you dive into TCP protocols.... I was not expecting this and wish I knew this when my , non-finance, company was using optimized TCP stacks for other purposes.
@Josh-Jones4 ай бұрын
In order to effectively pull this off you need to have massive $ in infra, all colo'd at the exchange. We're dealing in microseconds here, and this is not something that anyone at home could have done, even if they had the knowledge. Requires the infra too.
@edgeprobability6 ай бұрын
i'm not proficient enough to have implemented this, but it's still valuable in a sense to understand the breadth of Alpha. great vid!
@arthurgill59876 ай бұрын
My first job in what would become my career field was the "physical layer monkey" for a large aviation company and OSI was beat into me. That was 20+ years ago. Trading is a new hobby for me so I found this fascinating. Thanks for the quality video :)
@kyoko7034 ай бұрын
It's kind of funny how they are literally exploiting every single layer of the communication stack. Since they have gotten their fiber link and reduced their latency now they have to cheese the communication stack and possibly any other layer of the communication layer to maximize their execution. It's actually quite interesting.
@carlpeterson82796 ай бұрын
Patent attorney here. I reviewed the patent and can confirm that coding jesus is the messiah.
@josephwehby93136 ай бұрын
Would love more of this type of content! Great Video!
@j-5474-k9z5 ай бұрын
I traded at a major brokerage with it's own widely used platform. I remember either reading or hearing they used the transport layer to read customer orders before they hit the trading platform
@ourworldisstrange73016 ай бұрын
The fact I just got done making my own networking tool where I learned how to craft the IPv4 header, TCP header, etc and validate and manipulate packets and checksums is ironic.
@monad_tcp6 ай бұрын
that's a cool thing to do, I also implemented a TCP stack once, it was an upgrade for a embedded POS (point of sale) that was able to only use external COM modems, and I implemented the entire network card driver and the TCP stack, and I used the sodium for cryptography. The entire thing had to fit in 512KB of RAM.
@ourworldisstrange73016 ай бұрын
@@monad_tcp Wow that’s impressive I have made drivers before but doing it on emended systems with very limited amount of ram while also having to remake the TCP stack is on another level nice work.
@onlyms46936 ай бұрын
Do you have full documentaion of you doing it?
@ourworldisstrange73016 ай бұрын
@@onlyms4693 Depends what you mean by documentation. I am working on making a website for it containing documentation on how to use it but if you are talking about documentation on how it’s made I do not.
@alienxna65115 ай бұрын
Really enjoyed this. Brought back happy memories of working in Data Comms/Networking in the mid'80's - early '90's. Even though most of my career was in Software Sales, I so enjoyed 'hooking stuff up' from PCs with Modems, LANs using base/broadband/LU6.2 TR, Mainframe connectivity - ICL C03 and IBM SNA 3270 and implementing first versions of Novell Netware (how many disks & manuals?!?), Banyan-Vines, Ungermann-Bass and OS/2.
@user-ux7jk4dk8n6 ай бұрын
this is going to be fucking insane if this video actually does a deep dive on the patent and its implementation.
@asdfbeau6 ай бұрын
the patent is just countermeasures. The CME didn't do this for our sake, or to stop them from making money, they did this because it's essentially DDoSing their systems: flooding a system with corrupt tcp packets, in order to hold open connections, is considered abuse of a computer system...except in finance, apparently.
@ericjondahl94186 ай бұрын
Amazing! Thanks for posting. Just subscribed on first ever watch. Very rare for me. 👍🏻
@CodingJesus6 ай бұрын
Thanks and welcome
@ericvelazco89794 ай бұрын
E e 2😅😅@@CodingJesus
@glendalewestpharmacy5 ай бұрын
I have no idea whats going on but I am enjoying this.
@advitiyajadhav64526 ай бұрын
love this content. make a series about explained version of known quant models.
@Pjblabla25 ай бұрын
Thanks for covering these topics which are typically not covered on KZbin
@furdhiek6 ай бұрын
Nice video, I am curious how you heard about it in the first place. Any website you recommend?
@neropanda2646Ай бұрын
Your intro will always make me laugh man, not hating it's just bizarre and funny, good luck brother
@tlamz8086 ай бұрын
Really insightful vid...... Please do a vid reviewing the Certificate in Quantitative Finance (CQF) next
@thomashamilton5645 ай бұрын
Wow - really demonstrates the tangible value trading shops bring to society!
@simple56362 ай бұрын
so simply by this strategy you knows the prices earlier than others and according to the prices you sell or buy to make profit . right?
@tubopedia6 ай бұрын
This was such a good watch. Feels like its in a very similar vein/spirit of front running but definitely different.
@DiegoSilva-dv9uf4 ай бұрын
Valeu!
@CodingJesus4 ай бұрын
This is my first ever paid chat message. Thanks!
@gabriella86236 ай бұрын
You only able to gain few millisecond so if you do HFT this is a great technic, but 'normal' trading not really count I think.
@ТимофейЧерников-щ2х4 ай бұрын
Not milliseconds, but tens or hundrends of nanoseconds, which is 10^4~10^5 times less. If by 'normal' you mean discretionary than usually yes, however high-end execution could benefit any kind of trading
@racm20234 ай бұрын
Really good explanation. Thanks!
@linuxbrad4 ай бұрын
Well explained. Even just listening with headphones fully understood this fascinating innovation.
@rupertsmith60976 ай бұрын
I think perhaps its not the TCP "messages" that are incomplete, since it is just a packet stream and knows nothing about the contents. Its the FIX messages that are being split over multiple TCP packets, such that any given FIX Buy/Sell message is incomplete. So not the transport layer, but the session layer that is being held up on incomplete messages?
@rupertsmith60976 ай бұрын
Also seems like little advatnage to be had here. A FIX Buy/Sell message could be only a few hundred bytes and fit into a single TCP packet. The last byte will also take a single TCP packet. Unless these Buy/Sell messages are unusually large for some reason (like trading more complex instruments that need many more parameters or something)?
@ТимофейЧерников-щ2х4 ай бұрын
@@rupertsmith6097 that's really a marginal advantage. Before that becomes useful you have to make sure that 1. Your model is very light-weight, 2. If you're getting info from other location, you transfer it via microwave instead of cable (which 1.5 faster because of cable refraction index) 3. You run your strategy on ASIC, regular computer or even FPGA won't be fast enough. After all of that you may gain maybe extra 100 nanoseconds. It might seem insignificant but if there's someone else who've done 1,2 and 3, but not your trick, then you're going to be faster and you will consume all this HF alpha. It doesn't matter whether you win by an inch or by a mile, winning is winning
@Kennedy-k5f6 ай бұрын
Just say that your THE economics genius and get over with it. Love you.
@martykate5 ай бұрын
Thats a really great explanation!
@andrewferreira12614 ай бұрын
Where do you find the patents? What’s your process?
@weirdweirdidgafwtf3216 ай бұрын
Does the S.E.C and Federal Register release this type of info right, what would the best place to keep up to date with new regulations/ rules / patents for finance related topics
@SBayne7625 ай бұрын
Incredible, thank you for breaking it down so cleanly
@jonLowryTrade5 ай бұрын
Awesome explanation. Thank you
@cakesama97703 ай бұрын
Can someone explain why the socket wouldn't timeout after waiting?
@Pl156044 ай бұрын
It should be clear to anyone who read the paper that the gentleman has not. The applicant of the patent is the CME themselves.
@user-wr4yl7tx3w6 ай бұрын
Wow, I didn’t realize that HFT is mostly about computer science than math.
@chankayau6 ай бұрын
not even. it's an arm race of hardware indeed
@markgreen21705 ай бұрын
@@chankayau 'cept, with hpc cloud services, anyone can virtually access advanced hardware ...located within close proximity of exchanges, that's an altogether different matter.
@Georgggg5 ай бұрын
Its 0 math, 100% hacking.
@roncl86236 ай бұрын
Mind blowing, now i know why they are always ahead
@joby884 ай бұрын
Is this the same as adding a 3ms timeout window?
@Centori886 ай бұрын
@codingjesus: Can this concept be scaled down and be profitable for an individual trader?
@AB-ny7zm6 ай бұрын
Did they do this strategy in 2018? The patent has publicacion date June 2018
@ajayshelke64616 ай бұрын
You should change your name from coding Jesus to trading Jesus
@tashfiqmannan6 ай бұрын
Quant jesus
@Sam-b7j5bАй бұрын
how could i have applied this information as a retail trader?
@AlexMoore-p9e5 ай бұрын
I am being very picky here, because you gave a great explanation. But the 7 layer OSI model is different to the 5 layer Internet Protocol Suite, aka TCP/IP.
@EasyCodify4 ай бұрын
But you are waiting for the feed which will take time to trigger your buy or sell TCP packet. This case is applicable for only scalping trading.
@daymaker_trading6 ай бұрын
Thanks for your videos! What you are doing is fantasticly interesting and very educative. Each video is filled with really useful info. Best wishes!
@grantmartin20026 ай бұрын
Damn actually really hyped for this one
@40sUphillBothWays6 ай бұрын
How is your comment 14 hours old when the video was uploaded 40 mins ago? Edits? Just curious.
@grantmartin20026 ай бұрын
@@40sUphillBothWays the video premiered. So comments were open like 16 hrs before the video actually went live
@40sUphillBothWays6 ай бұрын
@@grantmartin2002 Thanks for your reply--means a lot.
@Lbgood21215 ай бұрын
One can, with varied accuracy, determine where stops are with MBO data. This is another reason why order splitting makes sense even for smaller orders.
@AghoriPower5 ай бұрын
3 to 8 MICROseconds. Do you have a rack on co-location?
@iftekherbinnaserchowdhury87075 ай бұрын
What would be the time difference between executing the whole trade instruction vs. the last 1% ?
@michaelp18185 ай бұрын
what i don’t get is, wouldn’t the receiving server just drop the incomplete packet after waiting for a few milliseconds?
@bbsara01466 ай бұрын
imagine if you go through all the trouble of doing this an then the stock goes in the other direction than you expected on the news
@mihaylets6 ай бұрын
have smo tested it in the real market?
@greenzza5 ай бұрын
In the first 5 minutes I’m able to understand very clearly what is being said, but I have no idea what we are talking about.
@MemphianSounds3 ай бұрын
This is essentially The Sting, right?
@mihi63485 ай бұрын
Now if I traded like this I am pretty sure JP was hawkish, but less hawkish than expected or answered the questions after the meeting somewhat dovish. Or maybe he was outright hawkish but considering the job numbers it was considered dovish... It would be like being the first to place money in the casino....
@Simulation_modelling6 ай бұрын
Super interesting! Thank you!
@ТимофейЧерников-щ2х4 ай бұрын
Isn't it allowed on some exchanges? They obviously charge extra for high load on their servers and internet line for so many corrupted messages
@Hashsignn6 ай бұрын
would love to see more models like this used in Quants
@loveller4 ай бұрын
Why make a patent? Do they want to stop companies from doing this by claiming patent infringement? How would anyone outside of a company know this was happening? Are regulators watching packets go back and forth and checking if they are complete or corrupt?
@shashanksharma17786 ай бұрын
This would only be viable if they were to complete or corrupt the message before sending heartbeat to the exchange to maintain the connection, right? As if they were to send heartbeat before completing the message, it would corrupt the heartbeat itself.
@RogerKeulen6 ай бұрын
Depends on implementation. It's basicly a slow lorris attack on a exchange that apperently did not have a computernerd working for them. It's older then a VIC20 this technique. Also using TCP for exchange is a bit overkill. Just look at the different order types there are and how big a order is in information terms. Think you can fit a order inside just a couple of bytes. I see it more as s business men crying like a baby when they meet a computer nerd. Computer nerds go to jail when they cancel a order, business men do not. And autistic people go to jail for growing there account to astronomic sizes and not taking actual profits.
@shashanksharma17786 ай бұрын
@@RogerKeulenYeah exactly, the implementation has changed wayy too much for every other exchanges as well. And I don't think we are trying to fit the order in a couple of bytes as the ordering of data is going to matter as well but thinking about you have build a full order knowing what price, quantity and other stuff you are going to send before hand then you can basically send the full order and not send the last couple of bytes.
@check90946 ай бұрын
good explanation except I still dont understand how being a few microseconds ahead translates to billions of dollars, which seems like a big oversight.
@mark19801006 ай бұрын
well you would buy or sell ahead of everyone else before the market moves, wait for it to move and hedge
@petedoe68726 ай бұрын
In your analogy, you still mention that the last (non-corrupt) byte gets sent to the corresponding trade order (for instance, to a "bullish trade" for good news). Does that not mean that they would have to wait for the news to decide which trade should go through? So the order would be: wait for news - interpret as bullish or bearish - send last byte to corresponding trade. How would that be faster than *not* having your trade already 99% of the way to the exchange, since you still have to wait for the news? Surely it can't be due to the time difference that it takes to send the prior 9 bytes of info (in your example)? Is that all the edge they need?
@CodingJesus6 ай бұрын
Run a 100 meter race where you begin at the starting line and your opponent is 1 meter away from the finish line.
@gtsaliba6 ай бұрын
I think also, this tcp packet has priority over newly sent packets because it was sent before.
@theLowestPointInMyLife2 ай бұрын
the greatest trick that quants ever pulled, was convincing the world they are smart
@highlanderthegreat5 ай бұрын
the father of this type of trading is JAMES SIMONS. he started the medallion fund back in like 1989 i think and has on average made like 55% return EVERY YEAR SINCE THEN....he was really the first successful quant trader with his partner
@japan89946 ай бұрын
how to use this as a trader and anticipate algo moves?
@rahulthoppil12615 ай бұрын
But how does a software track a positive news for a ticker? Is it automatic or with human assistance? Great video by the way. ❤👍👍👍
@wozszym19106 ай бұрын
Great video! Thanks for sharing
@uthoshantm5 ай бұрын
I think what is also being exploited is the latency caused by the back and forth messages required to make a single trade. That could represent lots of time (in the microsecond scale).
@OIOIOIIOOIOOOOOIOIOOOIII4 ай бұрын
2:25 pretty sure internet data is not sent on copper wires any more
@Nishandh_Mayiladan5 ай бұрын
Transparency counts, therefore, DeFi
@Mark-ef7pi5 ай бұрын
Excellent explanation, despite the bad drawings.
@Akki-bhau5 ай бұрын
Interesting content. Hey any videos on Oil trading analysis strategies
@ronaldomessi90006 ай бұрын
idk what this video is all about but when will powell turn the printer on again bro
@i_am_processing_6 ай бұрын
"I'm not cheating, I'm cheesing!"
@zakwhite51594 ай бұрын
I just dont get why an item is allowed to hang out in the stack and is not asked to go to the back of the line. Its like you're grocery shopping you get to the front and just jang out there until the store has a sale and a runner goes fills up a cart and brings it to you in the front of the line. Great video by the way.
@Cokaine_d6 ай бұрын
Is it the same as FPGA ?
@mr.x3756 ай бұрын
Hi, great video. I had a suggestion: Can you just use the mic or the way you recorded earlier videos? this was a bit difficult to hear compared to other videos you have put. Thanks!
@chrisrogers10924 ай бұрын
Incredibly interesting. This is the intersection of 3 disciplines that I am very active in. Too bad i cant use this knowledge to make myself some money. It does make me wonder how in the world they were crafting this trade with the manipulated packets in the first place? Custom software thats talking to an API?
@willypbm6 ай бұрын
Are those orders waiting in the price level queue corrupt and showing?
@CodingJesus6 ай бұрын
As mentioned in the video, TCP layer is seperate from tha App layer. Nothing is served up from the TCP layer to the App layer until the message is complete and valid. None of the preloaded orders show up on the orderbook before they're completed on the TCP level.
@RogerKeulen6 ай бұрын
@@CodingJesus They did not even show up in logging. Except dropped packets and stuff. Just like olympic games, people will start to detect you when you push it to mutch. Most of the time its a side channel you didn't think of that makes you actually detectable. Like your state of the art "illegal deep packet inspection router" goes offline for no clear reason at random points 🙂. Holding open more then 50.000 connections according to the managing software. And yes here is my "ACK" to you.
@ChubbySenpaii175 ай бұрын
Does this apply for people outside of your country
@moshemalka41536 ай бұрын
opened my eyes, good stuff
@llm-reacts6 ай бұрын
The rules say something along the lines that you can't send an order without having an intention to trade and i think it applies to partial and corrupted orders
@ankushbagwale178905 ай бұрын
How you can apply this to trading?
@ferretcatcher23775 ай бұрын
I think trading robots could use this method.
@Arsh-bv2ij4 ай бұрын
Insanely interesting !
@recursion.6 ай бұрын
Coding jesus is cooking! This year we getting that 100k plaque with this one🗣️🗣️🗣️🙏🙏🙏
@jameshackett99924 ай бұрын
They copied it from link accelerators when you doing long distance over oceans , reduce acks, and merged the layers further into the app stack, but when half your app code in fpga nic cards, you trading app is the fpga nic card, and you dont want the acknowledge ack back , ie latency times if traditional tcp ip, ping test is a different app stack but a good test
@orderflowdojo6 ай бұрын
🔥🔥 this is insane
@JOEMAMA-tl2jo5 ай бұрын
Love the theme. Can you make a video on Ken Griffin and how someone potentially could do what he does? Im in College for Finance and he is an idol. Thanks CJ!
@bbsara01466 ай бұрын
why would you patent a trade secret like this? that kind of defeats the purpose of doing it.
@jamesrav5 ай бұрын
if the CME patents it and someone tries to use it against them , they could sue for patent infringement (?)
@adokoka6 ай бұрын
Coding Jesus, thanks for the video. Very informative 🎉. I have a question. I have several openings in the quant / hedge fund space recruiting RADIUS specialists. Why do we need such a specialism in quant networks?
@QuantumTraderSolutions5 ай бұрын
Can someone please explain how as a normal retail trader with a 5 pip spread on the SP500, how can you make money with a method like this. Firstly, spread would engulf any profit, secondly, the news can run the market either way, so assuming you have a tool to read the comments the ability to predict its next direction is almost impossible. I am just asking the question. I can understand if you don't have any spread and you drop millions on a trade, this may well be possible. but, what about the average guy in the street.
@anonymous-t4g9r5 ай бұрын
Yes
@magnusbestest5 ай бұрын
Nice simple explanation bro
@CodingJesus5 ай бұрын
🤝
@kevinheuvel74544 ай бұрын
I think all trades should be randomly be delayed by 3 seconds or more to prevent flash trading.
@mrdriver31465 ай бұрын
In the mean time, Warren Buffet was just buying under valued companies...
@davidlewalski22926 ай бұрын
Really enjoyed this video - thank you so much. Now I can see how some quants make seven figures.
@tr0wb3d3r56 ай бұрын
Wild that 3 microseconds can have such a difference😵