From 888438ca2573cbad493036261e9ceb3d93255a34 Mon Sep 17 00:00:00 2001 From: Esmeralda Gallardo Date: Mon, 9 Jan 2023 08:01:48 -0300 Subject: [PATCH] Add two attributes to Pair class to match Binance exchange information update --- piker/brokers/binance.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/piker/brokers/binance.py b/piker/brokers/binance.py index 9bc5891f..9d2742be 100644 --- a/piker/brokers/binance.py +++ b/piker/brokers/binance.py @@ -105,6 +105,9 @@ class Pair(Struct, frozen=True): isSpotTradingAllowed: bool isMarginTradingAllowed: bool + defaultSelfTradePreventionMode: str + allowedSelfTradePreventionModes: list[str] + filters: list[dict[str, Union[str, int, float]]] permissions: list[str]