tradingview_ws
tradingview_ws copied to clipboard
Unable to get required data ex. bid, ask, open, close
Hello there, I have cloned your repo and tried locally, there was a requirement of more data to me, so I have added more fields such as bid,ask after adding fields shown below
self.send_message(ws, "quote_set_fields", [
session,"bid","ask","ch","chp","exchange","lp","lp_time","volume"])
Getting this as output as
result ~m~111~m~{"m":"qsd","p":["qs_xdnrbwczlxya",{"n":"SP:SPX","s":"ok","v":{"lp_time":1676569566,"lp":4134.73,"ch":-12.88}}]}
Tried both way, without session and with session.
Would be appreciated, if you could look into this and help me to find the values.