- Stay ahead of the market
- Yahoo Finance Plans
- Essential
- Take control of your portfolio
- Portfolio Analytics
- Research Reports
- Investment Ideas
- Enhanced Charting
- Company Outlook
- Community Insights
- Our trusted partners
- Subscriber perks
- Fewer ads on Yahoo
- 24/7 Tech Support
- Buy More. Save More.
- Frequently asked questions
- Yahoo Finance 4+
- Research, invest, trade stocks
- Yahoo
- Screenshots
- Description
- Все финансовые рынки мира в API Яху Финанс
- Взгляд на данные с позиции долгосрочного частного инвестора
- Название бумаги / Name
- Цена бумаги / Price
- Доход с начала года / YTD Daily Total Return
- Дивидендная доходность / Dividend Yield
- Дата предыдущего дивиденда / Dividend Date
- Значение предыдущего дивиденда / Next Dividend
- Годовая плата / Expense Ratio
- Категория акций / Sector и Industry
- Общие правила работы с API Яху Финанс
- Основные данные
- История цен, сплитов и дивидендов
- Пример кода на Node.js
- Пример кода на Python
Stay ahead of the market
Get advanced tools and insights to navigate the markets with Yahoo Finance Plus.
* To avoid being charged the recurring subscription fee, cancel before your free-trial period ends.
Yahoo Finance Plans
Choose the plan that suits you and get started today.
Essential
$35 monthly or $350 annually
Real-time news and stock quotes
Multiple linked brokers for portfolio tracking
Interactive charts for performance monitoring
Unlimited custom portfolios and watchlists
Daily trade ideas based on your interests
Fair value analysis for stocks
Advanced portfolio performance analysis tools
Yahoo Finance community insights
Monthly educational webinars with Q&A
Live chat support on desktop
Research reports from Morningstar & Argus §
Enhanced charting with auto pattern recognition
Unique company data
Market Digest newsletter
Historical financials & statistics with CSV export
Fewer ads on Yahoo
24/7 Tech Support ‡
Buy More. Save More. ✣
see more features
$25 monthly or $250 annually
Real-time news and stock quotes
Multiple linked brokers for portfolio tracking
Interactive charts for performance monitoring
Unlimited custom portfolios and watchlists
Daily trade ideas based on your interests
Fair value analysis for stocks
Advanced portfolio performance analysis tools
Yahoo Finance community insights
Monthly educational webinars with Q&A
Live chat support on desktop
Fewer ads on Yahoo
24/7 tech support ‡
Buy more. Save more. ✣
see more features
Real-time news and stock quotes
Multiple linked brokers for portfolio tracking
Interactive charts for performance monitoring
Unlimited custom portfolios and watchlists
see more features
*To avoid being charged the recurring subscription fee, cancel before the free-trial period ends.
§ Premium data coverage is limited to US equities.
‡ If your account was created through AT&T or Frontier, please contact your applicable Internet Service Provider for account-related support, including password resets and updating account information. View our help article for more information.
✣ Buy more and save more on eligible Yahoo Plus subscriptions — get 10%, 15% or 20% off your subscription fee. Terms apply
Take control of your portfolio
Exclusive insights, advanced analytics and detailed company profiles that help you take your portfolio to the next level.
Get access to exclusive data and insights about companies you care about.
Advanced tools and charts optimize your trading strategy.
Intuitive data visualizations give you an expert perspective.
Portfolio Analytics
Measure your investing performance against industry benchmarks and model portfolios by time frame. Evaluate sector and security-level contributions to return in list or heat map view. Monitor your portfolio’s characteristics, diversification and risk profile to identify concentrated positions and actively rebalance assets.
Research Reports
Unlock trusted independent research to help you invest with confidence. Read analyst assessments on hundreds of stocks, market and economic commentary, portfolio ideas and more. New reports are released daily and can be searched or filtered by date range, frequency, report type and sector.
Included with Essential plan only.
Investment Ideas
Discover new investment opportunities relevant to companies you follow. Explore top bullish or bearish trade ideas identified through technical and fundamental analysis, making them suitable for all investor types. Compare the current price to the price target for the relevant term. Featured ideas are updated daily.
Enhanced Charting
Technical and event analysis—simplified. You can instantly identify chart patterns and plot significant developments with the click of a button. Determine when to buy or sell with patented pattern recognition technology applied to a broad range of technical indicators. Find, validate and time trades with ease with our interactive charts.
Included with Essential plan only.
Company Outlook
Track how well a company is performing against its sector or market with exclusive alternative data sets. Intuitive visualizations help you examine key leading indicators of company or industry performance. Metrics include hiring, insider sentiment, earnings, supply chain, dividend yield and more.
Included with Essential plan only.
Community Insights
Make informed decisions based on real-time user activity within the community. See what tickers are trending overall and by sector each trading day. Track changes in community conversation with percent change and bullish/bearish indicators. See what tickers users are adding and deleting the most in their portfolios.
Our trusted partners
The reliable sources behind our premium data offerings.
Subscriber perks
With a Yahoo Finance Plus subscription, you’ll automatically qualify for Yahoo Plus perks including fewer ads, premium tech support and deep discounts.
Fewer ads on Yahoo
Enjoy fewer ads on your favorite Yahoo websites and apps with Ad-Lite.
24/7 Tech Support
Around-the-clock access to live support for general Yahoo account issues. ‡
Buy More. Save More.
Unlock extra savings when you buy more subscriptions. Get up to 20% off eligible Yahoo Plus products. ✣
‡ If your account was created through AT&T or Frontier, please contact your applicable Internet Service Provider for account-related support, including password resets and updating account information. View our help article for more information.
✣Buy more and save more on eligible Yahoo Plus subscriptions — get 10%, 15% or 20% off your subscription fee. Terms apply.
Frequently asked questions
Want to know more about Yahoo Finance Plus? We’ve provided answers to our most commonly asked questions below.
What is Yahoo Finance Plus?
Will I lose access to free content on Yahoo Finance if I don’t subscribe to Yahoo Finance Plus?
Can I access my Yahoo Finance Plus subscription from multiple devices?
Is Yahoo Finance Plus content personalized to my account?
How often is Yahoo Finance Plus data updated?
Will my Yahoo Ad-Lite experience remove all ads?
I currently subscribe to Yahoo Finance Premium. What happens to my subscription?
How do I manage my Yahoo Finance Plus subscription?
You can manage your subscription in the following ways, based on where you initially purchased.
Web:
Manage your subscription any time on the My Subscriptions page.
App Store:
Open your device’s Settings app. Tap on your Apple ID at the top of your screen, then Subscriptions.
Google Play:
Open the Play Store app on your device. Tap the Menu icon at the top left located in the Search bar, then Subscriptions.
Once you sign up for Yahoo Finance Plus, your original payment method will be automatically charged when it’s time to renew. Unsuccessful payments result in cancellation of the service.
If you no longer want to subscribe to Yahoo Finance Plus, be sure to cancel so you aren’t charged.
What’s included with the 24/7 general account support subscriber perk?
* If your account was created through AT&T or Frontier, please contact your applicable Internet Service Provider for account-related support, including password resets and updating account information. View our help article for more information.
System requirements:
Ad-Lite on Yahoo mobile apps require the latest version of the app installed on the device.
Источник
Yahoo Finance 4+
Research, invest, trade stocks
Yahoo
-
- #146 in Finance
-
- 4.7 • 449.5K Ratings
-
- Free
- Offers In-App Purchases
Screenshots
Description
Your #1 finance destination to track the markets and the economy.
Follow the stocks you care about most and get personalized news and alerts. Access real-time stock information and investment updates to stay on top of the market.
Favorite features:
• Track the performance of your personal portfolio
• Follow stocks to get real-time quotes and personalized news
• Discover detailed financial information such as historical financials, ESG ratings, and top holders
• Go beyond stocks and track currencies, bonds, commodities, equities, world indices, and futures
• Compare and evaluate stocks with interactive full screen charts
• Sign in to view and edit your web portfolio on the go
Helpful tips:
• Follow all the stocks you care about by searching for the ticker and tapping the star icon
• Create multiple watchlists to organize the stocks you follow
• Enable notifications for price alerts, breaking news, earnings reports, and more
• Sync your portfolios across devices
About Yahoo Finance Plus billing:
• Upgrade to Yahoo Finance Plus for exclusive tools that help you maximize your profits with confidence.
For Yahoo Finance Plus Lite: You can choose to be billed $24.99 monthly or $249.99 annually.
For Yahoo Finance Plus Essential: You can choose to be billed $34.99 monthly or $349.99 annually.
Payment will be charged to your iTunes account as soon as you confirm the purchase. Your subscription will automatically renew at the end of each billing period unless you cancel at least 24 hours before the end of the current period. You can cancel at any point in your App Store account settings.
Источник
Все финансовые рынки мира в API Яху Финанс
В этой статье я расскажу об API агрегатора финансовых данных Yahoo! Finance. В рассказе есть один нюанс — официальное API Яху Финанс было закрыто три года назад, однако практически сразу же появилась его недокументированная работоспособная версия, которая жива до сих пор. Хочу в исследовательских целях рассказать об использовании этой работоспособной версии подробнее.
Тем более, что список рынков, данные с которых можно получать через Яху Финанс огромен. На текущий момент в нем 79 стран, включая и Россию.
Apple Inc. (AAPL) на сайте и в API Яху Финанс
Взгляд на данные с позиции долгосрочного частного инвестора
Ниже рассмотрю получение только тех параметров, которые, на мой взгляд, могут быть интересны долгосрочному частному инвестору:
- Название бумаги
- Цена бумаги
- Доход с начала года
- Дивидендная доходность
- Дата предыдущего дивиденда
- Значение предыдущего дивиденда
- Годовая плата для фондов
- Категория бумаг
API Яху Финанс предоставляет ответы в формате JSON. На скриншотах с использованием API я использую расширение для браузера Google Chrome: JSON-handle.
Название бумаги / Name
Имея только тикер всегда можно получить огромное число параметров, первым в списке, на мой взгляд стоит наименование инструмента. Сначала найдем его на сайте на примере SPDR S&P 500 ETF Trust (SPY):
Имя ETF на сайте Яху Финанс
После этого найдем имя уже через API — в формате JSON оно выводится в двух вариантах: shortName и longName . Ссылка на данные, включающая в себя имя выглядит следующим образом:
Имя ETF через API Яху Финанс
Свойство с именем longName содержит строковое значение SPDR S&P 500 ETF Trust .
Путь для получения этого ключа: JSON.quoteSummary.result[0].price.longName
Цена бумаги / Price
Следующий важный параметр — конечно цена. Найдем её для акций Berkshire Hathaway Inc. (BRKA):
Цена акций на сайте Яху Финанс
Дальше получим цену через API. Раздел где содержится цена, аналогичен получению имени:
Цена акций через API Яху Финанс
Ключ с именем raw для regularMarketPrice можно получить как с форматированием, так и без него. Путь для получения этого свойства: JSON.quoteSummary.result[0].price.regularMarketPrice.raw
Доход с начала года / YTD Daily Total Return
Этот параметр можно посмотреть только для фондов. На примере Vanguard Total Stock Market Index Fund ETF Shares (VTI):
Доход с начала года на сайте Яху Финанс
Посмотрим этот параметр через API. Раздел где содержится доход с начала года:
Доход с начала года через API Яху Финанс
Свойство с именем fmt для ytdReturn можно получить как с форматированием, так и без. Путь для получения этого свойства: JSON.quoteSummary.result[0].defaultKeyStatistics.ytdReturn.fmt
Дивидендная доходность / Dividend Yield
Важный параметр, финансовые консультанты даже складывают доходность бумаги с дивидендной доходностью и показывают получившуюся цифру как потенциал роста бумаги. Найдем её для VanEck Vectors Russia ETF (RSX):
Дивидендная доходность ETF на сайте Яху Финанс
Получим этот параметр через API. Раздел где содержится дивидендная доходность:
Дивидендная доходность ETF через API Яху Финанс
Свойство с именем fmt для yield можно получить как с форматированием, так и без. Путь для получения этого свойства: JSON.quoteSummary.result[0].defaultKeyStatistics.yield.fmt
Дата предыдущего дивиденда / Dividend Date
Найдем дату последней выплаты дивиденда. Для этого придется обращаться к истории и можно будет получить все дивидендные выплаты. На сайте эти данные в разделе Historical Data, возьмем например акции Microsoft Corporation (MSFT):
Дата предыдущего дивиденда акции на сайте Яху Финанс
- period1 начальная дата в виде Unix Timestamp.
- period2 — конечная дата в виде Unix Timestamp.
- interval=1mo — укрупненные свечи, меня интересуют только дивиденды.
- events=div%7Csplit — добавляет информацию о дивидендах и сплитах в вывод.
Дата предыдущего дивиденда акции через API Яху Финанс
Для получения даты возможны два варианта:
- Считывать ключи JSON.chart.result[0].timestamp и перебирать по этим ключам даты дивидендов.
- Более предпочтительный — получать массив значений перечисляемых свойств объекта JSON.chart.result[0].events.dividends .
Значение предыдущего дивиденда / Next Dividend
Полностью аналогично предыдущему разделу. Только ищем не дату, а значение. Найдем значение прошлого дивиденда для ETF iShares MSCI Mexico Capped ETF (EWW):
Значение предыдущего дивиденда ETF на сайте Яху Финанс
В API ссылка будет выглядеть:
Расшифровка запроса аналогична получению даты выше.
Значение предыдущего дивиденда ETF через API Яху Финанс
Годовая плата / Expense Ratio
Годовая плата, которую все фонды или ETF взимают со своих акционеров. На сайте можно посмотреть в разделе Summary:
Годовая плата, которую все фонды или ETF взимают со своих акционеров на сайте Яху Финанс
В API ссылка будет выглядеть:
Годовая плата, которую все фонды или ETF взимают со своих акционеров через API Яху Финанс
Свойство с именем fmt для annualReportExpenseRatio можно получить как с форматированием, так и без. Путь для получения этого свойства: JSON.quoteSummary.result[0].fundProfile.feesExpensesInvestment.annualReportExpenseRatio.fmt
Категория акций / Sector и Industry
На сайте можно посмотреть в разделе Profile. Для примера возьмем Cisco Systems, Inc. (CSCO):
Категория акции на сайте Яху Финанс
Эти данные можно посмотреть только для акций и возможных вариантов секторов не так уж и много:
- Basic Materials
- Consumer Cyclical
- Financial Services
- Real Estate
- Consumer Defensive
- Healthcare
- Utilities
- Communication Services
- Energy
- Industrials
- Technology
Подкатегории для секторов — Industry.
В API ссылка будет выглядеть:
Категория акции через API Яху Финанс
Свойство с ключом sector можно получить по следующему пути: JSON.quoteSummary.result[0].assetProfile.sector
Общие правила работы с API Яху Финанс
query1.finance.yahoo.com для HTTP / 1.0
query2.finance.yahoo.com для HTTP / 1.1
Основные данные
/v10/finance/quoteSummary/GOOGL?modules= (Полный список модулей ниже)
(замените GOOGL на любой символ)
Входные данные для ?modules= запроса:
- assetProfile
- incomeStatementHistory
- incomeStatementHistoryQuarterly
- balanceSheetHistory
- balanceSheetHistoryQuarterly
- cashflowStatementHistory
- cashflowStatementHistoryQuarterly
- defaultKeyStatistics
- financialData
- calendarEvents
- secFilings
- recommendationTrend
- upgradeDowngradeHistory
- institutionOwnership
- fundOwnership
- majorDirectHolders
- majorHoldersBreakdown
- insiderTransactions
- insiderHolders
- netSharePurchaseActivity
- earnings
- earningsHistory
- earningsTrend
- industryTrend
- indexTrend
- sectorTrend
и возможно что-то ещё…
Запрос для: assetProfile и earningsHistory .
История цен, сплитов и дивидендов
&interval=3mo это 3 месяца.
&interval=1d это 1 день.
&interval=5m это 5 минут, возвращает 80 дней.
&interval=1m это 1 минута, возвращает 4-5 дней.
period1= unix timestamp представление даты, с которой вы хотите начать. Значения ниже начальной торговой даты будут округлены до начальной торговой даты.
period2= unix timestamp представление даты, на которой вы хотите закончить. Значения, превышающие последнюю торговую дату, будут округлены до последней доступной отметки времени.
Добавить данные до и после рынка: &includePrePost=true
Добавить дивиденды и сплиты: &events=div%2Csplit
Пример полного запроса:
Приведенный выше запрос вернет все данные о цене тикера GOOGL с интервалом в 1 день, включая данные до и после рынка, а также дивиденды и сплиты.
Всю информацию об API можно получить изучая код страницы Яху Финанс, но первоначально информация была взята с Stack Overflow и GitHub.
Пример кода на Node.js
Пример кода на Python
Я написал эту статью, желая в исследовательских целях разобраться в работающем API Яху Финанс, содержащем подробные данные о десятках тысяч ценных бумаг по всему миру, включая Россию.
Источник