Skip to main content

load

Load stock ticker to perform analysis on. When the data source is yf, an Indian ticker can be loaded by using '.NS' at the end, e.g. 'SBIN.NS'. See available market in https://help.yahoo.com/kb/exchanges-data-providers-yahoo-finance-sln2310.html.

Usage

load [-t TICKER] [-s START] [-e END] [-i {1,5,15,30,60}] [-p] [-f FILEPATH] [-m] [-w] [--performance] [--india]

Parameters

NameParameterDescriptionDefaultOptionalChoices
ticker-t --tickerStock tickerNoneTrueNone
start-s --startThe starting date (format YYYY-MM-DD) of the stock2021-03-12TrueNone
end-e --endThe ending date (format YYYY-MM-DD) of the stock2024-03-16TrueNone
interval-i --intervalIntraday stock minutes1440True1, 5, 15, 30, 60
prepost-p --prepostPre/After market hours. Only reflected in 'YahooFinance' intraday data.FalseTrueNone
filepath-f --filePath to load custom file.NoneTrueNone
monthly-m --monthlyLoad monthly dataFalseTrueNone
weekly-w --weeklyLoad weekly dataFalseTrueNone
performance--performanceShow performance information.FalseTrueNone
india--indiaOnly works for yf source, when the ticker has .NS suffix as part of it.FalseTrueNone

On this page