File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/frequenz/client/electricity_trading Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525
2626# Choose the version you want to install
2727```bash
28- VERSION=0.2.3
28+ VERSION=0.2.5
2929pip install frequenz-client-electricity-trading==$VERSION
3030```
3131
@@ -69,10 +69,10 @@ async def initialize():
6969 Currency,
7070 DeliveryArea,
7171 DeliveryPeriod,
72- Energy,
7372 EnergyMarketCodeType,
7473 MarketSide,
7574 OrderType,
75+ Power,
7676 Price,
7777 )
7878 from datetime import datetime, timedelta
@@ -100,7 +100,7 @@ async def create_order():
100100 duration=timedelta(minutes=15)
101101 )
102102 price = Price(amount=Decimal("50.0"), currency=Currency.EUR)
103- quantity = Energy(mwh =Decimal("0.1"))
103+ quantity = Power(mw =Decimal("0.1"))
104104 order = await client.create_gridpool_order(
105105 gridpool_id=gridpool_id,
106106 delivery_area=delivery_area,
You can’t perform that action at this time.
0 commit comments