C# 클래스 XAPI.COM.XApiCom

상속: System.Windows.Forms.UserControl, IXApi, IObjectSafety
파일 보기 프로젝트 열기: QuantBox/XAPI2 1 사용 예제들

공개 메소드들

메소드 설명
CancelOrder ( string id ) : string
Connect ( ) : void
Disconnect ( ) : void
GCCollect ( ) : void

给COM使用,进行内存回收

GetInterfaceSafetyOptions ( System.Guid &riid, int &pdwSupportedOptions, int &pdwEnabledOptions ) : int
NewOrder ( ) : void
NewQuery ( ) : void
ReqQuery ( string type ) : void
SendOrder ( ) : string
SetInterfaceSafetyOptions ( Guid &riid, int dwOptionSetMask, int dwEnabledOptions ) : int
SetLibPath ( string LibPath ) : void
SetOrder ( string key, object value ) : void
SetQuery ( string key, object value ) : void
SetServerInfo ( string key, object value ) : void
SetUserInfo ( string key, object value ) : void
Subscribe ( string szInstrument, string szExchange ) : void
TryDequeue ( ) : QueueData
Unsubscribe ( string szInstrument, string szExchange ) : void
XApiCom ( ) : Ideafixxxer.Generics

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void
OnConnectionStatus_callback ( object sender, XAPI status, [ userLogin, int size1 ) : void
OnLog_callback ( object sender, [ log ) : void
OnRspQryInstrument_callback ( object sender, [ instrument, int size1, bool bIsLast ) : void
OnRspQryInvestorPosition_callback ( object sender, [ position, int size1, bool bIsLast ) : void
OnRspQryOrder_callback ( object sender, [ order, int size1, bool bIsLast ) : void
OnRspQrySettlementInfo_callback ( object sender, [ settlementInfo, int size1, bool bIsLast ) : void
OnRspQryTrade_callback ( object sender, [ trade, int size1, bool bIsLast ) : void
OnRspQryTradingAccount_callback ( object sender, [ account, int size1, bool bIsLast ) : void
OnRtnDepthMarketData_callback ( object sender, [ marketData ) : void
OnRtnError_callback ( object sender, [ error ) : void
OnRtnOrder_callback ( object sender, [ order ) : void
OnRtnTrade_callback ( object sender, [ trade ) : void
RegisterClass ( string key ) : void
UnregisterClass ( string key ) : void

메소드 상세

CancelOrder() 공개 메소드

public CancelOrder ( string id ) : string
id string
리턴 string

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GCCollect() 공개 메소드

给COM使用,进行内存回收
public GCCollect ( ) : void
리턴 void

GetInterfaceSafetyOptions() 공개 메소드

public GetInterfaceSafetyOptions ( System.Guid &riid, int &pdwSupportedOptions, int &pdwEnabledOptions ) : int
riid System.Guid
pdwSupportedOptions int
pdwEnabledOptions int
리턴 int

NewOrder() 공개 메소드

public NewOrder ( ) : void
리턴 void

NewQuery() 공개 메소드

public NewQuery ( ) : void
리턴 void

ReqQuery() 공개 메소드

public ReqQuery ( string type ) : void
type string
리턴 void

SendOrder() 공개 메소드

public SendOrder ( ) : string
리턴 string

SetInterfaceSafetyOptions() 공개 메소드

public SetInterfaceSafetyOptions ( Guid &riid, int dwOptionSetMask, int dwEnabledOptions ) : int
riid Guid
dwOptionSetMask int
dwEnabledOptions int
리턴 int

SetLibPath() 공개 메소드

public SetLibPath ( string LibPath ) : void
LibPath string
리턴 void

SetOrder() 공개 메소드

public SetOrder ( string key, object value ) : void
key string
value object
리턴 void

SetQuery() 공개 메소드

public SetQuery ( string key, object value ) : void
key string
value object
리턴 void

SetServerInfo() 공개 메소드

public SetServerInfo ( string key, object value ) : void
key string
value object
리턴 void

SetUserInfo() 공개 메소드

public SetUserInfo ( string key, object value ) : void
key string
value object
리턴 void

Subscribe() 공개 메소드

public Subscribe ( string szInstrument, string szExchange ) : void
szInstrument string
szExchange string
리턴 void

TryDequeue() 공개 메소드

public TryDequeue ( ) : QueueData
리턴 QueueData

Unsubscribe() 공개 메소드

public Unsubscribe ( string szInstrument, string szExchange ) : void
szInstrument string
szExchange string
리턴 void

XApiCom() 공개 메소드

public XApiCom ( ) : Ideafixxxer.Generics
리턴 Ideafixxxer.Generics