Log platform from markets

This commit is contained in:
Mark Veidemanis 2022-05-02 13:17:45 +01:00
parent b4a56c8413
commit 9fb99d90a3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Markets(util.Base):
public_ads_filtered = [ad for ad in public_ads_filtered if ad[3] == provider] public_ads_filtered = [ad for ad in public_ads_filtered if ad[3] == provider]
our_ads = [ad for ad in public_ads_filtered if ad[1] == username] our_ads = [ad for ad in public_ads_filtered if ad[1] == username]
if not our_ads: if not our_ads:
self.log.warning(f"No ads found in public listing for {asset} {currency} {provider}") self.log.warning(f"No ads found in {platform} public listing for {asset} {currency} {provider}")
continue continue
new_margin = self.autoprice(username, min_margin, max_margin, public_ads_filtered, currency) new_margin = self.autoprice(username, min_margin, max_margin, public_ads_filtered, currency)
# self.log.info("New rate for {currency}: {rate}", currency=currency, rate=new_margin) # self.log.info("New rate for {currency}: {rate}", currency=currency, rate=new_margin)