binance: Map `use_testnet` to off by default (since data feeds)
parent
ad4847cbac
commit
a7ec59862a
|
@ -357,6 +357,7 @@ class Client:
|
||||||
|
|
||||||
# Check if we're configured to route order requests to the
|
# Check if we're configured to route order requests to the
|
||||||
# venue equivalent's testnet.
|
# venue equivalent's testnet.
|
||||||
|
use_testnet: bool = allow_testnet
|
||||||
section_name: str = self.venue2configkey[venue_key]
|
section_name: str = self.venue2configkey[venue_key]
|
||||||
if subconf := self.conf.get(section_name):
|
if subconf := self.conf.get(section_name):
|
||||||
use_testnet = (
|
use_testnet = (
|
||||||
|
|
Loading…
Reference in New Issue