From 5025f72fe1c071d2911862554c7122a7d7fa7add Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Wed, 27 Nov 2024 11:15:13 +0100 Subject: [PATCH] [Bitmex] update tentacle --- Trading/Exchange/bitmex/bitmex_exchange.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Trading/Exchange/bitmex/bitmex_exchange.py b/Trading/Exchange/bitmex/bitmex_exchange.py index 84eefa073..49e6b51bc 100644 --- a/Trading/Exchange/bitmex/bitmex_exchange.py +++ b/Trading/Exchange/bitmex/bitmex_exchange.py @@ -19,6 +19,7 @@ class Bitmex(exchanges.RestExchange): DESCRIPTION = "" + FIX_MARKET_STATUS = False # todo fix precision price but not amount ? todo check BUY_STR = "Buy" SELL_STR = "Sell" @@ -36,9 +37,6 @@ def get_supported_exchange_types(cls) -> list: :return: The list of supported exchange types """ return [ + trading_enums.ExchangeTypes.SPOT, trading_enums.ExchangeTypes.FUTURE, ] - - async def get_recent_trades(self, symbol, limit=50, **kwargs): - kwargs.update({"reverse": True}) - return await super().get_recent_trades(self, symbol=symbol, limit=limit, **kwargs)