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)
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):