Skip to content

The tradingView middle layer for Vue/React, supports https+websocket mode and websocket single mode

Notifications You must be signed in to change notification settings

pgkk/tradingview-web-socket

 
 

Repository files navigation

2021-03-12

English | 简体中文 | 繁體中文

To browse the old version, please switch branches to view

tradingview-api

The Typescript project can directly copy the content of the datafeed file for use or secondary development, and the Javascript project can be installed by the following package name:

yarn add tradingview-api

Example

Vue Example

React Example

Preview address

Screenshot

Run React demo

Interface data comes from HuoBi API

git clone https://github.com/472647301/tradingview-web-socket

cd tradingview-web-socket

cd react-typescript-demo

cp -R ../charting_library ./public

yarn install

yarn start

Run Vue demo

Interface data comes from HuoBi API

git clone https://github.com/472647301/tradingview-web-socket

cd tradingview-web-socket

cd vue-javascript-demo

cp -R ../charting_library ./public

yarn install

yarn serve

Run Vue3 demo

Interface data comes from HuoBi API

git clone https://github.com/472647301/tradingview-web-socket

cd tradingview-web-socket

cd vue3-javascript-demo

cp -R ../charting_library ./public

yarn install

yarn serve

About

The tradingView middle layer for Vue/React, supports https+websocket mode and websocket single mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.8%
  • TypeScript 2.2%
  • JavaScript 1.6%
  • Other 1.4%