transparency_epias/markets/dayaheadClient.py
def dayahead_market_volume(self, startDate, endDate, eic=None):

        '''
        This function returns 3 different which includes;
            -Returns a dictionary which includes following values;
                -date
                -quantityOfAsk
                -volume
                -quantityOfBid
                -priceIndependentBid
                -priceIndependentOffer
                -blockBid
                -blockOffer
                -matchedBids
                -matchedOffers

        Parameters:

        eic (Optional): A code for the specific company e.g: "40X000000009447G".
        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        Warning! Bid and ask trade volumes are MATCHED dayahead trade volumes. For ask and bid OFFERS look for dayahead_market_volume.

        '''

        val.date_check(startDate, endDate)

        if eic != None:

            query = "market/day-ahead-market-volume?startDate="+f'{startDate}'+"&endDate="+f'{endDate}'+"&eic="+f'{eic}'
        else:
            query = "market/day-ahead-market-volume?startDate="+f'{startDate}'+"&endDate="+f'{endDate}'

        json_result = self.get_request_result(query)

        response_list = json_result['body']['dayAheadMarketVolumeList']
        
        return response_list

        This function returns 3 different which includes;
            -Returns a dictionary which includes following values;
                -date
                -quantityOfAsk
                -volume
                -quantityOfBid
                -priceIndependentBid
                -priceIndependentOffer
                -blockBid
                -blockOffer
                -matchedBids
                -matchedOffers

        Parameters:

        eic (Optional): A code for the specific company e.g: "40X000000009447G".
        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        Warning! Bid and ask trade volumes are MATCHED dayahead trade volumes. For ask and bid OFFERS look for dayahead_market_volume.

        
This function returns 3 different which includes;
Returns a dictionary which includes following values;
date
quantityOfAsk
volume
quantityOfBid
priceIndependentBid
priceIndependentOffer
blockBid
blockOffer
matchedBids
matchedOffers



eic (Optional): A code for the specific company e.g: "40X000000009447G".
startDate: Start date in YYYY-MM-DD format.
endDate: End date in YYYY-MM-DD format.

Warning. Bid and ask trade volumes are MATCHED dayahead trade volumes. For ask and bid OFFERS look for dayahead_market_volume.
This function returns 3 different which includes ; Returns a dictionary which includes following values ; date quantityOfAsk volume quantityOfBid priceIndependentBid priceIndependentOffer blockBid blockOffer matchedBids matchedOffers eic ( Optional ) : A code for the specific company e . g : " 40X000000009447G " . startDate : Start date in YYYY - MM - DD format . endDate : End date in YYYY - MM - DD format . Warning . Bid and ask trade volumes are MATCHED dayahead trade volumes . For ask and bid OFFERS look for dayahead_market_volume .
def dayahead_market_volume(self, startDate, endDate, eic=None):
        val.date_check(startDate, endDate)
        if eic != None:
            query = "market/day-ahead-market-volume?startDate="+f'{startDate}'+"&endDate="+f'{endDate}'+"&eic="+f'{eic}'
        else:
            query = "market/day-ahead-market-volume?startDate="+f'{startDate}'+"&endDate="+f'{endDate}'
        json_result = self.get_request_result(query)
        response_list = json_result['body']['dayAheadMarketVolumeList']
        return response_list
def dayahead_market_volume ( self , startDate , endDate , eic = None ) : val . date_check ( startDate , endDate ) if eic != None : query = "market/day-ahead-market-volume?startDate=" + f'{startDate}' + "&endDate=" + f'{endDate}' + "&eic=" + f'{eic}' else : query = "market/day-ahead-market-volume?startDate=" + f'{startDate}' + "&endDate=" + f'{endDate}' json_result = self . get_request_result ( query ) response_list = json_result [ 'body' ] [ 'dayAheadMarketVolumeList' ] return response_list
This function returns 3 different which includes;
Returns a dictionary which includes following values;
date
quantityOfAsk
volume
quantityOfBid
priceIndependentBid
priceIndependentOffer
blockBid
blockOffer
matchedBids
matchedOffers
This function returns 3 different which includes ; Returns a dictionary which includes following values ; date quantityOfAsk volume quantityOfBid priceIndependentBid priceIndependentOffer blockBid blockOffer matchedBids matchedOffers
'''
        This function returns 3 different which includes;
            -Returns a dictionary which includes following values;
                -date
                -quantityOfAsk
                -volume
                -quantityOfBid
                -priceIndependentBid
                -priceIndependentOffer
                -blockBid
                -blockOffer
                -matchedBids
                -matchedOffers

        Parameters:

        eic (Optional): A code for the specific company e.g: "40X000000009447G".
        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        Warning! Bid and ask trade volumes are MATCHED dayahead trade volumes. For ask and bid OFFERS look for dayahead_market_volume.

        '''
self
startDate
endDate
eic