transparency_epias/markets/dayaheadClient.py
def mcp_interim(self, date):

        '''
        This function returns 3 lists including;
            -Date list for specified date as first item.
            -Hour list as second item.
            -Interim MCP values for specified date as third item.

        Parameters:

        Date: Specific date in YYYY-MM-DD format.

        '''
        val.date_format_check(date)

        query = "market/day-ahead-interim-mcp?date="+f'{date}'

        json_result = self.get_request_result(query)

        key_list = list(json_result['body'].keys())

        key_name = key_list[0]

        response_list = json_result['body'][f'{key_name}']

        date_list = []
        price_list = []
        hour_list = []

        for index, item in enumerate(response_list):
            date_list.append(date)
            hour_list.append(index)
            price_list.append(item['marketTradePrice'])

        return date_list, hour_list, price_list

        This function returns 3 lists including;
            -Date list for specified date as first item.
            -Hour list as second item.
            -Interim MCP values for specified date as third item.

        Parameters:

        Date: Specific date in YYYY-MM-DD format.

        
This function returns 3 lists including;
Date list for specified date as first item.
Hour list as second item.
Interim MCP values for specified date as third item.



Specific date in YYYY-MM-DD format.
This function returns 3 lists including ; Date list for specified date as first item . Hour list as second item . Interim MCP values for specified date as third item . Specific date in YYYY - MM - DD format .
def mcp_interim(self, date):
        val.date_format_check(date)
        query = "market/day-ahead-interim-mcp?date="+f'{date}'
        json_result = self.get_request_result(query)
        key_list = list(json_result['body'].keys())
        key_name = key_list[0]
        response_list = json_result['body'][f'{key_name}']
        date_list = []
        price_list = []
        hour_list = []
        for index, item in enumerate(response_list):
            date_list.append(date)
            hour_list.append(index)
            price_list.append(item['marketTradePrice'])
        return date_list, hour_list, price_list
def mcp_interim ( self , date ) : val . date_format_check ( date ) query = "market/day-ahead-interim-mcp?date=" + f'{date}' json_result = self . get_request_result ( query ) key_list = list ( json_result [ 'body' ] . keys ( ) ) key_name = key_list [ 0 ] response_list = json_result [ 'body' ] [ f'{key_name}' ] date_list = [ ] price_list = [ ] hour_list = [ ] for index , item in enumerate ( response_list ) : date_list . append ( date ) hour_list . append ( index ) price_list . append ( item [ 'marketTradePrice' ] ) return date_list , hour_list , price_list
This function returns 3 lists including;
Date list for specified date as first item.
This function returns 3 lists including ; Date list for specified date as first item .
'''
        This function returns 3 lists including;
            -Date list for specified date as first item.
            -Hour list as second item.
            -Interim MCP values for specified date as third item.

        Parameters:

        Date: Specific date in YYYY-MM-DD format.

        '''
self
date