Yahoo
get data as Dataframe from yahoo
Yahoo Finance - Stock Market Live, Quotes, Business & Finance News
YahooFinance
Website

Stock

Get stock data

Basic

1
naas_drivers.yahoofinance.get("TSLA")
Copied!

Date

1
date_from = -30 # Date can be number or date or today
2
date_to = "today"
3
naas_drivers.yahoofinance.get("TSLA", date_from=date_from, date_to=date_to)
Copied!

Interval

1
naas_drivers.yahoofinance.get("TSLA", interval="1d")
Copied!

Moving average

1
ma = [20, 50] # max two value
2
naas_drivers.yahoofinance.get("TSLA", moving_averages=ma)
Copied!

Official documentation

YH Finance
RapidAPI