In the dotnet sdk I tested the news api this morning for APPL for the last 15 days and it returns no news articles or throws any errors and the Alpaca status page saying everything is online and happy. Looks like this is a wrapper for Benzinga News API, so I searched there directly to confirm and indeed there are news items for APPL in that time frame. Anyone using this? Is it just unreliable?
public async Task<IActionResult> GetNews(string Symbol)
{
var dataClient = Alpaca.Markets.Environments.Live
.GetAlpacaDataClient(new SecretKey(KEY_ID, SECRET_KEY));
var symbols = new List<string>();
symbols.Add(Symbol);
var request = new NewsArticlesRequest(symbols);
request.SortDirection = SortDirection.Ascending;
request.TimeInterval = new Interval<DateTime>(DateTime.Now.AddDays(-15), DateTime.Now);
var news = await dataClient.ListNewsArticlesAsync(request);
return Ok(news.Items);
}