LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
683 stars 164 forks source link

streams=kline_1w@@arr error: 2 - string indices must be integers #102

Closed CryptoFuturesAU closed 4 years ago

CryptoFuturesAU commented 4 years ago

Hi, I'm running this code:

kline1w = binance_websocket_api_manager.create_stream('kline_1w', params.pair)

and receive this error:

ERROR:root:BinanceWebSocketApiConnection->enter(eb542012-f537-40d2-9104-554cb139dcf8, ['kline_1w'], ['maticbtc']) connecting to wss://stream.binance.com:9443/stream?streams=maticbtc@kline_1w error: 2 - string indices must be integers

What is the solution? Thank you

Flowelfox commented 4 years ago

This is known bug and we working on it, check details on #98