From fcb18fead0e92ddc075416e11934b62afa3e2ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 22 Apr 2018 14:04:39 +0200 Subject: Remove fixed FIXME --- portfolio.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/portfolio.py b/portfolio.py index 1067b0b..c313fd9 100644 --- a/portfolio.py +++ b/portfolio.py @@ -320,8 +320,6 @@ class Trade: ticker = ticker["original"] rate = Computation.compute_value(ticker, self.order_action(), compute_value=compute_value) - # FIXME: Dust amount should be removed from there if they werent - # honored in other sales delta_in_base = abs(self.delta) # 9 BTC's worth of move (10 - 1 or 1 - 10 depending on case) @@ -650,7 +648,6 @@ class Order: return True similar_trades = self.market.ccxt.fetch_my_trades(symbol=symbol, since=start_timestamp) - # FIXME: use set instead of sorted(list(...)) for order_id in sorted(list(map(lambda x: x["order"], similar_trades))): trades = list(filter(lambda x: x["order"] == order_id, similar_trades)) if any(x["timestamp"] < start_timestamp for x in trades): -- cgit v1.2.3