Skip to content

Commit 5025f72

Browse files
committed
[Bitmex] update tentacle
1 parent e56cd5c commit 5025f72

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Trading/Exchange/bitmex/bitmex_exchange.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
class Bitmex(exchanges.RestExchange):
2121
DESCRIPTION = ""
22+
FIX_MARKET_STATUS = False # todo fix precision price but not amount ? todo check
2223

2324
BUY_STR = "Buy"
2425
SELL_STR = "Sell"
@@ -36,9 +37,6 @@ def get_supported_exchange_types(cls) -> list:
3637
:return: The list of supported exchange types
3738
"""
3839
return [
40+
trading_enums.ExchangeTypes.SPOT,
3941
trading_enums.ExchangeTypes.FUTURE,
4042
]
41-
42-
async def get_recent_trades(self, symbol, limit=50, **kwargs):
43-
kwargs.update({"reverse": True})
44-
return await super().get_recent_trades(self, symbol=symbol, limit=limit, **kwargs)

0 commit comments

Comments
 (0)