Reverted changes related to create_order_has_all_data

This commit is contained in:
gaardiolor
2024-11-05 22:37:12 +01:00
parent bdb54f56d9
commit 38eb4eed97
3 changed files with 0 additions and 6 deletions

View File

@@ -144,7 +144,6 @@ class Exchange:
"trades_pagination": "time", # Possible are "time" or "id"
"trades_pagination_arg": "since",
"trades_has_history": False,
"create_order_has_all_data": True, # Set to False if create_order doesn't return all data
"l2_limit_range": None,
"l2_limit_range_required": True, # Allow Empty L2 limit (kucoin)
"mark_ohlcv_price": "mark",
@@ -1275,8 +1274,6 @@ class Exchange:
rate_for_order,
params,
)
if not self._ft_has.get("create_order_has_all_data"):
order = self._api.fetch_order(order["id"], pair)
if order.get("status") is None:
# Map empty status to open.
order["status"] = "open"

View File

@@ -34,8 +34,6 @@ class FtHas(TypedDict, total=False):
trades_pagination_arg: str
trades_has_history: bool
trades_pagination_overlap: bool
# Create order
create_order_has_all_data: bool
# Orderbook
l2_limit_range: Optional[list[int]]
l2_limit_range_required: bool

View File

@@ -29,7 +29,6 @@ class Hyperliquid(Exchange):
"exchange_has_overrides": {"fetchTrades": False},
"stoploss_order_types": {"limit": "limit"},
"funding_fee_timeframe": "1h",
"create_order_has_all_data": False,
}
_supported_trading_mode_margin_pairs: list[tuple[TradingMode, MarginMode]] = [