Ejemplo n.º 1
0
from energy_trading_api import wagbb as w
from energy_trading_api import jepx as j

# load capacity outlook
df = w.capacityOutlook(gasDay="2018-01-01")
df = w.largeUserConsumptionByCategory()
# filter for DBNGP Pipeline
# print(df[df['zoneName']=='Pilbara'].to_string())

print(j.spotLatest().to_string())
def test_gasSpecificationDate(gasDay="2018-01-01"):
    # load capacity outlook
    assert not w.largeUserConsumptionByCategory(gasDay).empty
def test_mediumTermCapacityDate(gasDay="2018-01-01"):
    # load capacity outlook
    assert not w.largeUserConsumptionByCategory(gasDay).empty
def test_gasSpecification():
    # load capacity outlook
    assert not w.largeUserConsumptionByCategory().empty
def test_mediumTermCapacity():
    # load capacity outlook
    assert not w.largeUserConsumptionByCategory().empty