Yahoo Finance API Ticker: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
Returns the current day data, but not the "close" | |||
<syntaxhighlight lang='py'> | <syntaxhighlight lang='py'> |
Revision as of 06:05, 14 October 2023
Internal
Overview
Returns the current day data, but not the "close"
yf.Ticker('AAPL').history(period='1d')['Close'].iloc[0]