C# 클래스 Krs.Ats.IBNet.Contract

파일 보기 프로젝트 열기: qusma/ib-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Contract() 공개 메소드

Undefined Contract Constructor
public Contract ( ) : System
리턴 System

Contract() 공개 메소드

Get a Contract by its unique contractId
public Contract ( int contractId ) : System
contractId int
리턴 System

Contract() 공개 메소드

Default 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

Contract() 공개 메소드

Indice Contract Constructor
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

Contract() 공개 메소드

Futures Contract Constructor
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