THREAD: Stochastic Optimization in Dynamic Environments: Portfolio Allocation by a Quant ▼

1\ Combining alpha signals are an essential part of portfolio management, with extensive literature on integrating alpha. Famous examples include the (Half) Kelly, Markowitz portfolios.
2\ We provide a review of these methods and offer glimpses at our unique, proprietary robust signal-weighting scheme. Let us consider the problem statement and inherent characteristics of dynamic optimisation.
3\ The obvious, and most problematic behaviour is the presence of stochasticity in a dynamic environment.

For an academic treatment of stochastic optimization, a lesson from the Department of Statistics at Columbia.

stat.columbia.edu/~liam/teaching…
4\ The ideal set of weights for integrated modelling is itself changing; introducing an objective conflict in modelling approach; increasing look-back durations for empirical modelling increase statistical significance but reduce sensitivity to regimes in market structure.
5\ A quick review (including static, Fama-MacBeth, Markowitz, Grinold ++) on existing methods developed for signal weighting by Nomura. The resulting outcome is that:

As asset/alpha universes become more complex, non-static schemes and complexity have additional benefits.
6\ Conversely, when the problem setting is simpler (asset counts, non-linearity et cetera), complexity is punished.

nomura.com/events/global-…

An analogous study shows that dynamic signal weighting approach adds significant value compared to the static approach under 2 conditions:
7\
(1) The discrimination of the performance of signals in different contexts.
(2) The correlation of the signals performance in each context.

papers.ssrn.com/sol3/papers.cf…
8\ These conditions reiterates Nomura’s view on dynamic modelling being rewarded as opposed to static allocations under complexity of the contextual environment.
9\ The contextual modelling not only refers to techniques such as identification of regimes, but also identifying seasonality effects etc in switching the tactical allocation of your strategies.
10\ It is not difficult to understand why this is so, with some mathematics. The (1) condition is trivial to understand, and let’s provide mathematical proofs for (2).
11\ For multivariate portfolios, you can calculated their risk-adjusted returns (Sharpe) using linear algebra. You may also plot their expected returns against the risk, and obtain the efficient frontier. The tangency portfolio gives us the highest Sharpe ratio.
12\ In practical trading conditions, where the weight vector does not have to sum to 1, then regardless of the desired return exposure, one can just target the tangency and lever the risk for highest Sharpe. How do you obtain tangency weight vector?
13\ This constrained optimisation problem can be solved with a bit of calculus and algebra.
14\ However, a few objections come to mind.
(ONE) Assumption is that alphas have positive expected returns in the first place. There is no reason to think that an alpha is exhibiting consistent negative returns. Weight sums should be one, but each entry should also be > 0.
15\
Our constraints should change to something like
l1-norm(w) = 1, where w_i >= 0 \forall w_i \in w.
However, this does not operate on the frontier and we do not have closed form solution for this.
16\
(TWO) The tangency vectors that allowed for short positioning allows for weird entries like (-10, 10, 1), which sum up to 1. However, in reality, margin requirements do not “net out”, so our tangency solutions may not be tradable.
17\
(THREE) We do did not solve our issue with stochasticity. Our E(R) vector is approximated with something like rolling means, but we still have the objective tradeoff between statistical significance and regime sensitivity of our walk-forward analysis.
18\
Let us first solve ONE, TWO. Solving ONE solves TWO, since there are the sum(w) = l1-norm(w). Solving one is a constrained optimisation and we can use optimisation algorithms in AI.
19\
Techniques like Gradient Descents, Simulated Annealing (modelling Ising spin glasses), Evolutionary (modelling Mendelian genetics), Neural Nets (modelling brain synapses) each have their places in identifying candidate solutions in large search spaces.
20\
So, how difficult is it to identify global optima for static problems? How do you find “best solutions” for problems without closed form solution? Using swarm intelligence (modelling flight path of birds), less that 20 iterations are required to find the best choice.
21\
Using some “tricks”, the birds (green) signal to their leader (blue) who quickly find the optimal weights, represented by vibrating red particles. The static problems are not too difficult to solve, particularly in lower dimensions. Now let’s consider dynamic conditions.
22\
We pick 10 alphas from the our weekly publications, of varying strength. We test 4 variants (vol as control)

