Skip to content

Commit

Permalink
[Bitmex] update tentacle
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Nov 27, 2024
1 parent e56cd5c commit 5025f72
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Trading/Exchange/bitmex/bitmex_exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)

0 comments on commit 5025f72

Please sign in to comment.