binance: Map `use_testnet` to off by default (since data feeds)

basic_buy_bot
Tyler Goodlet 2023-06-30 20:17:02 -04:00
parent ad4847cbac
commit a7ec59862a
1 changed files with 1 additions and 0 deletions

View File

@ -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 = (