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 is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers
© 2017. PTMC is based on Protrader technology
PFSOFT UK LTD
71-75, Shelton Street,
Covent Garden,
London, WC2H9SQ,
United Kingdom
Support & Development
PFSOFT Ukraine
Office #701
Mechnikova Street, 10B
49000, Dnipro, Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Find more ways to contact
Join us in social networks