Enhance UI, add AI integration, improve logging and database stats
This commit is contained in:
@@ -66,6 +66,19 @@ public class Trade
|
||||
/// <summary>Transaction hash (for blockchain-based platforms).</summary>
|
||||
public string? TransactionHash { get; set; }
|
||||
|
||||
// ── Context Enrichment (AI Strategy Detection) ───────────
|
||||
|
||||
/// <summary>Market price 1 minute before trade execution.</summary>
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal? PreTradePrice1m { get; set; }
|
||||
|
||||
/// <summary>Market price 1 minute after trade execution.</summary>
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal? PostTradePrice1m { get; set; }
|
||||
|
||||
/// <summary>Indicates if high-res price context was fetched.</summary>
|
||||
public bool IsContextEnriched { get; set; }
|
||||
|
||||
// ── Transient (not persisted) ──────────────────────────────────────────
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user