tradingview_ws icon indicating copy to clipboard operation
tradingview_ws copied to clipboard

Unable to get required data ex. bid, ask, open, close

Open ankitparmar007 opened this issue 2 years ago • 1 comments

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.

ankitparmar007 avatar Feb 16 '23 17:02 ankitparmar007