![]() |
|
|
This documentation is now deprecated. Please switch to the IBKR Campus for up-to-date information regarding IBKR's API solutions. |
The Trigger Method defined in the IBApi.Order class specifies how simulated stop, stop-limit, and trailling stops, and conditional orders are triggered. Valid values are:
Below is a table which indicates whether a given secType is compatible with bid/ask-driven or last-driven trigger methods (method 7 only used in iBot alerts)
| secType | Bid/Ask-driven (1, 4, 8) | Last-driven (2, 3) | Default behavior | Notes |
|---|---|---|---|---|
| STK | yes | yes | Last | The double bid/ask is used for OTC stocks |
| CFD | yes | yes | Last | |
| CFD - Index | yes | n/a | n/a | Ex IBUS500 |
| OPT | yes | yes | US OPT: Double bid/ask, Other: Last | |
| FOP | yes | yes | Last | |
| WAR | yes | yes | Last | |
| IOPT | yes | yes | Last | |
| FUT | yes | yes | Last | |
| COMBO | yes | yes | Last | |
| CASH | yes | n/a | Bid/ask | |
| CMDTY | yes | n/a | Last | |
| IND | n/a | yes | n/a | For conditions only |
Important notes :