Log platform from markets
This commit is contained in:
parent
b4a56c8413
commit
9fb99d90a3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue