getting candlestick data from live net with websocket

Hi you all!

I am running in an issue with my python implementation with the binance futures python sdk and websockets.

Here is my code: https://pastebin.com/D5SxuX8r

I am trying to get candlesticks from the live net but instead I am getting the ones from the testnet.

Shall I setup other stuff to get candlestick data from live net?

I will appreciate the help.

Thanks!

Hi. If this is the library you use, please check this constant file in your local package. https://github.com/Binance-docs/Binance_Futures_python/blob/master/binance_f/constant/system.py#L3
Line 3, the testnet base url is greyed out. It means this package should call production environment by default.

  • Please avoid asking coding questions here as this forum is for API discussion.

That is what I thought the first time I reviewed those classes. The weird thing is that I am still receiving candlesticks wich values match the testnet instead the live net. I will try use the websocket directly. Thanks anyway.