test: fix krakenfutures tests
This commit is contained in:
@@ -7,7 +7,7 @@ from unittest.mock import MagicMock, PropertyMock
|
|||||||
import ccxt
|
import ccxt
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from freqtrade.enums import CandleType, MarginMode, TradingMode
|
from freqtrade.enums import MarginMode, TradingMode
|
||||||
from freqtrade.exceptions import (
|
from freqtrade.exceptions import (
|
||||||
DDosProtection,
|
DDosProtection,
|
||||||
ExchangeError,
|
ExchangeError,
|
||||||
|
|||||||
@@ -597,10 +597,9 @@ EXCHANGES: dict[str, TestExchangeOnlineSetup] = {
|
|||||||
"id": "a11a8dc2-0440-4fe1-5212-1bx15c8f1c8e",
|
"id": "a11a8dc2-0440-4fe1-5212-1bx15c8f1c8e",
|
||||||
"timestamp": 1771354195241,
|
"timestamp": 1771354195241,
|
||||||
"datetime": "2026-02-17T18:49:55.241Z",
|
"datetime": "2026-02-17T18:49:55.241Z",
|
||||||
"price": 67164.0,
|
"price": None,
|
||||||
# Average should be None (it's not correct for market orders), but we have a
|
# Average should be None (it's not correct for market orders)
|
||||||
# workaround for this in place.
|
"average": None,
|
||||||
"average": 67164.0,
|
|
||||||
"status": "closed",
|
"status": "closed",
|
||||||
"type": "market",
|
"type": "market",
|
||||||
"amount": 0.0004,
|
"amount": 0.0004,
|
||||||
|
|||||||
Reference in New Issue
Block a user