feat(backend): add analysis and calendar endpoints
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user