TradingView-API README

项目的 README,来自 github.com/Mathieu2301/TradingView-API。合并为一个 markdown 文件:README.md。

TradingView API GitHub stars

Tests CodeFactor npm downloads npm version

Mathieu2301/TradingView-API | #1 Repo Of The Day on Trendshift

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

Film: a trader gets help from an AI agent that installs TradingView-API, backtests the setup and runs it on a demo account

✨ Features

📦 Installation

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.

TradingView-API (Mathieu2301/TradingView-API)

正在搜索数据库…

这是什么?一个 Node.js 库,可以直接从 TradingView 获取股票、加密货币和外汇的实时价格以及指标数值,不需要官方 API 密钥。
这是一个库,还是独立应用?它是一个 JavaScript/TypeScript 库,需要导入到你自己的 Node.js 项目中使用,不是独立应用或图形界面。
怎么安装和使用?安装这个 npm 包,然后把 ./examples 文件夹里自带的示例当作起点,编写你自己的脚本。
提 issue 之前应该先检查什么?作者要求先查看示例和以前已解决的 issue,并说明与这个库本身无关的一般性 JavaScript 问题恕不解答。
它对谁有用?适合基于 TradingView 实时或历史数据开发交易机器人、Discord 价格提醒、回测工具或机器学习指标的开发者。
它能访问付费或邀请制的指标吗?可以,该库声称不仅支持公开指标,还能使用付费功能和邀请制指标。
回放模式是做什么用的?它让你可以模拟图表回放功能(免费套餐账户则提供模拟版本),用来在不同时间周期和日期范围内回测策略。
能快速回测多个策略吗?可以,它支持在短时间内自动回测大量策略和参数组合。
能通过 API 获取我自己在图表上画的线吗?可以,该库能够取回你在自己的 TradingView 图表上绘制的画线。
大小
7.4 MB
星标
6K
时长
5年
提交 · 90 天