using System;

namespace Predictalytics.Domain.Entities;

/// <summary>
/// Represents a historical price snapshot of a market outcome at a specific time.
/// Used to calculate timing quality, entry/exit quality, and performance trends.
/// </summary>
public class MarketOutcomePriceSnapshot
{
    public int Id { get; set; }

    /// <summary>Foreign key to the market outcome.</summary>
    public int MarketOutcomeId { get; set; }

    /// <summary>The timestamp of this price snapshot.</summary>
    public DateTime Timestamp { get; set; }

    /// <summary>The price of the outcome at the given timestamp (0.00 to 1.00).</summary>
    public decimal Price { get; set; }

    // Navigation property
    public MarketOutcome MarketOutcome { get; set; } = null!;
}
