项目 / Mathieu2301/TradingView-API

Mathieu2301/TradingView-API

行业推荐
语言 TypeScript标签 tradingviewtradingview-apirealtime-stocksstocksstocks-apistocks-pricestradingtradingview-scrapertradingview-indicatorbitcoinethereumcryptocurrencybacktestingbacktesting-trading-strategiescryptochartstradingview-replay数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

📈 Get real-time stocks from TradingView

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
📈 Get real-time stocks from TradingView
5,933累计星
1,033Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

量化研究与策略回测

适配系统:量化投研平台、行情终端 · 得分 2.8

内置行情接入、因子计算与回测框架,可作为投研团队的策略实验与绩效归因底座。

BI 可视化与自助分析

适配系统:BI/报表平台、自助分析平台 · 得分 1.2

提供图表渲染与自助取数能力,可作为业务看板与经营管理分析的展示层。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
从入门文档、数据 API、回测、底层 API 和示例目录进入,查看 TradingView-API 的使用方式。
特点或设计要点
可获取实时K线与报价、内置及Pine指标值、策略报告、无未来函数回测、回放模式、指定日期范围值、筛选器、自选和图表绘图。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-14 · 语言 TypeScript · 贡献者 —
typescript

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 3,011 字节。

# TradingView API [![GitHub stars](https://img.shields.io/github/stars/Mathieu2301/TradingView-API.svg?style=social&label=Star)](https://github.com/Mathieu2301/TradingView-API/stargazers)

[![Tests](https://github.com/Mathieu2301/TradingView-API/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/Mathieu2301/TradingView-API/actions/workflows/tests.yml)
[![CodeFactor](https://www.codefactor.io/repository/github/mathieu2301/tradingview-api/badge/main)](https://www.codefactor.io/repository/github/mathieu2301/tradingview-api/overview/main)
[![npm downloads](https://badgen.net/npm/dt/@mathieuc/tradingview)](https://www.npmjs.com/package/@mathieuc/tradingview)
[![npm version](https://badgen.net/npm/v/@mathieuc/tradingview)](https://www.npmjs.com/package/@mathieuc/tradingview)

<a href="https://trendshift.io/repositories/26416?utm_source=repository-badge&amp;utm_medium=badge&amp;utm_campaign=badge-repository-26416" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/26416" alt="Mathieu2301/TradingView-API | #1 Repo Of The Day on Trendshift" width="250" height="55"/></a>

Get realtime market prices, indicator values and backtests from TradingView! 📈

🌐 English · [Français](docs/README.fr.md) · [Español](docs/README.es.md) · [Português](docs/README.pt.md)

## 🟢 Need help with your project?

🚀 **[Click here to get help with your project](https://molted.studio/dreams/ai-agent-for-tradingview-data?utm_source=github&utm_medium=readme&utm_campaign=tradingview-api&utm_content=need-help)**

<a href="https://molted.studio/dreams/ai-agent-for-tradingview-data?utm_source=github&utm_medium=readme&utm_campaign=tradingview-api&utm_content=film"><img src="assets/readme-film.webp" alt="Film: a trader gets help from an AI agent that installs TradingView-API, backtests the setup and runs it on a demo account" width="100%"></a>

## ✨ 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](https://github.com/Mathieu2301/TradingView-API/issues/new/choose)

## 📦 Installation

```bash
npm i @mathieuc/tradingview
```

📚 [Getting started](docs/getting-started.md) · [Data API](docs/data-api.md) · [Backtest](docs/backtest.md) · [Low-level API](docs/low-level-api.md) · [Examples](examples)

## 🐛 Problems

If you have errors or unwanted behavior, please [open an issue](https://github.com/Mathieu2301/TradingView-API/issues/new/choose).

___

<sub>Independent community project. TradingView is a trademark of its respective owner; this project is not affiliated with or endorsed by TradingView.</sub>
↑