1) 1/N (Equal)
2) Technical Momentum (TA)
3) Tangencies (Markowitz)
4) HangukQuant

In complex settings,
i) HangukQuant, Markowitz performs better, static/TA lagged
23\
ii) HangukQuant consistently beat other variants in drawdown.

In simpler settings (3 alphas),
i) HangukQuant performed best, TA/equal weighting both performed closely.
ii) Markowitz suffered in performance and drawdown, reinforcing Nomura’s complexity claim.
24\ We find that our proprietary modelling method (analysing return surface likelihoods) were robust to both simple and complex settings, with benefits increasing per complexity. In both cases, risk-adjusted returns were highest.
25\
In 24 hours, we publish the full report to our proprietary modelling theory. Get access with a paid subscription today! You are NOT going to want to miss this.

hangukquant.substack.com

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with HangukQuant

HangukQuant Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @HangukQuant

7 Oct
1\ Thread:

A Quantum Revolution is Looming.

Why should you care?
Is it going to “break Bitcoin”?

A Trader’s Overview of the Quantum World
2\ You probably have heard of quantum teleportation. No, it is not going to make your girlfriend appear on your bed whilst your parents are sleeping. Whilst it cannot currently destroy your digital coins, it might just be able to do that, sometime soon.
3\ So, what is Quantum Mechanics? It is a fundamental theory in physics that provides a description of the physical properties of nature. The branch of quantum theory dealing with manipulation and computation of quantum bits (qubits) is known as quantum computational theory.
Read 18 tweets
6 Oct
1\13 One of the biggest challenges in quant and alpha research is obtaining clean, error-free data. Models need be built, using assumptions to reduce “dimensions” of reality for tractability.

A THREAD ▼ ▼ ▼
Machine Learning, Sparse Datasets and Error-Free Simulations
2\ Mathematical models, by definition are built to simulate and capture some phenomena, practical or abstract. Often, they are built on data, which themselves are derived from some unknown, statistical distribution.
3\ For example, an alpha model, is backtested upon data where prices/returns are drawn from some distribution. Widely in quantitative finance, they are assumed to be drawn from a log-normal distribution.
Read 13 tweets
5 Oct
Been a fulfilling ~1 month since our launch. For hitting 1k followers, we have a special thread for you, including a premium alpha report and a case study. 🔥

MEGA Thread (N = 60+) : Robust Alpha Research Processes; HangukQuant

↓ ↓ ↓ ↓ ↓
On Alpha Research, and Quantitative Alpha
On Trading Edges, and Adopting Research Methods
Read 7 tweets
5 Oct
Sub-Thread 5

HangukQuant’s Alpha
Sample Article
📌 HangukQuant’s Alpha

1) We adopt the Hybrid (Type 3) approach in the alpha research process. The hybridity is reflected in our team’s dynamic, with practitioners working on the theoretical models, and traders providing input on the heuristical discovery of alpha.
2) The result is a coherent product in the form an “alpha report”, that premium subscribers get access to weekly.
Read 11 tweets
5 Oct
Sub-Thread 4

Numerical Expression of the Thought Process

“Horizontal Alpha Research”; Alpha Fracking

Alpha Probing
📌 Numerical Expression of the Thought Process

1)

-1 * cor ( returns(1) , delay( returns(1) , 1 ) , 90)

“The alpha is the negative correlation between time-series of daily returns and its 1-lagged series, taken across, say, 90 days.”
2) The strategy of numerically ranking the outputs from above and going risk-neutral L/S quantiles on 30 stochastically sampled S&P assets:
Read 16 tweets
5 Oct
Sub-Thread 3

The Research Process

The Alpha Leak

“Vertical Alpha Research”, A Thought Process
📌 The Research Process

1)
Type 1: To keep my knowledge of finance, I both subscribe to financial literature, academic or otherwise. That means reading books/papers on finance, trading, economics, podcasts for general knowledge, and a working knowledge “Mathematical Finance”.
2)
Type 2: My knowledge on Computer Science and Statistical methods comes from my background in academia. I also keep up to date on new state-of-the-art research by reading academic literature.
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(