C# Class XTAPI_Samples.frmTimeAndSales

TimeAndSales This example demonstrates using the XTAPI to retrieve time & sales data from a single instrument. The TTDropHandler object is used to resolve an instrument dragged and dropped from the X_TRADER Market Grid.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: tradingtechnologies/CodeSamples_XTAPI_CSharp

Méthodes publiques

Méthode Description
frmTimeAndSales ( ) : System

Upon the application form loading, the TTDropHandler and TTInstrNotify objects are initialized, and the required events are subscribed.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AboutMenuItem_Click ( object sender, System e ) : void

Display the About dialog box.

InitializeComponent ( ) : void

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

Main ( ) : void
m_TTDropHandler_OnNotifyDrop ( ) : void

This function is called when one or more instruments are dragged and dropped from the Market Grid in X_TRADER.

m_TTInstrNotify_OnNotifyFound ( XTAPI pNotify, XTAPI pInstr ) : void

This function is called when an instrument is found after it is opened.

m_TTInstrNotify_OnPriceListUpdate ( XTAPI pNotify ) : void

This function is called when a trade data update occurs. This will only fired when DeliverAllPriceUpdates is enabled.

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

frmTimeAndSales() public méthode

Upon the application form loading, the TTDropHandler and TTInstrNotify objects are initialized, and the required events are subscribed.
public frmTimeAndSales ( ) : System
Résultat System