Skip to Main Content Skip to Search
Product Documentation

esig.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 | esig.close | esig.getdata | esig.timeseries

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS