Load ETF Data

perfana.datasets.base.load_etf(*, date_as_index=True, download=False)[source]

Dataset contains prices of 4 ETF ranging from 2001-06-15 to 2019-03-01.

Parameters
  • date_as_index (bool) – If True, sets the first column as the index of the DataFrame

  • download (bool) – If True, forces the data to be downloaded again from the repository. Otherwise, loads the data from the stash folder

Returns

A data frame containing the prices of 4 ETF

Return type

DataFrame