public method IPriceHistoryManager.getPrices

Brief

Gets history prices

Declaration

protojavascriptjavacsharp
public getPrices(instrument : string, timeframe : Timeframe, from : datetime, to : datetime, quotesCount : int, callback : IPriceHistoryManagerCallback) : string

Parameters
instrument

The instrument required

timeframe

The time frame required

from

The from datetime

to

The to datetime

quotesCount

The maximum number of bars in history

callback

The callback class instance

Returns

The method returns identity of the 'get prices' command or NIL in case of error

Details

See also: Timeframe, IPriceHistoryManagerCallback

Declared in IPriceHistoryManager

back