Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.47 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.47 KB

ElectricityMarketData

Stable Dev Build Status Coverage

Data PJM MISO CAISO
Real Time LMP ✔️ ✔️
Day-ahead LMP ✔️ ✔️
Load

Example of getting data from PJM

using ElectricityMarketData
using Dates
using TimeZones
import TimeZones: ZonedDateTime
market = ElectricityMarketData.PjmMarket()
df = ElectricityMarketData.get_real_time_lmp(market,
                                            DateTime(2023, 12, 1, 0, 0),
                                            DateTime(2024, 1, 3, 1, 0)
)

Example of getting data from MISO

using ElectricityMarketData
using Dates
market = ElectricityMarketData.MisoMarket()
df = ElectricityMarketData.get_real_time_lmp(
    market,
    DateTime(2024, 1, 1, 0, 0),
    DateTime(2024, 1, 1, 1, 0),
)