Hello,
Please help providing your inputs on the below issue:
Executing the below code after successful authentication, is not streaming any data and the program just continue to run until I terminate the session with ALT + CTR + DEL.
Removing fs.keep_running() from the code is not making any difference.
def custom_function(msg):
print(f'custom function: {msg}')
symbol=["NSE:NIFTYBANK-INDEX","NSE:TCS-EQ"]
fs = ws.FyersSocket(access_token=access_token,run_background=False,log_path="D:\\code\\fyers\\logs")
fs.websocket_data = custom_function
fs.subscribe(symbol=symbol, data_type="symbolUpdate")
fs.keep_running()