feat(fundamentals): multi-ticker DB caching, parallel html scraper, and frontend mappings

This commit is contained in:
2026-08-16 14:05:57 +02:00
parent b0f8d4b78b
commit 2ba54e8057
17 changed files with 1791 additions and 563 deletions
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;
namespace FinlyticCore.Dtos.Fundamentals;
@@ -18,7 +18,7 @@ public record AssetHeaderDto
public string Description { get; init; } = string.Empty;
[JsonPropertyName("primaryTicker")]
public TickerInfoDto PrimaryTicker { get; init; }
public TickerInfoDto PrimaryTicker { get; init; } = new();
[JsonPropertyName("availableTickers")]
public List<TickerInfoDto> AvailableTickers { get; init; } = [];
@@ -16,7 +16,7 @@ public record CorporateEventDto
public string? Isin { get; init; }
[JsonPropertyName("ticker")]
public TickerInfoDto Ticker { get; init; }
public TickerInfoDto Ticker { get; init; } = new();
[JsonPropertyName("companyName")]
public string? CompanyName { get; init; }
@@ -9,7 +9,7 @@ namespace FinlyticCore.Dtos.Fundamentals;
public record FundamentalDataDto
{
[JsonPropertyName("ticker")]
public TickerInfoDto Ticker { get; init; }
public TickerInfoDto Ticker { get; init; } = new();
// --- Valuation & Multiples ---
[JsonPropertyName("marketCap")]