|
什么是量化交易?
量化交易是一種市場(chǎng)策略,它依靠數學(xué)和統計模型來(lái)識別并執行機會(huì )。(劉森-180-2857-8624)這些模型由定量分析驅動(dòng),這就是該策略的名稱(chēng)。它通常也被稱(chēng)為“定量交易”,有時(shí)也稱(chēng)為“定價(jià)”。
量化分析研究和測量將行為的復雜模式分解為數值。它忽略了定性分析,該定性分析基于諸如管理專(zhuān)業(yè)知識或品牌實(shí)力之類(lèi)的主觀(guān)因素來(lái)評估機會(huì )。
#!/usr/bin/env python
#coding=utf-8
import numpy as np
import matplotlib.pyplot as plt
import mpl_toolkits.mplot3d
f=open("./groundtruth.txt")
x=[]
y=[]
z=[]
for line in f:
if line[0]=='#':
continue
data=line.split()
x.append(float(data[1]))
y.append(float(data[2]))
z.append(float(data[3]))
ax=plt.subplot(111,projection='3d')
ax.plot(x,y,z)
plt.show()
量化交易通過(guò)使用基于數據的模型來(lái)確定特定結果發(fā)生的可能性。與其他形式的交易不同,它完全依靠統計方法和編程來(lái)完成此操作。
For example,you may find that after the number of Apple shares soared,the price fluctuated rapidly.Therefore,you have built a program to find this pattern in Apple’s entire market history.