Yahoo Finance API Ticker: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
'PCX' | 'PCX' | ||
==Pricing Data== | ==Pricing Data== | ||
===<tt>open</tt>=== | |||
===<tt>dayLow</tt>=== | |||
===<tt>dayHigh</tt>=== | |||
===<tt>previousClose</tt>=== | |||
===<tt>navPrice</tt>=== | |||
===Pricing Stats=== | |||
====<tt>fiftyDayAverage</tt>==== | |||
====<tt>twoHundredDayAverage</tt>==== | |||
====<tt>fiftyTwoWeekLow</tt>==== | |||
====<tt>fiftyTwoWeekHigh</tt>==== | |||
====<tt>ytdReturn</tt>==== | |||
==Time Data== | |||
===<tt></tt>=== | |||
'longBusinessSummary', 'maxAge', 'priceHint', | 'longBusinessSummary', 'maxAge', 'priceHint', | ||
'regularMarketPreviousClose', 'regularMarketOpen', 'regularMarketDayLow', 'regularMarketDayHigh', 'trailingPE', 'volume', 'regularMarketVolume', 'averageVolume', 'averageVolume10days', 'averageDailyVolume10Day', 'bid', 'ask', 'bidSize', | 'regularMarketPreviousClose', 'regularMarketOpen', 'regularMarketDayLow', 'regularMarketDayHigh', 'trailingPE', 'volume', 'regularMarketVolume', 'averageVolume', 'averageVolume10days', 'averageDailyVolume10Day', 'bid', 'ask', 'bidSize', | ||
'askSize', 'yield', 'totalAssets', ' | 'askSize', 'yield', 'totalAssets', '', '', '', 'currency', 'category', '', 'beta3Year', 'fundFamily', 'fundInceptionDate', 'legalType', 'threeYearAverageReturn', | ||
'fiveYearAverageReturn', | 'fiveYearAverageReturn', | ||
'quoteType', 'symbol', 'underlyingSymbol', 'shortName', 'longName', 'firstTradeDateEpochUtc', 'timeZoneFullName', 'timeZoneShortName', 'uuid', 'messageBoardId', 'gmtOffSetMilliseconds', 'trailingPegRatio']) | |||
Revision as of 06:18, 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'
Pricing Data
open
dayLow
dayHigh
previousClose
Pricing Stats
fiftyDayAverage
twoHundredDayAverage
fiftyTwoWeekLow
fiftyTwoWeekHigh
ytdReturn
Time Data
'longBusinessSummary', 'maxAge', 'priceHint', 'regularMarketPreviousClose', 'regularMarketOpen', 'regularMarketDayLow', 'regularMarketDayHigh', 'trailingPE', 'volume', 'regularMarketVolume', 'averageVolume', 'averageVolume10days', 'averageDailyVolume10Day', 'bid', 'ask', 'bidSize', 'askSize', 'yield', 'totalAssets', , , , 'currency', 'category', , 'beta3Year', 'fundFamily', 'fundInceptionDate', 'legalType', 'threeYearAverageReturn', 'fiveYearAverageReturn', 'quoteType', 'symbol', 'underlyingSymbol', 'shortName', 'longName', 'firstTradeDateEpochUtc', 'timeZoneFullName', 'timeZoneShortName', 'uuid', 'messageBoardId', 'gmtOffSetMilliseconds', 'trailingPegRatio'])