Implement A3, A4, A5, B3: Add MarketOutcomePriceSnapshot, implement Polymarket CLOB prices-history endpoint, improve strategy classification, introduce CopytradingScore, and decouple/optimize scoring pipeline into a separate worker
This commit is contained in:
@@ -154,14 +154,7 @@ public class PollingWorker : BackgroundService
|
||||
}
|
||||
}
|
||||
|
||||
// Recalculate scores and evaluate alerts
|
||||
using (var scope = _services.CreateScope())
|
||||
{
|
||||
var scoringService = scope.ServiceProvider.GetRequiredService<IScoringService>();
|
||||
var alertService = scope.ServiceProvider.GetRequiredService<IAlertService>();
|
||||
await scoringService.RecalculateAllScoresAsync(stoppingToken);
|
||||
await alertService.EvaluateAlertsAsync(stoppingToken);
|
||||
}
|
||||
|
||||
|
||||
_logger.LogWarning("✅ Polling cycle complete. Next in 60s.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user