C# Класс XTAPI_Samples.frmPriceUpdateManual

PriceUpdateManual This example demonstrates using the XTAPI to retrieve market data from a single instrument by manually specifying the contract parameters.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

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

Upon the application form loading, the TTInstrNotify object is 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.

InitializeComponent ( ) : void

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

Main ( ) : void
connectButton_Click ( object sender, System e ) : void

Connect to the instruments

m_TTInstrNotify_OnNotifyFound ( XTAPI pNotify, XTAPI pInstr ) : void

This function is called when an instrument is located after calling m_TTInstrObj.Open()

m_TTInstrNotify_OnNotifyNotFound ( XTAPI pNotify, XTAPI pInstr ) : void

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

m_TTInstrNotify_OnNotifyUpdate ( XTAPI pNotify, XTAPI pInstr ) : void

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

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

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

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

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

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