本帖最後由 skyler 於 14-8-19 16:55 編輯
OK~ 我試試將那行改成
BuyOrderID = ibc.PlaceOrder( ContractMonth, "BUY", Shares, "LMT", LastValue(BuyPrice), 0, "DAY", True );
再觀察看是不是正常執行
不過能請教一下二者間的差異嗎?
-----
另外我剛也將Short 改過了
ShortOrderID = ibc.PlaceOrder( ContractMonth, "SELL", Shares, "LMT", LastValue(ShortPrice), 0, "DAY", True );
結果有筆剛好有訊號發出
但我不太懂
為何Lmt Price 是 1051
但 Trade Price 是 1111
------
另外附上 IB Controller 的圖示
紅框中的三個數字不太知道他的意義?
感謝!
|