From 0c0b7116e3eac577c3a01a976d973e1b67dc803d Mon Sep 17 00:00:00 2001 From: Nelson Torres Date: Tue, 21 May 2024 17:56:06 -0300 Subject: [PATCH] Added new fields to SpotPair class in venues --- piker/brokers/binance/venues.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piker/brokers/binance/venues.py b/piker/brokers/binance/venues.py index 2529e520..dce0ea95 100644 --- a/piker/brokers/binance/venues.py +++ b/piker/brokers/binance/venues.py @@ -137,10 +137,12 @@ class SpotPair(Pair, frozen=True): quoteOrderQtyMarketAllowed: bool isSpotTradingAllowed: bool isMarginTradingAllowed: bool + otoAllowed: bool defaultSelfTradePreventionMode: str allowedSelfTradePreventionModes: list[str] permissions: list[str] + permissionSets: list[list[str]] # NOTE: see `.data._symcache.SymbologyCache.load()` for why ns_path: str = 'piker.brokers.binance:SpotPair'