很多人經常把兩者混淆,但實際上,盡管經常互換使用,但算法交易和量化交易具有不同的含義。為了方便起見,我也把英文版附上。
- 算法交易 (Algorithmic Trading):
- 指的是使用基於預定義規則或算法的自動化係統執行交易。現在很多的高頻交易就是個例子。做市商通常用高頻來通過問價和報價來獲利。我們一般人,用不了。
- 它側重於交易流程的自動化,例如訂單規劃和執行。
- 算法可以基於簡單的技術指標、市場事件或複雜的策略。
- 主要關注的是交易執行的自動化。
- 量化交易 (Quantitative Trading):
- 涉及使用數學和統計模型來識別和利用交易機會。
- 它依賴於數據分析、統計建模和機器學習來開發交易策略。
- 量化交易者經常使用複雜的算法,但重點是交易策略本身的開發和驗證。
- 主要關注的是交易策略的研究,創建和驗證。我們文學城裏很多人都在談他們(她們)的高招,實際就是分析他們算法雖然不是量化上的算法。
- 最簡單的例子就是,很多人會在走勢圖上看阻力點。一旦到了,就開始賣出。量化就是計算而不是看這個點。背後的邏輯是一樣的。
但是,量化的計算是基於數學概率,而散戶是憑經驗或感覺。散戶是根據經驗綜合考慮,算力他(她)的大腦。量化分析的算力來之電腦。考慮的各種因數。散戶憑經驗,甚至感覺 和記憶。量化則是在概率的引導下建立一個或多個模型, 可以回測曆史
具體例子,設個LIMIT ORDER,一旦ES index 到了某個值,就買入。一旦買入就設個TAILING STOP LOSE ORDER. 這就是 算法交易的一個最簡單的例子, 實際上大家都在做。你看,這沒有那麽神秘。機構也是這個道理,不過他們設定的範圍很小,考慮的參數多一些,所以每天交易頻率很高,所以叫高頻交易。高頻交易門檻很高,以後有機會再分享。
量化交易, 比如計算NASDAQ成分股之間的協整關係,比如選出兩組有協整關係的股票,根據最近數據找出兩組之間的背離程度,買入一組,同時賣出一組。這個簡單的模型需要大量的計算,不斷調整參數來獲得曆史驗證,在實踐上也要不斷調整參數。 你也可以把它叫協整向量模型。然後就是用電腦程序來實現這個模型。一般交易平台都有接口(API)來滿足這個需要。也能用第三方軟件來做。
本質上,算法交易是關於如何執行交易,而量化交易是關於基於數據驅動分析進行哪些交易。量化交易經常使用算法交易來執行其策略。
For English speaker, the following is a brife guide of algo vs quant:
While often used interchangeably, algorithmic trading and quantitative trading have distinct meanings.
- Algorithmic Trading:
- This refers to the execution of trades using automated systems based on predefined rules or algorithms.
- It focuses on the automation of trading processes, such as order placement and execution.
- Algorithms can be based on simple technical indicators, market events, or complex strategies.
- The main focus is the automation of the trading execution.
- Quantitative Trading:
- This involves the use of mathematical and statistical models to identify and exploit trading opportunities.
- It relies on data analysis, statistical modeling, and machine learning to develop trading strategies.
- Quantitative traders often use complex algorithms, but the emphasis is on the development and validation of the trading strategy itself.
- The main focus is the research, creation, and validation of the trading strategy.
In essence, algorithmic trading is about how trades are executed, while quantitative trading is about what trades are made based on data-driven analysis. Quantitative trading often uses algorithmic trading to execute its strategies.