tradingview_ws
tradingview_ws copied to clipboard
Get data realtime from websocket tradingview
from __future__ import (absolute_import, division, print_function, unicode_literals) import tradingview_ws as td def callbackFunc(datas): print(len(datas), datas[len(datas)-1]) if __name__ == "__main__": pair = "ES" market = "futures" trading = td.TradingViewWs(pair, market) interval...
Hi Donald, thanks for doing this, it is amazing. Do you know how to avoid the captcha from being triggered when requesting the token?
How can I take the data every second? For example, now we have [{'datetime': '2023-06-25;16:35:00', 'open': 0.2957, 'high': 0.2957, 'low': 0.2955, 'close': 0.2955, 'volume': 45111.8}] [{'datetime': '2023-06-25;16:36:00', 'open': 0.2957, 'high':...
When I call the function it gives this error: Invalid format string
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...