Mathieu2301/TradingView-API

📈 Get real-time stocks from TradingView

4,766

stars

255

commits

JavaScript

primary language

Jun 23, 2026

updated

backtesting
backtesting-trading-strategies
bitcoin
charts
crypto
cryptocurrency
ethereum
realtime-stocks
stocks
stocks-api
stocks-prices
trading
tradingview
tradingview-api
tradingview-indicator
tradingview-replay
tradingview-scraper

README

TradingView API GitHub stars

Tests CodeFactor GitHub latest commit Npm package yearly downloads Minimum node.js version Npm package version

Get realtime market prices and indicator values from Tradingview !

🟢 Need help with your project?

🚀 Click here for personalized assistance on your project.

🔵 Telegram group

👉 To get help, exchange tips, find collaborators, developers, missions, etc...

Join the Telegram group of the TradingView-API Community: t.me/tradingview_api

Features

  • Premium features
  • Automatically backtest many strategies and try many settings in a very little time
  • Get drawings you made on your chart
  • Works with invite-only indicators
  • Unlimited simultaneous indicators
  • Realtime
  • Get TradingView's technical analysis
  • Replay mode + Fake Replay mode (for free plan)
  • Get values from a specific date range
  • TradingView socket server emulation
  • Interract with public chats
  • Get Screener top values
  • Get Hotlists
  • Get Calendar
  • IF YOU WANT A FEATURE, ASK ME !

Possibilities

  • Trading bot
  • Discord alerts
  • Hard backtest
  • Machine Learning based indicator
  • Free replay mode for all timeframes

Installation

Stable version:

npm i @mathieuc/tradingview

Last version:

npm i github:Mathieu2301/TradingView-API

Examples

You can find all the examples and snippets in ./examples folder.

Before opening an issue

Please look at examples and previously resolved issues before opening a new one. I can't help everyone (especially for questions that are not library related but JavaScript related). Thank you for your understanding.


Problems

If you have errors in console or unwanted behavior, please create an issue here.

Contributors

Mathieu2301

217 commits

clins1994

10 commits

brandonros

6 commits

Mathieu2301/TradingView-API

📈 Get real-time stocks from TradingView

4,766

stars

255

commits

JavaScript

primary language

Jun 23, 2026

updated

backtesting
backtesting-trading-strategies
bitcoin
charts
crypto
cryptocurrency
ethereum
realtime-stocks
stocks
stocks-api
stocks-prices
trading
tradingview
tradingview-api
tradingview-indicator
tradingview-replay
tradingview-scraper

README

TradingView API GitHub stars

Tests CodeFactor GitHub latest commit Npm package yearly downloads Minimum node.js version Npm package version

Get realtime market prices and indicator values from Tradingview !

🟢 Need help with your project?

🚀 Click here for personalized assistance on your project.

🔵 Telegram group

👉 To get help, exchange tips, find collaborators, developers, missions, etc...

Join the Telegram group of the TradingView-API Community: t.me/tradingview_api

Features

  • Premium features
  • Automatically backtest many strategies and try many settings in a very little time
  • Get drawings you made on your chart
  • Works with invite-only indicators
  • Unlimited simultaneous indicators
  • Realtime
  • Get TradingView's technical analysis
  • Replay mode + Fake Replay mode (for free plan)
  • Get values from a specific date range
  • TradingView socket server emulation
  • Interract with public chats
  • Get Screener top values
  • Get Hotlists
  • Get Calendar
  • IF YOU WANT A FEATURE, ASK ME !

Possibilities

  • Trading bot
  • Discord alerts
  • Hard backtest
  • Machine Learning based indicator
  • Free replay mode for all timeframes

Installation

Stable version:

npm i @mathieuc/tradingview

Last version:

npm i github:Mathieu2301/TradingView-API

Examples

You can find all the examples and snippets in ./examples folder.

Before opening an issue

Please look at examples and previously resolved issues before opening a new one. I can't help everyone (especially for questions that are not library related but JavaScript related). Thank you for your understanding.


Problems

If you have errors in console or unwanted behavior, please create an issue here.

Contributors

Mathieu2301

217 commits

clins1994

10 commits

brandonros

6 commits

Languages

JavaScript

74.0%

TypeScript

26.0%