Giter VIP home page Giter VIP logo

hq-stocks's Introduction

HQ-stocks

简介

  • 这是一个Go实现的简单策略的股票图形化程序;
  • 选择了聚宽数据平台的股票数据;
  • 主要通过2015-2019的财务数据,选择了平均Roe大于15%的A股股票,
  • 展示了 ROE 、PE、PB柱状图,同时将三个数据作为雷达图展示

示例图

ROE

项目依赖

文件说明

  • ./src/assets/conf.json 基础配置文件
  • ./src/assets/stock.json 默认股票数据文件
  • bar.html 静态文件,可以不依赖程序直接使用**

配置说明

  • ./src/assets/conf.json 基础配置文件
{
    "forceLoad":false,//是否强制加载最新的股票数据
    "host":"http://127.0.0.1:8080",// 本地服务地址配置
    "minRoe":15.0,// 从聚宽数据平台获取股票数据的最小roe
    "maxRoe":1000.0,// 从聚宽数据平台获取股票数据的最大roe
    "showMinRoe":30.0,// 展示时,显示的最小ROE
    "showMaxRoe":55.0,// 展示时,显示的最大ROE
    "apiAccount":"18200000000", // 聚宽数据平台账号[如果强只获取,需要配置]
    "apiPwd":"ECD928a6bf8eec8ba1"// 聚宽数据平台密码[如果强只获取,需要配置]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.