C# 클래스 XTAPI_Samples.frmServerMode

ServerMode This example demonstrates using the XTAPI in Server Mode to monitor order actions. Settings EnableServerMode also requires the application to authenticate using SetUniversalLogin. Note: Server Mode allows XTAPI applications to run independent of X_TRADER. Since X_TRADER is not required, a Server Mode XTAPI application will consume it's own X_TRADER Pro license, and orders cannot be placed or modified.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: tradingtechnologies/CodeSamples_XTAPI_CSharp

공개 메소드들

메소드 설명
frmServerMode ( ) : System

Upon the application form loading, setup the TTGate and TTOrderSet objects.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AboutMenuItem_Click ( object sender, System e ) : void

This function displays the About dialog box.

ConnectButton_Click ( object sender, System e ) : void

Retrieve the login information and connect

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( ) : void
PublishEventOrderData ( string callingMethod, XTAPI pNewOrderObj, XTAPI pOldOrderObj ) : void

Publish specific information about each order to the GUI

m_TTOrderSet_OnOrderDeleted ( XTAPI pNewOrderObj, XTAPI pOldOrderObj, string sSiteOrderKey, XTAPI eOrderState, XTAPI eOrderAction, int delQty ) : void

Triggered when orders are taken out of the market.

m_TTOrderSet_OnOrderFilled ( XTAPI pNewOrderObj, XTAPI pOldOrderObj, string sSiteOrderKey, XTAPI eOrderState, int fillQty ) : void

Triggered when an order is filled

m_TTOrderSet_OnOrderSubmitted ( XTAPI pNewOrderObj, XTAPI pOldOrderObj, string sSiteOrderKey, XTAPI eOrderAction, int wrkQty, string sOrderType, string sOrderTraits ) : void

Triggered when a new order is submitted to the exchange or a held order is resubmitted.

m_TTOrderSet_OnOrderUpdated ( XTAPI pNewOrderObj, XTAPI pOldOrderObj, string sSiteOrderKey, XTAPI eOrderState, XTAPI eOrderAction, int updQty, string sOrderType, string sOrderTraits ) : void

Triggered when there is a change in the existing orders state.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

frmServerMode() 공개 메소드

Upon the application form loading, setup the TTGate and TTOrderSet objects.
public frmServerMode ( ) : System
리턴 System