Use correct order_id for ftx

closes #4511
This commit is contained in:
Matthias
2021-05-16 09:08:13 +02:00
parent 32bdceee12
commit 0b1dd0d203
4 changed files with 34 additions and 2 deletions

View File

@@ -1239,6 +1239,9 @@ class Exchange:
except ccxt.BaseError as e:
raise OperationalException(e) from e
def get_order_id_conditional(self, order: Dict[str, Any]) -> str:
return order['id']
@retrier
def get_fee(self, symbol: str, type: str = '', side: str = '', amount: float = 1,
price: float = 1, taker_or_maker: str = 'maker') -> float: