mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
Reverted changes related to create_order_has_all_data
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]] = [
|
||||
|
||||
Reference in New Issue
Block a user