diff --git a/piker/brokers/binance/api.py b/piker/brokers/binance/api.py index e6a4cbc9..78804996 100644 --- a/piker/brokers/binance/api.py +++ b/piker/brokers/binance/api.py @@ -357,6 +357,7 @@ class Client: # Check if we're configured to route order requests to the # venue equivalent's testnet. + use_testnet: bool = allow_testnet section_name: str = self.venue2configkey[venue_key] if subconf := self.conf.get(section_name): use_testnet = (