tradingview socket api for fetching real time prices.
git clone https://github.com/Sweatnessstrong/TradingView-API.git
cd TradingView-API
pip3 install -r requirements.txt
python3 tradingView.py
First you should select category type and searching text (by search() function in the code):
category list: 'stock' | 'futures' | 'forex' | 'cfd' | 'crypto' | 'index' | 'economic'
data = search('btcusdt', 'crypto')
if any results found it will be shown.