MercatiGas
mercati_energetici.MercatiGas
Bases: MercatiEnergetici
Gas markets low level API wrapper. See the GME website for an explanation of the markets.
get_markets()
async
Get gas markets.
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |
get_continuous_trading_results(product, day=None)
async
Get gas market results on the continuous trading mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
product |
str
|
the market-day to get results from |
required |
day |
date | str
|
Date of the market negotiation. Default is today. A string in
the format "YYYYMMDD" or a |
None
|
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |
get_auction_trading_results(product, day=None)
async
Get gas market results on the auction mode.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
product |
str
|
the market-day to get results from. |
required |
day |
date | str
|
Date of the market negotiations. Default is today. A string in
the format "YYYYMMDD" or a |
None
|
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |
get_stored_gas_trading_results(company, day=None)
async
Get gas market results for the stored gas.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
company |
str
|
the market-company to get results from. |
required |
day |
date | str
|
Date of the market negotiations. Default is today. A string in
the format "YYYYMMDD" or a |
None
|
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |