Skip to content

cychoi/OptionsBot

Repository files navigation

OptionsBot - 台指選擇權自動交易機器人

作者:Philipz([email protected])
網站:http://www.tradingbot.com.tw/
Facebook粉絲團:http://www.facebook.com/tradingbot
Blog:http://server.everfine.com.tw/blog/
軟體授權:Apache License, Version 2.0,請見license.txt

1.使用必要條件
 a.需有群益帳戶
 b.有開通報價API,並下載那API相關DLL檔
 c.利用那 API.xls 去接收報價,並透過 OSWINSCK.dll 以TCP Socket傳送。

2.使用方法
 a.主要接受TCP Socket程式為SocketServer.java。
 b.策略邏輯為NewDdeClient.java。
 c.目前設定需配合Dropbox使用,亦可自行修改不使用。
 d.GetWednesday.java是檢查每個月台指期和摩台期結算日。
 e.GetOpPrice.java是利用DDE取得選擇權報價。
 f.請自行設定排程時間,於每日早上八點四十五分之前執行。

3.下單機
 a.建議使用下單大師,http://moneyprinter.pixnet.net/blog
 b.或者,請參閱程式交易經驗分享系列(4) - 下單機設定及系列回顧

歡迎大家加入討論程式交易,TradingBot 粉絲團Coco-in討論區 - TradingBot程式交易機器人
若需要支援服務,還請小額贊助,支持永續發展此TradingBot。感謝!
聯絡資訊:[email protected]

About

台指選擇權自動交易機器人

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published