C# Класс XTAPI_Samples.frmPriceUpdateDragDrop

PriceUpdateDragDrop This example demonstrates using the XTAPI to retrieve market data from a single instrument, and provides support for filtering market data updates. The TTDropHandler object is used to resolve an instrument dragged and dropped from the X_TRADER Market Grid.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

Метод Описание
frmPriceUpdateDragDrop ( ) : 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.

BidPriceCheckBox_CheckedChanged ( object sender, System e ) : void

Called when the Bid Price check box state changes.

InitializeComponent ( ) : void

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

InstrumentFilter ( ) : void

This function handles the TTInstrNotify filtering. Once set, the TTInstrNotifyObj will then only send updates when a value given to the UpdateFilter property has been changed.

LastPriceCheckBox_CheckedChanged ( object sender, System e ) : void

Called when the Last Price check box state changes.

Main ( ) : void
m_TTDropHandler_OnNotifyDrop ( ) : void

This function is called when an instrument is 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 located after calling m_TTInstrObj.Open()

m_TTInstrNotify_OnNotifyUpdate ( XTAPI pNotify, XTAPI pInstr ) : void

This function is called when an instrument update occurs (i.e. last traded price changes).

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

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

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

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

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