Home
Softono
TradingView-API

TradingView-API

Open source Python
205
Stars
33
Forks
5
Issues
8
Watchers
2 years
Last Commit

About TradingView-API

📈 Get real-time stocks from TradingView

Platforms

Web Self-hosted

Languages

Python JavaScript

Links

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.