메소드 | 설명 | |
---|---|---|
Contract ( ) : System |
Undefined Contract Constructor
|
|
Contract ( int contractId ) : System |
Get a Contract by its unique contractId
|
|
Contract ( int contractId, String symbol, SecurityType securityType, String expiry, double strike, RightType right, String multiplier, string exchange, string currency, string localSymbol, string primaryExchange, SecurityIdType secIdType, string secId ) : System |
Default Contract Constructor
|
|
Contract ( string symbol, string exchange, SecurityType securityType, string currency ) : System |
Indice Contract Constructor
|
|
Contract ( string symbol, string exchange, SecurityType securityType, string currency, string expiry ) : System |
Futures Contract Constructor
|
public Contract ( int contractId, String symbol, SecurityType securityType, String expiry, double strike, RightType right, String multiplier, string exchange, string currency, string localSymbol, string primaryExchange, SecurityIdType secIdType, string secId ) : System | ||
contractId | int | The unique contract identifier. |
symbol | String | This is the symbol of the underlying asset. |
securityType | SecurityType | This is the security type. |
expiry | String | The expiration date. Use the format YYYYMM. |
strike | double | The strike price. |
right | RightType | Specifies a Put or Call. |
multiplier | String | Allows you to specify a future or option contract multiplier. /// This is only necessary when multiple possibilities exist. |
exchange | string | The order destination, such as Smart. |
currency | string | Specifies the currency. |
localSymbol | string | This is the local exchange symbol of the underlying asset. |
primaryExchange | string | Identifies the listing exchange for the contract (do not list SMART). |
secIdType | SecurityIdType | Security identifier, when querying contract details or when placing orders. |
secId | string | Unique identifier for the secIdType. |
리턴 | System |
public Contract ( string symbol, string exchange, SecurityType securityType, string currency ) : System | ||
symbol | string | This is the symbol of the underlying asset. |
exchange | string | The order destination, such as Smart. |
securityType | SecurityType | This is the security type. |
currency | string | Specifies the currency. |
리턴 | System |
public Contract ( string symbol, string exchange, SecurityType securityType, string currency, string expiry ) : System | ||
symbol | string | This is the symbol of the underlying asset. |
exchange | string | The order destination, such as Smart. |
securityType | SecurityType | This is the security type. |
currency | string | Specifies the currency. |
expiry | string | The expiration date. Use the format YYYYMM. |
리턴 | System |