Hey Pratik,
Try this,
print(msg[0]['ltp'])
def custom_message(msg):
print (f"Custom:{msg}")
using this function i want to print only the ltp value. please let me know how to print only the ltp value in this function.
def custom_message(msg):
print (f"Custom:{msg}")
using this function i want to print only the ltp value. please let me know how to print only the ltp value in this function.
Join FYERS Community to pick others' brains on Trading/Investing