Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

history

(Not recommended) eSignal historical data

history has been removed.

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

| | |

Was this topic helpful?