COCO研究院

 找回密碼
 註冊
搜索
查看: 4892|回復: 12

關於amibroker 自動盤的問題

[複製鏈接]
發表於 13-1-27 00:35 | 顯示全部樓層 |閱讀模式
各位大大好, 我想請問關於 ambroker 的自動下盤方法, 或流程, 因為我對這方面是完全不認識的, 請大家多多指教, 謝謝各位!!
我想像的流程:
1. Amibroker AFL 的程序 觸發 買入/賣出訊號
2. 訊號傳送到 Text File (不知是不是這樣)
3. 某軟件API 讀入Text File 資料, 並在SPTrader 下單, 買入或賣出 (不知是不是這樣)




發表於 13-1-27 10:22 | 顯示全部樓層
AFL 裡寫輸出的語法 buy/short
寫成一個 txt 檔 ex. 倉位為多單 1 空單為 -1
某軟件重複讀取這個 txt 檔
當 1變-1 或 -1變1 時,透過券商下單API去下單




這就是流程了 XD
 樓主| 發表於 13-1-27 10:35 | 顯示全部樓層
多謝大大的分享, 我現在研究amibroker是不是一個好用的Auto Trade 平台, 我爬文後發現有多個選擇:
1. OpenQuant
2. MT4
3. Amibroker

如果amibroker用讀取text file方法, 我怕有延遲現象
發表於 13-1-27 20:18 | 顯示全部樓層
極短線  就用有資訊源 直接下單的  軟体吧
MC

如果是日內波段的  或波段的就不用擔心這個問題了
發表於 13-1-28 04:45 | 顯示全部樓層
If you autotrade with AB to Interactive Brokers there is not text file needed at all.

In regards to MC .. MC can not trade portfolios. Amibroker allows portfolio trading.  So one more reason why MC is (overpriced) junk.
發表於 13-1-28 04:49 | 顯示全部樓層
Of course it's possible to send order's from Amibroker to e.g. Metatrader by file.
I have done that for an Amibroker chart-trading trading plugin and delays are no issue. The orders immediately arrive at Metatrader.
 樓主| 發表於 13-1-28 11:46 | 顯示全部樓層
啊......謝謝大家意見, 那即是我可以專注用amibroker就可以
發表於 13-1-28 12:25 | 顯示全部樓層
joshsmi 發表於 13-1-28 04:45
If you autotrade with AB to Interactive Brokers there is not text file needed at all.

In regards to ...

hey bro.
would you mind showing some examples~

it'll be good XD  thx~~

發表於 13-1-28 20:46 | 顯示全部樓層
kilroy 發表於 13-1-28 12:25
hey bro.
would you mind showing some examples~

參考 http://www.amibroker.com/devlog/ ... ler-1-3-6-released/

發表於 13-1-28 20:48 | 顯示全部樓層
因為我沒有IB帳號 還請K大測試後分享給大家
發表於 13-1-29 00:39 | 顯示全部樓層
moneymaker 發表於 13-1-28 20:48
因為我沒有IB帳號 還請K大測試後分享給大家

小弟知道這個 XD
只是好奇還有沒有其他方法

---如果沒有IB帳戶,想要試試看的大大,有一個方法

安裝好 IB 的 TWS 之後

用 edemo 登入
再用 IB controller 來玩玩看嚕~


IB controller 的完整說明


http://www.amibroker.com/at/


 樓主| 發表於 13-1-29 17:20 | 顯示全部樓層
我有IB demo account, 等我試後告訴你們結果!! 謝謝各位大大!!
發表於 13-2-19 19:36 | 顯示全部樓層
Here is a visual example of a chart trading plug-in to trade stocks, futures, forex with Interactive Brokers, Metatrader 4, ...

Part 1 Buttons http://www.youtube.com/watch?v=Xy62WSb89kU&hd=1
Part 2 Settings http://www.youtube.com/watch?v=Lu7U5kO6whk&hd=1
Part 3 Sending orders http://www.youtube.com/watch?v=Yjq-hmngz7E&hd=1

So discretionary trading to any API is possible also.
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-5-17 13:11

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 | AI繪圖AI超擬真美女AI beauty AI Stable DiffusionAI正妹AI Lookbook