C# Класс XTAPI_Samples.frmPriceUpdateMultiple

PriceUpdateMultiple This example demonstrates using the XTAPI to retrieve market data from multiple instruments. The TTDropHandler object is used to resolve instrument(s) dragged and dropped from the X_TRADER Market Grid. The TTInstrObj Alias property is used to distiguish between each instrument.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

Открытые методы

Метод Описание
frmPriceUpdateMultiple ( ) : System

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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
AboutMenuItem_Click ( object sender, System e ) : void

Display the About dialog box.

DisplayInstrumentInformation ( XTAPI pInstr ) : void

Display the information from the instrument object(s) to the GUI. Note: The TTInstrObj Alias property set in the m_TTDropHandler.OnNotifyDrop() is used to determine the instrument invoking the update.

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 instrument(s) 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_OnNotifyUpdate ( XTAPI pNotify, XTAPI pInstr ) : void

This function is called when an instrument update occurs (i.e. LTP changes).

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

frmPriceUpdateMultiple() публичный Метод

Upon the application form loading, the TTDropHandler and TTInstrNotify objects are initialized, and the required events are subscribed.
public frmPriceUpdateMultiple ( ) : System
Результат System