This commit is contained in:
Marius
2026-03-08 19:10:16 +02:00
commit 861c344832
74 changed files with 34756 additions and 0 deletions
@@ -0,0 +1,18 @@
using NordPool.Models;
namespace NordPoolManager.Interface;
public interface INordPoolPriceService
{
NordPoolPrice? TodayNordPoolPrice { get; }
NordPoolPrice? TomorrowNordPoolPrice { get; }
double CurrentPrice { get; }
int DayQuartersIndex { get; }
DateTime? LastUpdatedDate { get; }
DateOnly? LastFetchedDate { get; }
Task FetchPricesAsync();
double UpdateCurrentPrice();
bool ShouldFetchNewPrices(DateOnly today);
void RollOverPrices(DateOnly today);
}