Describe the bug
The exact same code which works with start_trade_socket does not work with start_kline_socket in the sense that writing to fill does not work inside the callback function. Even just writing a dummy string does not work i.e. f.write() does nothing when it's inside the callback function.
Describe the bug The exact same code which works with
start_trade_socket
does not work withstart_kline_socket
in the sense that writing to fill does not work inside the callback function. Even just writing a dummy string does not work i.e.f.write()
does nothing when it's inside the callback function.To Reproduce
Expected behavior One should be able to run any arbitrary code, including writing to a file, inside the callback function.
Environment (please complete the following information):