public method IPriceHistoryManager.getPricesGets history prices
Declaration
protojavascriptjavacsharppublic 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
See also: Timeframe, IPriceHistoryManagerCallback
Declared in IPriceHistoryManager