Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace TradingBot.Models;
|
||||
|
||||
public class TradingSignal
|
||||
{
|
||||
public string Symbol { get; set; } = string.Empty;
|
||||
public SignalType Type { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public decimal Confidence { get; set; } // 0-100 confidence level
|
||||
public string Reason { get; set; } = string.Empty;
|
||||
public DateTime Timestamp { get; set; }
|
||||
}
|
||||
|
||||
public enum SignalType
|
||||
{
|
||||
Buy,
|
||||
Sell,
|
||||
Hold
|
||||
}
|
||||
Reference in New Issue
Block a user