/tradingview-web-socket

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

Primary LanguageHTML

2020-12-30

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
// Copy the charting_library file in the tradingview-web-socket directory to the tradingview-web-socket/react-typescript-demo/public directory
cd react-typescript-demo
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
// Copy the charting_library file in the tradingview-web-socket directory to the tradingview-web-socket/vue-javascript-demo/public directory
cd vue-javascript-demo
yarn install
yarn serve