Improve Platform stats

This commit is contained in:
2025-09-21 16:50:06 +07:00
parent 3ec97ef98e
commit 8afe80ca0e
8 changed files with 437 additions and 307 deletions

View File

@@ -51,6 +51,12 @@ public class PlatformSummaryViewModel
[Id(6)]
public required int TotalPositionCount { get; set; }
/// <summary>
/// Total platform-wide fees paid in USD
/// </summary>
[Id(19)]
public required decimal TotalPlatformFees { get; set; }
// 24-hour changes
/// <summary>
/// Change in agent count over the last 24 hours
@@ -88,6 +94,12 @@ public class PlatformSummaryViewModel
[Id(12)]
public required int PositionCountChange24h { get; set; }
/// <summary>
/// Change in fees over the last 24 hours
/// </summary>
[Id(20)]
public required decimal FeesChange24h { get; set; }
// Breakdowns
/// <summary>
/// Volume breakdown by asset/ticker