Yahoo Finance API Ticker: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 27: | Line 27: | ||
'ETF' | 'ETF' | ||
==Pricing Data== | ==Pricing Data== | ||
===<tt>currentPrice</tt>, <tt>regularMarketPrice</tt>=== | |||
<font color=darkkhaki>Did not show up when the market as closed.</font> | |||
===<tt>open</tt>, <tt>regularMarketOpen</tt>=== | ===<tt>open</tt>, <tt>regularMarketOpen</tt>=== | ||
===<tt>dayLow</tt>, <tt>regularMarketDayLow</tt>=== | ===<tt>dayLow</tt>, <tt>regularMarketDayLow</tt>=== |
Revision as of 07:00, 14 October 2023
Internal
Overview
Returns the current day data, but not the "close"
yf.Ticker('AAPL').history(period='1d')['Close'].iloc[0]
Keys
General
symbol, underlyingSymbol
'FCOM'
longName
'Fidelity MSCI Communication Services Index ETF'
shortName
31 characters?
exchange
'PCX'
category
The sector ('Communications')
currency
'USD'
quoteType
'ETF'
Pricing Data
currentPrice, regularMarketPrice
Did not show up when the market as closed.