/tradingView-API

Get any market real-time data from TradingView Socket/API with Python.

Primary LanguagePython

tradingView-API

tradingview socket api for fetching real time prices.

How to run

git clone https://github.com/mohamadkhalaj/tradingView-API.git
cd tradingView-API
pip3 install -r requirements.txt
python3 tradingView.py

How to use

First you should select category type and searching text (by search() function in the code):

category list: 'stock' | 'futures' | 'forex' | 'cfd' | 'crypto' | 'index' | 'economic'

Example

data = search('btcusdt', 'crypto')

if any results found it will be shown.