/tradingview-web-socket

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

Primary LanguageHTML

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