diff --git a/RELEASES.md b/RELEASES.md index 0f1ed74967dc..8b3c699d4ec8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -20,6 +20,7 @@ Released on TBC (UTC). - Fixed managed GTD orders cancel timer on order cancel (timers were not being canceled) - Fixed `BacktestEngine` logging error with immediate stop (caused by certain timestamps being `None`) - Fixed `BacktestNode` exceptions during backtest runs preventing next sequential run, thanks for reporting @cavan-black +- Fixed `BinanceSpotPersmission` value error by relaxing typing for `BinanceSpotSymbolInfo.permissions` - Interactive Brokers adapter various fixes, thanks @rsmb7z --- diff --git a/nautilus_trader/adapters/binance/spot/schemas/market.py b/nautilus_trader/adapters/binance/spot/schemas/market.py index ed89822b2069..5aaab03e34cd 100644 --- a/nautilus_trader/adapters/binance/spot/schemas/market.py +++ b/nautilus_trader/adapters/binance/spot/schemas/market.py @@ -20,7 +20,6 @@ from nautilus_trader.adapters.binance.common.schemas.market import BinanceOrderBookDelta from nautilus_trader.adapters.binance.common.schemas.market import BinanceRateLimit from nautilus_trader.adapters.binance.common.schemas.market import BinanceSymbolFilter -from nautilus_trader.adapters.binance.spot.enums import BinanceSpotPermissions from nautilus_trader.core.datetime import millis_to_nanos from nautilus_trader.model.currency import Currency from nautilus_trader.model.data import BookOrder @@ -62,7 +61,7 @@ class BinanceSpotSymbolInfo(msgspec.Struct, frozen=True): isSpotTradingAllowed: bool isMarginTradingAllowed: bool filters: list[BinanceSymbolFilter] - permissions: list[BinanceSpotPermissions] + permissions: list[str] def parse_to_base_asset(self): return Currency(