Init
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user