https://github.com/horia-apostol/eodhd-syncfusion-chart
Add stock charts to your Blazor applications using the end-of-day market data from the EODHD API and the Syncfusion Stock Chart component.
https://github.com/horia-apostol/eodhd-syncfusion-chart
asp-net-core blazor dotnet eodhd eodhistoricaldata stock-chart stock-data syncfusion syncfusion-blazor
Last synced: 3 months ago
JSON representation
Add stock charts to your Blazor applications using the end-of-day market data from the EODHD API and the Syncfusion Stock Chart component.
- Host: GitHub
- URL: https://github.com/horia-apostol/eodhd-syncfusion-chart
- Owner: horia-apostol
- License: mit
- Created: 2025-05-05T04:30:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-06T05:37:08.000Z (about 1 year ago)
- Last Synced: 2025-10-24T07:05:15.424Z (9 months ago)
- Topics: asp-net-core, blazor, dotnet, eodhd, eodhistoricaldata, stock-chart, stock-data, syncfusion, syncfusion-blazor
- Language: C#
- Homepage: https://app.swaggerhub.com/apis/HoriaApostol/eodhd-syncfusion-chart/1.0.0
- Size: 756 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blazor Stock Chart Viewer with EODHD and Syncfusion
Add stock charts to your Blazor .NET 9 applications using the end-of-day market data from the EODHD API and the Syncfusion Stock Chart component.
The project integrates the [Syncfusion Blazor Stock Chart](https://www.syncfusion.com/blazor-components/blazor-stock-chart) with the data fetched from the [EODHD API](https://eodhd.com/financial-apis/api-for-historical-data-and-volumes),
offering an interactive chart experience for visualizing candle and volume data for any supported stock ticker.
---
## Overview

---
## Configuration
The backend project `WebAPI` uses EODHD's historical data API, which requires configuration via appsettings.json:
```json
"EodhdSettings": {
"BaseUrl": "https://eodhd.com/api",
"ApiToken": "your_api_token"
}
```
By default, the API token is set to "demo" for testing purposes, but you should sign up for a personal API key.
In the Blazor project `WebUI`, Syncfusion components are used to render the interactive stock chart. You must register either a commercial license or a free [community license](https://www.syncfusion.com/products/communitylicense). This is done in Program.cs:
```csharp
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Your Syncfusion License");
```
## API Documentation
The backend exposes a clean API for fetching historical stock prices from EODHD, including support for filtering by period, date range, and sort order.
- Online SwaggerHub docs: [https://app.swaggerhub.com/apis/HoriaApostol/eodhd-syncfusion-chart/1.0.0](https://app.swaggerhub.com/apis/HoriaApostol/eodhd-syncfusion-chart/1.0.0)
- Built-in Swagger UI: [https://localhost:7062/swagger](https://localhost:7062/swagger)