def persist_eod_prices(self, asset_manager_id, business_date, eod_prices, update_existing_prices=True):
self.logger.info('<STR_LIT>', asset_manager_id, business_date)<EOL>url = '<STR_LIT>' % (self.endpoint, asset_manager_id, business_date.isoformat())<EOL>params = {'<STR_LIT>': update_existing_prices}<EOL>eod_prices_json = [eod_price.to_interface() for eod_price in eod_prices]<EOL>response = self.session.post(url, params=params, json=eod_prices_json)<EOL>if response.ok:<EOL><INDENT>eod_prices = [json_to_eod_price(eod_price) for eod_price in response.json()]<EOL>return eod_prices<EOL><DEDENT>else:<EOL><INDENT>self.logger.error(response.text)<EOL>response.raise_for_status()<EOL><DEDENT>
:param asset_manager_id:
:param business_date: The business date for which these are rates.  Not really needed, could be derived...
:param eod_prices:
:param update_existing_prices:
:return: