MercatiAmbientali
mercati_energetici.MercatiAmbientali
Bases: MercatiEnergetici
Environmental market low level API wrapper. See the GME website for an explanation of the markets.
get_markets()
async
Get environmental markets.
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |
get_trading_results(market, day=None)
async
Get environmental market results.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
market |
str
|
The market to get results from. |
required |
day |
date | str
|
Date of the market. Default is today. A string in the format
"YYYYMMDD" or a |
None
|
Returns:
Type | Description |
---|---|
list[dict]
|
A list of Python dictionaries like: |