Need to add energy cost from Nordpol in SEK and add to my Total energy panel

I would like to track the total energy cost and I have a price updated by the hour (24 hrs in advance) from Nordpol.
I have solar panels so it would be nice to see how much I actually pay for my grid consumption and not just only the energy I consume.
Can this be done easilly?
All the best