HangukQuant Profile picture
crypto MFT. quant research and quant dev. not financial advice. 🔗 https://t.co/HlaqCGWX4w
16 subscribers
Oct 25, 2024 5 tweets 5 min read
Beginner-Intermediate Trader Guide (1)
Here's what to do with your Ichimoku Cloud strategy

Let’s take it to the beginning.

As a beginner trader (say, you are a year 2 CS student with the hopes of becoming a quant), the industry is a scary place. Mostly noise - and unless you are able to land an internship at highly coveted spots, learning how to do systematic trading feels like swimming in the atlantic ocean.

To get an internship means you are squeezing in next to the competitive programmers (with professor recommendations) in roles that have abysmal acceptance rates. Interviews full of programming, combinatorics and linear algebra questions. In my college, there were particular quant funds that interviewed students from a particular programming module which itself had students cherry picked.

So you give up hopes, turn your attention to YouTube and watch the Ichimoku Cloud videos and RSI stochastic oscillator setups. One doesn’t work, and you do more research. Ahh, combining signals can help. And then that doesn’t work out either.

Perhaps you should take a step back.

I am going to skip the whole stuff on ‘there is a better way to make money’. There is, but many do it because they think it is sexy. Or so we thought. I mean take a step back, and look at the big picture. How do we know where we should be looking to improve ourselves?

Are there any Elliot Wave theorists working in Jane Street? Jump? Citadel? Goldman? OKX? Do you see a MACD analyst in the Barclays Hedge Fund Database?

Or are there volatility traders, cta momentum funds and curve arbitrage funds?

Studying hard does not mean it isn’t a waste of time. Studying various MACD strategies is like burning the midnight oil on questions that your professor labeled NIS (not in syllabus)

The first video on ‘macd strategy’ on YouTube yields 2700000 views. In comparison, ‘yield curve arbitrage’ yields 89000. That is the unfortunate state of our industry.

Obviously, you are not going to have a CTA fund ready and charged from the get go. Surely, there is an intermediate between where you are now, and that ‘institutional’ set up you dreamed of. So how do you get to the next level? Read widely, deeply, and do the research.

Read papers from sources that aren’t a waste of time. Read books from practitioners. Go to AQR, NBER, Rob Carver, Giuseppe Paleologo and try to implement the ideas if you have the skill. Or work on the skills to understand them. Eventually, you will find a niche market where your skills are sufficient to extract some value. Reading gives you ideas. Ideas give you action. Action gives you feedback. Feedback makes you better.

aqr.com/Insights/Resea…
nber.org
qoppac.blogspot.com/p/about-me.html
linktr.ee/paleologo
May 4, 2024 22 tweets 8 min read
Let's slap some regression on cryptocurrency trend analysis, building off excellent thread here:

Perhaps, let's take a look at dual momentum. What model should we begin with? Let’s regress forward returns against bollinger score (z-score of closing prices). Image
Dec 16, 2023 26 tweets 5 min read
haven't threaded in awhile - here's one on VOLATILITY ESTIMATORS 🧵🧵🧵:
- close-to-close estimator
- parkinson estimator
- garman-klass estimator
- rogers-satchel estimator
- yang-zhang estimator

so... let's begin with some definition. what is an estimator? an estimator is a statistic computed from sample data meant to approximate some, usually unknown, population parameter of a random variable.
Sep 23, 2023 11 tweets 2 min read
Intuitive Guide to Trader Position Sizing 🧵

A significant beginner headache relates to position sizing...you watch a video, they tell you some rules, but how big or small should you size? Many technical traders use stop losses, ATRs and all sorts of complicated relationships The portfolio managers keep it simple: volatility targeting. This thread is an intuitive explanation of volatility targeting.
Jun 27, 2023 17 tweets 4 min read
A thread🧵of our free resources/papers including code in the past year:
Python Data Service Layer:
hangukquant.substack.com/p/data-service… Python Backtester w Vol Targeting:
hangukquant.substack.com/p/targeting-ri…
Apr 5, 2023 4 tweets 1 min read
In this post, we add on to the market notes (Chapter 12.7) on change of numeraire methods for continuous time treatments to stochastic calculus. In the next market notes, we introduce computational concepts in linear algebra on Euclidean spaces
hangukquant.substack.com/p/change-of-nu… (we will make this available for all readers) - this sets us up with the machinery and terminology required for talking about the mathematics of multiple random variables.
Dec 20, 2022 5 tweets 1 min read
We have a momentum strategy of moving average pairs, and our Sharpe was 1.10. We are interested in questions like;

