iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📝

Looking Back at Interesting Discussions in the Makedeco Discord

に公開
2022/12/12

We operate a community for botters called Makedeco (https://discord.gg/xg6P5RXwaa), which primarily focuses on building analysis and predictive models using stock market APIs, sponsored by JPX Market Innovation & Research and AlpacaJapan. Since its launch in September this year, there have been various discussions and interesting topics. Today, as part of the Makedeco Advent Calendar, I would like to introduce some of the interesting discussions that took place within Makedeco.
https://qiita.com/advent-calendar/2022/market-jquants


Each discussion can be reviewed in threads like this.

As mentioned above, the main topics are organized using Discord's thread feature, allowing anyone to easily look back at past discussions.

About Individual Investors' Edge

This is one of my favorite discussion threads. In Makedeco, it is often said that data distortions and edges in trading strategies exist, and the effort to automate and refine their discovery is what building models with machine learning is all about. This thread discusses the fundamental point of how to discover those edges in the first place.

One interesting edge introduced here is whether individual investors should target the edges created by actions that institutional investors are forced to take for their products (indices and ETFs). Since most institutional investors place basket orders at the open and close, they correct the divergence of index/thematic ETFs caused by the day's price movements at that day's close. Since these price movements almost always occur, the discussion suggested that building a model targeting these movements could yield a sustainable edge.

About Feature Neutralization (FN)

This thread is about Feature Neutralization (FN), a topic that often comes up in the Numerai community. Since UKI-san suggested via his blog that FN performance was crucial in the JPX Kaggle competition, many questions were asked to deepen understanding.
https://qiita.com/blog_UKI/items/efba4ac7b1543a9bef85

Comparison of how the profit amount and Sharpe ratio distributions differ by randomly sampling daily profit and loss for a model without FN and a model with FN.

If you don't quite understand FN yet, reading this thread will definitely deepen your understanding! To be honest, I didn't fully understand it either, so I learned a great deal from the discussion in this thread.

About the Use of Technical Indicators

A thread on how to use technical indicators for investing. Usually, discussions on how to use technical indicators tend to be abstract, like talking about "false signals," but in Makedeco, technical indicators that are truly effective (improving model performance) based on past model-building experience are introduced.

The discussion highlights that typical technical indicators, such as the percentage deviation from a moving average, are often prone to overfitting and are mostly unhelpful, whereas things like rate of change and range breakouts are highly effective.

Furthermore, it is discussed that features used in factor investing—such as beta, momentum, and residual volatility calculated from stock prices—also have high explanatory power, which could be helpful for modeling.

It is really helpful to be able to discuss and organize technical indicators in this way.

About Transaction Costs

A discussion about transaction costs when performing systematic trading. Along with a detailed analysis by UKI-san, the thread discusses how much cost should be anticipated when engaging in systematic trading. Discussions regarding cases where the amount under management is large are also included.

In conjunction with this, for stock trading—which is the primary focus of Makedeco—the recommended frequency for the first model to design is "entering at the day's opening (Market Open) and selling at the day's closing (Market Close)." This is for several reasons:

  • It is easy to analyze using only daily Open/Close data (analyzing higher frequencies like 1-minute bars is quite a challenge).
  • There is no need to consider news that comes out after the market closes, such as earnings reports or FOMC.
  • Since opening and closing orders are handled via call auctions (Itayose), the execution penalty is less of a concern compared to market orders.
  • Japan's day-trading margin fee structure is inexpensive, so even beginners don't have to worry too much about costs.

These kinds of recommended first steps for modeling are also topics we want to continue addressing.

Finally

With the advent of the J-Quants API, the foundation is now in place for individual investors in Japan to perform data analysis. Since the J-Quants API is scheduled for official release next year, we hope to make Makedeco even more exciting. If you've become interested in the threads after reading this, please come and take a look!

Discussion