Skip to content

用node搭建的websocket服务,用来渲染tradeview表格

Notifications You must be signed in to change notification settings

caozihao/node-websocket-tradeview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-websocket-tradeview

用node搭建的websocket服务,用来模拟请求(1,拉取历史数据;2.实时推送数据)渲染tradeview表格

启动

npm install
nodemon server.js / node server.js

   

说明

  • 因为用了koa2,所以node版本要 >= 7.6,如果遇到运行时报错的原因,请先试试把node版本升级一下
  • 如果页面被刷新或者websocket被中断,需重启该服务
  • 数据是随机数,可以通过修改config里面的参数来修改数据

About

用node搭建的websocket服务,用来渲染tradeview表格

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published