Skip to main content


Obtain any set of indices and plot them together. With the -si argument the major indices are shown. By using the arguments (for example 'nasdaq' and 'sp500') you can collect data and plot the graphs together. [Source: Yahoo finance / FinanceDatabase]


index [-i INDICES] [--show] [--interval {1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo}] [-s START_DATE] [-e END_DATE] [-c COLUMN] [-q QUERY [QUERY ...]] [-r]


indices-i --indicesOne or multiple indicesNoneTrueNone
show_indices--showShow the major indices, their arguments and tickerFalseTrueNone
interval--intervalThe preferred interval data is shown at. This can be 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo or 3mo1dTrue1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo
start_date-s --startThe start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31)2000-01-01TrueNone
end_date-e --endThe end date of the data (format: YEAR-MONTH-DAY, i.e. 2021-06-20)NoneTrueNone
column-c --columnThe column you wish to load in, by default this is the Adjusted Close columnAdj CloseTrueNone
query-q --querySearch for indices with given keywordNoneTrueNone
returns-r --returnsFlag to show compounded returns over interval.FalseTrueNone


2022 Mar 15, 07:29 (🦋) /economy/ $ index nasdaq,dowjones

index nasdaq dowjones

index vix