Download Datafeed Toolbox User`s Guide
Transcript
5
Functions — Alphabetical List
history
eSignal historical data
Syntax
D = history(E,S,F,{startdate,enddate},per)
Description
D = history(E,S,F,{startdate,enddate},per) returns the historical data for
the given inputs. Input arguments include the security list S, the fields F, the dates
startdate and enddate, and the periodicity per. Valid fields are Time, Open, High,
Low, Close, Volume, OI, Flags, TickBid, TickAsk, and TickTrade. The input
argument per is optional and specifies the period of the data. Possible values for per are
'D' (daily, the default), 'W' (weekly), and 'M' (monthly).
Examples
Return the closing price for the given dates for the given security using the default period
of the data:
D = history(E,'ABC','CLOSE',{'8/01/2009','8/10/2009'})
Return the monthly closing and high prices for the given dates for the given security:
D = history(E,'ABC',{'close','high'},{'6/01/2009','11/10/2009'},'M')
Return all fields for the given dates for the given security using the default period of
the data. The fields are returned in the following order: Time, Open, High, Low, Close,
Volume, OI, Flags, TickBid, TickAsk, TickTrade.
D = history(E,'ABC',[],{'8/01/2009','8/10/2009'})
See Also
esig | close | timeseries | getdata
5-148