17 lines
370 B
C#
17 lines
370 B
C#
using Backend.DatabaseHandler;
|
|
using Backend.ServiceHandler;
|
|
|
|
namespace Backend.Interface;
|
|
|
|
public sealed class AlertEvaluation
|
|
{
|
|
public bool Triggered { get; init; }
|
|
public string? UpdatedLastState { get; init; }
|
|
}
|
|
|
|
public interface IAlertEvaluator
|
|
{
|
|
string AlertType { get; }
|
|
Task<AlertEvaluation> EvaluateAsync(AlertRecord alert, MarketDataService marketData);
|
|
}
|