Enhanced analysis tool based on Alpha101 grammar development
Tags: analysis, trading, fmzquant, cryptocurrency
Published: 2024-06-14 02:30:27

## Summary
The FMZ platform launched a trading factor analysis tool based on "WorldQuant Alpha101", which provides a new weapon for developers of quantitative trading strategies. Through analysis factors, it helps everyone better understand the market and gain insight into the opportunities behind the financial market.

## What is Alpha101

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kqm34eu9ohzsp4ztcp89.png)

Before introducing Alpha101, first understand what is Alpha? Alpha refers to excess returns. For example: buy 1 million index fund and keep it all the time. This is a Beta strategy to earn passive returns in the market. But if you use 10 million to buy 10 stocks, and earn 10% more by buying an index fund, then this 10% is Alpha excess returns. Don't underestimate this Alpha excess return. In fact, most traders in the market, including fund managers, can't beat the index, so many people rack their brains to improve Alpha's return. Of course, there are some excellent traders and fund companies.

- Trading strategy excess return = passive (Beta) return + trading (Alpha) return
In 2015, the "WorldQuant LLC" quantitative trading hedge fund, which is good at data mining, released the "WorldQuant Formulaic 101 Alphas" research report, which disclosed the 101 Alpha expressions they are or have used, whose purpose is to give trading strategy developers Provide more inspiration and ideas. Many people questioned the factors disclosed by WorldQuant, because after all, the Chinese stock market is different from foreign stock markets. But it turns out that most of these factors are still effective in the Chinese market. FMZ platform reduplicated and corrected of these factor formulas, and showed it to all traders.

## What are the factors in Alpha101
In the research report, Alpha is divided into three categories: price factor, volume factor, and dichotomy factor.

- Price factor: The calculation formula only uses the price, including: opening price, highest price, lowest price, closing price, etc. The output is a specific value.

- Volume and price factor: The calculation formula uses volume and price. The design idea is to determine the relationship between price changes and trading volume changes, and the output is a specific value.

- Dichotomy factor: The calculation formula uses trading volume and price. It is the same as the volume and price factor, except that the output is 0 or 1.

**Price factor**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3j1lmge3492aacpqig8u.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8f9em9v0dm6x4k02nxr.png)

**Volume-price Factor**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0kft9kappik5qk31kh1g.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gdgcsolcsrxvc4o96le8.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3um2vu5elnmlf0x6e43t.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k57fj3quh6xmojwdc0xz.png)

**Dichotomy Factor**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vickghwukg9satw5evjm.png)

## Implemented on FMZ platform
Open FMZ official website (FMZ.COM) to register and log in, click "Dashboard" on the upper left, and select "Analysis Tool" in the list on the left, as shown in the following figure:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nfcn9kdhj5n2d2ckd81l.png)

On the analysis tool page, the top is the setting bar, which can be set in order from left to right: variety, start and end time, period, picture type. Below the settings bar is the formula editing area. If you can’t write formulas, you can click on the drop-down menu below and select the formula you have edited. There are many formula examples supported here. In addition, the FMZ platform analysis tools already support most of the official Alpha101 formulas, just click and use. Click the calculation formula to display the calculation results at the bottom, it supports multiple data export methods: pictures, tables (CSV), JSON, etc.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/apndwei59wszkf4zmx8c.png)

## Need to pay attention to
The parameters in the factor formula are default and not the optimal parameters. Traders can choose the more appropriate parameters according to the symbol, period, and their own experience.

The factors are independent of each other, and superimposing multiple factors on each other may not necessarily result in better results. When designing quantitative trading strategies, at least have their own logic, not mechanical patchwork.

The factors are unlimited, Alpha101 is just a trick, I believe everyone can get inspiration from it and create more and better factors and quantitative trading strategies.

## To sum up
In many trading factor formulas, the surface seems unreasonable, but there are certain ideas and reasons behind the formula. But the only constant in the market is that it is constantly changing, so the effectiveness of these factors has non-linear characteristics in practical applications. In other words, there is no effective and always effective factor, there is no universal trading method. As a quantitative trader, you should have an open mind, be good at summarizing, and use it to try and innovate to make profits in a constantly changing market..

From: https://blog.mathquant.com/2020/06/09/enhanced-analysis-tool-based-on-alpha101-grammar-development.html