refactor: save current workspace state including FinlyticAnalyzer fixes, FinlyticApp trade route alignment, and DTO audit documentation
This commit is contained in:
@@ -50,12 +50,6 @@ public class NewsController : ControllerBase
|
||||
effectiveStatus = "Analyzed";
|
||||
}
|
||||
|
||||
string? dateStr = !string.IsNullOrWhiteSpace(date) ? date.Trim() : null;
|
||||
if (string.Equals(dateStr, "today", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
dateStr = DateTime.UtcNow.ToString("yyyy-MM-dd");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
if (_mqttClient.IsConnected)
|
||||
@@ -64,11 +58,13 @@ public class NewsController : ControllerBase
|
||||
Limit: pageSize,
|
||||
Offset: (page - 1) * pageSize,
|
||||
Isin: activeSymbol,
|
||||
Date: dateStr,
|
||||
Date: DateTime.TryParse(date, out var dateTime) ? dateTime : null,
|
||||
Status: effectiveStatus,
|
||||
Query: query,
|
||||
HasSentiment: hasSentiment
|
||||
);
|
||||
|
||||
_logger.LogInformation("[payload] " + payload.Date.ToString());
|
||||
|
||||
var articles = await _mqttClient.SendRpcRequestAsync<List<NewsArticleDto>, DailyNewsRequest>(
|
||||
"news_Get",
|
||||
|
||||
Reference in New Issue
Block a user