using System;

namespace Predictalytics.Domain.Entities;

/// <summary>
/// Daily snapshot of a trader's performance metrics.
/// Used to calculate rolling time windows (e.g. 24h, 7d, 30d PnL).
/// </summary>
public class TraderDailySnapshot
{
    public int Id { get; set; }
    public int TraderId { get; set; }
    public DateTime Date { get; set; }
    
    public decimal TotalPnl { get; set; }
    public decimal CurrentBalance { get; set; }

    public Trader Trader { get; set; } = null!;
}