i) what is the probability of getting Sharpe 1.10 or better if we went long as often but at random timings as opposed to our rule based timing? (asset picking) ii) what is the probability of getting Sharpe 1.10 or better if we went long some other asset B when our rule said to buy A? After all, markets are correlated. If we are good at timing (smart-beta), what is our alpha component of the total return?
Nov 10, 2022 13 tweets 3 min read
As @therobotjames put it, often when people say they give away alpha, they rarely are. Here's an exception: I am discussing one of my event driven trades live ON TWITTER (probably a bad idea, but HangukQuant is now 2000 readers and I am celebratory). HERE GOES: Singapore's monetary policy is the S$NEER, a managed float FX trade weighted againt a basket of trading partner currencies. 2 policy statements a year, and monthly updates on true values of S$NEER. When SGD exceeds policy bounds, central bank intervenes.
Nov 2, 2022 8 tweets 1 min read
end of quant tool series with HangukQuant. Take your Python programming skills to the next level with these resources:
Note that these resources are fairly detailed, not difficult but also so comprehensive that they will require resilience to sit through and study. There is no avoiding hard work here, unfortunately.

Fluent Python is a great book for understanding Python basics, internals and mechanics top to bottom. This will give you knowledge of the language itself.
Sep 18, 2022 6 tweets 2 min read
While equity hedge funds struggle in the past 2 years, apparently dumb #CTA money seeing great returns and chugging along - increased my trend/managed futures exposure way ahead into this ‘crisis’ - I don’t care about complexity when it comes to money! Easy money is better…TREND FOLLOWING will continue to see some outsized performance in this divergent market - their returns are: price stickiness. Trend returns in commodity futures can be decomposed into roll yield and spot change. Term structure slope enforces trends!
Aug 24, 2022 4 tweets 1 min read
In korea, there is a game called the `ladder' game. Friends asked me how come the results always lead to a one-one mapping in terms of ranking. heard of the game @saanglee ?

If only they read simple mathematical proofs for invertibility...haha basically you draw a ladder like this, and each number will be mapped to a unique letter, no matter how you draw it.

We can easily proof this: we want to show that two numbers cannot map to the same letter. Suppose not. Then there exists two numbers pointing to same letter.
Aug 16, 2022 4 tweets 2 min read
We implemented a fully functional database service with PyMongo as our driver, and integrate it with the data retrieval service this week. This version of the paper adds 30 pages of discussion and code implementation, totaling a 55-page report.

(post linked, GIVEAWAY below) ImageImageImageImage In the next report, we cover topics in asynchronous programming, multi-threading, batch processing, reducing network trips and HTTP handshakes to increase read-write throughput.

From the first 100 RTs, we will pick 5 for full access to v2 paper, and another 5 for full access to
Aug 5, 2022 4 tweets 1 min read
Few days ago, I posted out 20 pages of free code for data retrieval, making a data service layer. Full version is out now. Sample invocations:
Next up is to discuss challenges involved during this mini project, and the design of database systems in relation to issues discussed. - I would likely show integration with a NoSQL DB (not decided yet). If you like the content and want more free previews of code, please help to share and RT! Love whoring for all the attention I get from strangers :)
Jul 29, 2022 5 tweets 1 min read
HangukQuant is 1Y OLD! Some comments/announcmenet
1. We are very thankful for the support of > 1500 passionate traders.
2. We will be pivoting our stance towards stringent code policies and be more liberal about what we share with our readers

hangukquant.substack.com/p/1-y-annivers… 3. We will be sharing more compiled resources, including code, alpha ideas, test results, food for thoughts and disseminating them as digital books
4. We will be discussing a broader range of topics, both in terms of systematic trading processes and discretionary approaches.
Jul 19, 2022 6 tweets 2 min read
got some questions asking about combining quantitative equity forecasts and discretionary forecasts with options - I don't particularly have a solid framework around it. but I think I want to stress a point brought up by @therobotjames and @SinclairEuan around option in that if you intend to use equity long triggers as some muddly way of shorting puts then you are getting into a grey area where you cannot distinguish whether the pnl is coming from the equity models or the variance premia
Jun 16, 2022 25 tweets 4 min read
Stars Aligned in the East of Asia; Chinese Equities?
Here’s 7 reasons why I am looking at the Chinese market, and some malleable thoughts. 1. Russia vs Ukraine

The moratorium of exports out of Russia into the Western World undoubtedly causes upward pressure on energy prices and commodities alike. Everything tangible goes up. Meanwhile, China and Russia are holding hands and ramping up international trade.
May 14, 2022 4 tweets 1 min read
Reading De Prado again - the same cycle we follow for alphas: embargo, paper trading, graduation, reallocation and decommission. I commented a little the reallocation in my SS, and effectively about having tiers in the attractiveness of strategies. The tiered approach effectively Is also (approximately) concave in signal allocation as a function of time.
May 9, 2022 5 tweets 4 min read
Exhibition Alpha: Full post in thread link:
May 4, 2022 5 tweets 4 min read
Exhibition Alpha 3: (Full Report linked in thread) ImageImageImageImage ImageImageImageImage
May 4, 2022 5 tweets 3 min read
Alpha Review: (full report linked) 10-19

Live Sharpe EQUAL: 1.6
Live Sharpe MEAN: 0.8
WIN v LOSS: 6 ; 4 ImageImageImageImage ImageImageImageImage
Apr 10, 2022 5 tweets 4 min read
Download full post/subscribe link below: