This event sends the contract description of the open order.
This event has been deprecated as of API release 9,4 (December 2007) and will soon be removed. Please update your software to use the “Ex” counterparts to these deprecated events.
Sub openOrder1(ByVal id As Integer, ByVal symbol As String, ByVal secType As String, ByVal expiry As String, ByVal strike As Double, ByVal right As String, ByVal exchange As String, ByVal curency As String, ByVal localSymbol As String)
|
Parameter |
Description |
|
id |
The assigned order id. Use this id to cancel or modify the order. |
|
symbol |
The underlying symbol. |
|
secType |
The security type. Valid values are: · STK · OPT · FUT · IND · FOP · CASH |
|
expiry |
The expiration date. Use the format YYYYMM. |
|
strike |
The strike price. |
|
right |
Specifies a Put or Call. Valid values are: P, PUT, C, CALL. |
|
exchange |
The order destination, such as Smart. |
|
currency |
Specifies the currency. This field is only required when the secType = CASH. Otherwise it is ignored. |
|
local symbol |
The local exchange symbol for the underlying asset. |