Yahoo Finance API Ticker: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:


=Keys=
=Keys=
==<tt>symbol</tt>==
'FCOM'
==<tt>exchange</tt>==
'PCX'

Revision as of 06:07, 14 October 2023

Internal

Overview

Returns the current day data, but not the "close"

yf.Ticker('AAPL').history(period='1d')['Close'].iloc[0]

Keys

symbol

'FCOM'

exchange

'PCX'