feat(backend): add analysis and calendar endpoints

This commit is contained in:
2026-08-14 23:56:57 +02:00
parent 5c4b3165ba
commit f94e3b8164
2 changed files with 2 additions and 4 deletions
@@ -83,9 +83,7 @@ public class AnalyzeController : ControllerBase
var sentData = await sentTask;
decimal lastCandlePrice = taData?.Candles != null && taData.Candles.Count > 0 ? (decimal)taData.Candles.Last().Close : 0m;
decimal resolvedPrice = request.CurrentPrice ??
(lastCandlePrice > 0 ? lastCandlePrice :
(fundData != null && fundData.CurrentPrice > 0 ? fundData.CurrentPrice : 100.0m));
decimal resolvedPrice = request.CurrentPrice ?? (lastCandlePrice > 0 ? lastCandlePrice : 100.0m);
var rpcRequest = new ManualAnalysisRpcRequest(
Isin: targetIsin,