Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.71 KB

README.md

File metadata and controls

66 lines (41 loc) · 1.71 KB

a-udf

This project was bootstrapped with Fastify-CLI.

截图

简介

适用于 Tradingview charting_library 的国内数据源 UDF 接口

本仓库不提供图表库 charting_library 本体,可自行申请获取,或搜索其他人提供

可参考 TradingView 中文开发文档 等资料

功能

接入的数据源:

  • 搜索建议:东方财富
  • A 股、主要指数:东方财富(日 K、近期分时 K)
  • 中证指数(15 秒线需开启 seconds_resolution
  • 国证指数等
  • 港股
  • 其他

实现的接口:

  • /time 服务器时间
  • /config 图表库配置
  • /symbols 「商品代码」之配置
  • /symbol_info 「商品代码」集合
  • /search 搜索建议
  • /history K 线数据
  • /marks K 线上方标记(目前有:龙虎榜,建议前端配合 onMarkClick
  • /timescale_marks 时间轴上标记

以下为绘图存储接口(官方实现 demo):

  • /charts
  • /study_templates
  • /drawing_templates

相关

tradingview-ashare:Tradingview A 股助手,含同花顺自选股同步等功能

Available Scripts

In the project directory, you can run:

npm run dev

To start the app in dev mode.
Open http://localhost:3000 to view it in the browser.

npm start

For production mode

npm run test

Run the test cases.

Learn More

To learn Fastify, check out the Fastify documentation.