Skip to content

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

Notifications You must be signed in to change notification settings

mohamadkhalaj/tradingView-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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.