Market Notes; New Chapter (Trading Strategies) + Big Improvements to quantpylib exchange endpoints
We heralded some changes to the coming posts for HangukQuant:
I thought hard about what you guys would really enjoy reading - obviously - it is going to be trading strategies. With code. You guys always love having code that you can trade on.
So we are introducing a new chapter, called trading strategies. We will present the full code script, so there are no ‘hidden’ assumptions or ‘asset-selection’ nonsense that goes on in (some) academic papers. Have you ever read a paper that does this machine learning thing on 15 minutes candles on specifically asset A, D and G on the Indian Stock Exchange? What a niche selection you got there. Nope, none of that for us please.
Anyhow, there are some big updates to the quantpylib repo - that is on top of the local orderbook implementation, we have added a new HTTP client that optimizes the network requests.
Additionally, we have implemented ALL of hyperliquid’s documented HTTP endpoints, and some of their undocumented endpoints. The quantpylib repo also ceases to have a dependency on the hyperliquid-python-sdk , which is frankly to be, not performant or up to date. Users of the quantpylib hyperliquid wrapper should have non-trivial performance gains over those who use the official API.
That being said, I did not update the documentation, so some of the example code might not work ‘as is’.
Anyhow, here is a screenshot of the new chapter;
This is still a super nascent chapter, but just like the quantpylib repo - once we start piling on to the notes week after week, it will be quite formidable, soon enough.
Now, the market notes are at 863 pages, down from 890+ pages - this is not a mistake. I deprecated and removed some of the garbage chapters.
Here are the market notes (paid readers only):