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

Sweatnessstrong/TradingView-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

tradingView-API

tradingview socket api for fetching real time prices.

How to run

git clone https://github.com/Sweatnessstrong/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.