Mathieu2301 /TradingView-API
📈 Get real-time stocks from TradingView
★ 5,897⑂ 1,025👁 71⑃ 101● 175▤ 19
+9
Daily
5,897
stars
1,025
forks
71
watchers
101
prs
175
issues
19
releases
README
TradingView API Get realtime market prices, indicator values and backtests from TradingView! 📈 🌐 English · Français · Español · Português 🟢 Need help with your project? 🚀 Click here to get help with your project ✨ Features - ✅ Realtime candles and quotes - ✅ Indicator values: built-in and Pine indicators, invite-only included (with access) - ✅ Strategy reports - ✅ Honest backtests: no look-ahead, fees, random-entry baseline - ✅ Replay mode + fake replay mode (free plan) - ✅ Values for a specific date range - ✅ Screener and hotlists - ✅ Your watchlists and the drawings on your charts - ✅ TradingView's technical analysis - 💡 Want a feature? Ask here 📦 Installation bash npm i @mathieuc/tradingview 📚 Getting started · Data API · Backtest · Low-level API · Examples 🐛 Problems If you have errors or unwanted behavior, please open an issue. ___ Independent community project. TradingView is a trademark of its respective owner; this project is not affiliated with or endorsed by TradingView.
Top issues
#30Can I Hire You To Set This Up For Me?59 comments · 2021-12-09#79Where can I find the chart_id for getDrawings?15 comments · 2022-03-05#202`TradingView.loginUser` fails : 'Please confirm that you are not a robot by clicking the captcha box.'13 comments · 2023-05-29#182Can't load indicator - (Study error: Study not allowed in this connection)10 comments · 2023-03-09#24Renko chart's indicator value does not match GUI-based TradingView's, given same configurations8 comments · 2021-11-21#222Wrong or expired sessionid/signature - all time7 comments · 2023-11-19#101FakeReplay always returning the same day7 comments · 2022-05-31#136Alerts management6 comments · 2022-09-04
Discussions
#340A visual, AI-assisted platform built on TradingView-API3 comments · 2026-10-05#297Access the screener?0 comments · 2025-05-28#290Futures Trading0 comments · 2025-04-18#284Fetching Real-Time Latest Data2 comments · 2025-03-12#261TradingView API Keys1 comments · 2024-09-18#254Problem with get private indicator1 comments · 2024-08-31#247indicator: "undefined" ...Recent update to Trading view api policy.0 comments · 2024-08-07#233Using Historical Data from local .CSV text files on HDD0 comments · 2024-02-22
Latest release
v4.1.1 v4.1.1 2026-11-034.1.1 Release channel: latest. Patch release: no API change for 4.1.0 users. Pine studies: "Can't parse pine" Since 27 Oct 2026, every Pine study failed on the chart with study_error "Can't parse pine": built-in (STD;), public (PUB;) and private (USER;) scripts alike, on 3.5.x and 4.x (354). TradingView moved the compiled script out of pine-facade/translate's result.ilTemplate: first to the hidden text input, then to result.metaInfo.defaults.inputs.text. getIndicator() now reads all three locations, so a rollback on TradingView's side keeps working, and throws a clear PARSE_ERROR when non