自動構建投資組合的autoit代碼 [開拓者 TB]
- 咨詢內容:
dim $system="st"
dim $length=10
dim $sleeptime=500;
dim $instruments[$length]=["if","ru","cu","rb","au","ag","j","y","sr","ta"]
dim $contracts[$length]=["if888","ru888","cu888","rb888","au888","ag888","j9888","y9888","sr888","ta888"]
winactivate("交易開拓者平臺(旗艦版)")
for $i=0 to $length-1
send("^n")
winwait("新建")
send("{end}")
send("{enter}")
winwait("交易開拓者平臺(旗艦版) - [")
send($contracts[$i])
winwait("我的鍵盤")
send("{enter}")
WinWait("我的鍵盤")
send($system)
send("{enter}")
send("^s")
winwait("Save As")
sleep($sleeptime)
send($instruments[$i]&"_"&$system)
send("!s")
sleep($sleeptime)
if winexists("Confirm Save As") then
send("!y")
endif
next
- TB技術人員: 有什么用?怎么用?
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容