sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.96k stars 2.19k forks source link

testnet futures_socket doesn't receive messages #1222

Closed one2gov closed 2 years ago

one2gov commented 2 years ago
  master = await AsyncClient.create("key",
                                      "secret, testnet=True")
    bm = BinanceSocketManager(master)

    ts = bm.futures_socket()
    async with ts as tscm:
        while True:
            try:
                res = await tscm.recv()
                print('res', res)

but it works without Testnet