You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account

HistoricalDataRequest

class
Provides the ability to create historical data request.

Properties

DataType DataType Defines the data type in created historical data request.
Extension double Defines Extension, % only for Renko Advanced mode
HistoryMode BarsAggregations Defines special style of building history. Use only for Renko and PnF.
HistorySize int Defines special parameter for historical type.
HistoryType HistoryType Defines the history building type in created historical data request.
Instrument Instrument Defines the Instrument in created historical data request.
Inversion double Defines Inversion, % only for Renko Advanced mode
Period int Defines the period of historical elements.
Reversal int The amount of price movement required to shift a chart to the right. This condition is used on charts that only take into consideration price movement instead of both price and time

Constructors

HistoricalDataRequest () Constructor for historical data request with default parameters.
HistoricalDataRequest (Instrument instrument, int period) Constructor for historical data request with instrument and period input parameters.
HistoricalDataRequest (Instrument instrument, int period, DataType dataType) Constructor for historical data request with instrument, period and dataType input parameters.
HistoricalDataRequest (Instrument instrument, int period, DataType dataType, HistoryType historyType, int historySize, int reversal, BarsAggregations mode) Constructor for historical data request with all input parameters.
HistoricalDataRequest (Instrument instrument, int period, DataType dataType, HistoryType historyType, int historySize, int reversal, BarsAggregations mode, double extension, double inversion) Constructor for historical data request with all possible input parameters, including special params for Renko Advanced mode.
HistoricalDataRequest (HistoricalDataRequest source) Creates a historical data request for history requested before.
HistoricalDataRequest (HistoricalData source) Creates a historical data request for history from HistoricalData object.

Methods

Clone () Return: object Creates a new request that is a copy of the current request.
GetKagiRequest (Instrument instrument, int period, DataType dataType, int reversal) Return: HistoricalDataRequest Create request to Kagi history type.
GetLineBreakRequest (Instrument instrument, int period, DataType dataType, int lineBreaks) Return: HistoricalDataRequest Create request to Line Break history type.
GetPnFRequest (Instrument instrument, int period, DataType dataType, int size, int reversal, BarsAggregations style) Return: HistoricalDataRequest Create request to PnF history type.
GetPriceRangeRequest (Instrument instrument, DataType dataType, int value) Return: HistoricalDataRequest Create request to Price Range history type.
GetRenkoRequest (Instrument instrument, int period, DataType dataType, int brickSize, BarsAggregations style) Return: HistoricalDataRequest Create request to Renko history type.
GetTickAggregationRequest (Instrument instrument, DataType dataType, int ticCount) Return: HistoricalDataRequest Create request to Tick history type. Data can be aggregated for specified number of ticks.
PTMC 是一個專業的交易平台,結合了強大的圖表和分析工具,並可在不同的金融市場進行交易。 它是由 PFSOFT UK LTD 開發的,該公司是全球銀行和經紀商交易技術提供商
© 2024. PTMC 為基於 Protrader 技術的專業交易平台
地址
臺北市大安區羅斯福路3段273號5樓
聯絡我們
電話: +886-2-2367-8583
E-mail: service@kcdatanet.com
社群
© 2024. PTMC 為基於 Protrader 技術的專業交易平台