YahooFinanceChartDataSource
public sealed class YahooFinanceChartDataSource : WebChartDataSource, IChartGuruElementDataSource, IChartDataSourceConvenience data source that pulls OHLCV candles from the public
Yahoo Finance chart endpoint
(https://query1.finance.yahoo.com/v8/finance/chart/{symbol}),
pivots the columnar response into a tabular dataset with
Date / Open / High / Low / Close / Volume columns and feeds it
through the standard ChartGuru mapping pipeline.
The mapping is auto-configured for candlestick charts on first use — users only need to assign `ChartGuru.YahooFinanceChartDataSource.Symbol`, `ChartGuru.YahooFinanceChartDataSource.Range`, and `ChartGuru.YahooFinanceChartDataSource.Interval`.
Yahoo's endpoint is rate-limited and unofficial; do not poll faster than once per minute in production. For live trading dashboards, use a paid market-data provider via [ChartGuru.WebChartDataSource](/tools/chartguru/api/chartguru-webchartdatasource/).
Methods
Section titled “Methods”
ParseResponse(string, string)
Section titled “ParseResponse(string, string)”protected override ChartTabularData ParseResponse(string rawText, string contentType)Parses one immutable HTTP response and its matching content type.
Parameters
| Name | Type |
|---|---|
rawText |
System.String |
contentType |
System.String |
Returns
ChartGuru.ChartTabularData
PrepareParsedForApply(ChartTabularData)
Section titled “PrepareParsedForApply(ChartTabularData)”protected override void PrepareParsedForApply(ChartTabularData table)Applies source-specific mapping changes on the Unity thread before data is promoted.
Parameters
| Name | Type |
|---|---|
table |
ChartGuru.ChartTabularData |
Constructors
Section titled “Constructors”
YahooFinanceChartDataSource()
Section titled “YahooFinanceChartDataSource()”public YahooFinanceChartDataSource()Properties
Section titled “Properties”
Symbol
Section titled “Symbol”public string Symbol { get; set; }Returns
System.String
public YahooFinanceRange Range { get; set; }Returns
ChartGuru.YahooFinanceRange
Interval
Section titled “Interval”public YahooFinanceInterval Interval { get; set; }Returns
ChartGuru.YahooFinanceInterval