最近在寫一個 跑回測的軟體. - 財經

By Queena
at 2011-03-06T19:54
at 2011-03-06T19:54
Table of Contents
前言:
很久以前是對 EA(程式交易)感到懷疑,
不過前陣子慘賠,現在對自己 人工交易能力 更沒信心了,
覺得用 程式交易 都不會賠那麼慘才對.
所以最近開始要好好摸索 EA 的開發.
但是,很久前一陣子用mt4作大量參數回測時,
覺得mt4在做大量參數回測時,速度有點慢,
比方:
跑一輪如果是1分鐘,而有3個變數.
如果每個變數各抓5個來,那就是5*5*5組合=125分鐘
如果想測10*10*10 的組合,那就太久了.
於是最近寫了個交易的模擬器,是用Delphi寫的.
主要是用來當作EA的參數掃描器.
特點(優點):
1.回測速度快. 約快100倍~1000倍不等.
比方,mt4跑1輪大概1~5分鐘,我的回測器跑大概1~2秒.
2.結果的輸出方式可以自訂.
比方輸出成特定文字檔,然後到Excel分析.
另外我未來也可能會直接內建一些分析的機制.
(目前就只有類mt4的淨值圖,跟顯示每一筆單的資訊)
3.開發新EA時,用Delphi環境,比較容易除錯.
測試時,EA要先用Delphi寫一份.
因會是編譯成組合語言的執行檔,又可以根據該EA策略作最佳化,
所以速度當然可以很快.
打算等測到有滿意結果,在把參數拿到mt4的EA用.
看看這裡有無這方面同好,想合作開發 新EA,或舊EA改版.
來信時,如方便請自我介紹專長,學經歷,或blog.
原則上是希望雙方能互補專長尤佳,比方,有外匯經驗,統計分析,..的學/經歷.
開發出的EA則雙方都可以使用.
目前狀況:這支程式斷斷續續開發,也有一段時間了,
目前還已經做到
1.可以看檢視歷史單,點選該單後,會出現該單與當時的圖形.
2.輸出類似mt4的淨值變化圖.
--
Forex Int Andrew Chen
N年程式經驗,正在開發: 外匯交易的回測器.
部落格 http://forexchen.wordpress.com 我開發的軟體,Delphi,外匯,..
Plurk http://www.plurk.com/ForexChen 瑣事,外匯閒語,..
--
Tags:
財經
All Comments

By Ina
at 2011-03-06T20:55
at 2011-03-06T20:55

By Ethan
at 2011-03-11T14:05
at 2011-03-11T14:05

By Ingrid
at 2011-03-12T23:30
at 2011-03-12T23:30

By Dorothy
at 2011-03-16T23:08
at 2011-03-16T23:08

By Heather
at 2011-03-17T03:44
at 2011-03-17T03:44

By John
at 2011-03-19T09:50
at 2011-03-19T09:50

By John
at 2011-03-21T22:52
at 2011-03-21T22:52

By Candice
at 2011-03-26T19:13
at 2011-03-26T19:13

By Mia
at 2011-03-29T21:44
at 2011-03-29T21:44

By Blanche
at 2011-04-01T22:45
at 2011-04-01T22:45

By Jessica
at 2011-04-05T08:56
at 2011-04-05T08:56

By Caroline
at 2011-04-07T12:25
at 2011-04-07T12:25

By Thomas
at 2011-04-08T17:10
at 2011-04-08T17:10

By Dinah
at 2011-04-11T20:39
at 2011-04-11T20:39

By Caroline
at 2011-04-12T02:55
at 2011-04-12T02:55

By Suhail Hany
at 2011-04-15T12:46
at 2011-04-15T12:46

By Zanna
at 2011-04-16T01:55
at 2011-04-16T01:55

By George
at 2011-04-18T22:59
at 2011-04-18T22:59

By Anonymous
at 2011-04-19T12:31
at 2011-04-19T12:31

By Erin
at 2011-04-19T22:54
at 2011-04-19T22:54

By Blanche
at 2011-04-20T08:27
at 2011-04-20T08:27

By Anonymous
at 2011-04-25T01:19
at 2011-04-25T01:19

By Carol
at 2011-04-26T09:36
at 2011-04-26T09:36

By Charlotte
at 2011-04-30T20:44
at 2011-04-30T20:44

By Zenobia
at 2011-05-05T14:09
at 2011-05-05T14:09

By Damian
at 2011-05-09T08:19
at 2011-05-09T08:19

By Lauren
at 2011-05-10T22:21
at 2011-05-10T22:21

By Daph Bay
at 2011-05-14T19:41
at 2011-05-14T19:41

By Andy
at 2011-05-18T13:24
at 2011-05-18T13:24

By Edward Lewis
at 2011-05-22T07:47
at 2011-05-22T07:47

By Puput
at 2011-05-24T05:17
at 2011-05-24T05:17

By Queena
at 2011-05-28T16:45
at 2011-05-28T16:45

By Rosalind
at 2011-06-01T12:22
at 2011-06-01T12:22

By Belly
at 2011-06-04T09:02
at 2011-06-04T09:02

By Delia
at 2011-06-04T20:31
at 2011-06-04T20:31

By Una
at 2011-06-08T12:07
at 2011-06-08T12:07

By Victoria
at 2011-06-10T22:18
at 2011-06-10T22:18

By Edward Lewis
at 2011-06-14T23:04
at 2011-06-14T23:04

By Emily
at 2011-06-18T10:38
at 2011-06-18T10:38

By Todd Johnson
at 2011-06-22T02:28
at 2011-06-22T02:28

By John
at 2011-06-23T10:00
at 2011-06-23T10:00

By Annie
at 2011-06-25T05:27
at 2011-06-25T05:27

By Ingrid
at 2011-06-29T14:52
at 2011-06-29T14:52

By John
at 2011-07-03T03:48
at 2011-07-03T03:48

By Una
at 2011-07-05T20:41
at 2011-07-05T20:41

By Gary
at 2011-07-09T08:01
at 2011-07-09T08:01
Related Posts
台指期操作系統筆記3/3

By Frederica
at 2011-03-04T00:08
at 2011-03-04T00:08
hts成交回報

By Rae
at 2011-03-02T21:48
at 2011-03-02T21:48
有人玩外匯保證金使用EA自動24小時跑有盈利的嗎?

By Kyle
at 2011-03-02T21:06
at 2011-03-02T21:06
請問程式交易回測時的交易成本大家都設多少

By Skylar Davis
at 2011-03-02T16:19
at 2011-03-02T16:19
台指期操作系統筆記3/1

By Sarah
at 2011-03-01T22:53
at 2011-03-01T22:53