Giter VIP home page Giter VIP logo

hope2's People

Contributors

moneyice avatar wakakalyg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hope2's Issues

需要新增一个首页report 列表配置接口

需求:动态配置手机端展示的 report 种类。当后端有新的数据报告类型时,不需要发布APP,就可以在APP内展示新的数据报告。

接口要求:

payload:[
{
"name":String, // 报告名称
"router":[BackTracking|ReportDetail], // 跳转页面,默认使用ReportDetail
"url":String,// 报告详情数据接口地址。
}
]

占位符:
$START_DATE 开始日期
$HOST 服务器域名
例子:

[
  {
    "name": "昨日重现(算法收益回溯)",
    "router": "BackTracking",
    "url": "$HOST/backtracking/$STOCK_NUM?startDate=$START_DATE"
  },
  {
    "name": "Demark(优选股票)",
    "router": "ReportDetail",
    "url": "$HOST/demark?days2Now=200"
  },
  {
    "name": "DeMark",
    "router": "ReportDetail",
    "url": "$HOST/analysis/Demark/daily"
  },
  {
    "name": "短期放量",
    "router": "ReportDetail",
    "url": "$HOST/analysis/SuddentHighVolume/daily"
  },
  {
    "name": "短期放量简化版",
    "router": "ReportDetail",
    "url": "$HOST/analysis/SuddentHighVolumeLite/daily"
  },
  {
    "name": "短期涨",
    "router": "ReportDetail",
    "url": "$HOST/analysis/SuddentIncrease/daily"
  },
  {
    "name": "短期缩量",
    "router": "ReportDetail",
    "url": "$HOST/analysis/SuddentLowVolume/daily"
  },
  {
    "name": "昨日重现",
    "router": "ReportDetail",
    "url": "$HOST/analysis/YesterdayOnceMore/daily"
  },
  {"name": "新股", "router": "ReportDetail", "url": "$HOST/analysis/IPO/daily"},
  {
    "name": "日线MACD上穿",
    "router": "ReportDetail",
    "url": "$HOST/analysis/MACD/daily"
  },
  {
    "name": "日线MACD上穿高级版",
    "router": "ReportDetail",
    "url": "$HOST/analysis/MACDAdvance/daily"
  },
  {
    "name": "周线MACD上穿",
    "router": "ReportDetail",
    "url": "$HOST/analysis/MACD/weekly"
  },
  {
    "name": "月线MACD上穿",
    "router": "ReportDetail",
    "url": "$HOST/analysis/MACD/monthly"
  },
]

etf 接口数据类型与其他的 anaylsis 返回结构不一致

问题:
/etf接口回来的数据结构与 /analysis/Demark/daily 结构不一致,导致前端需要针对etf 进行定制适配。

预期结果:
所有分析结果保持一致的返回数据格式。例如:

{
description: "Demark 指标 1、Buy-Setup:买入结构的条件是连续9T或以上的收盘价低于先前第4个T的收盘价,视为一个完整的买入结构。(注:这里的限定条件是“连续”9T或以上,期间不能中断)2、Buy-Countdown:每当某个收盘价低于先前第2个T的最低价时计数增加1,计数可以不连续,当计数增加到13个交易日意味着卖盘动能已经耗尽,往往是下跌趋势的反转点。(注:这里的限定条件是累计13个T,不要求是“连续”的,期间可以中断) ",
generateTime: "2021-01-16T12:10:32.744",
resultList: [ ]
}

Stock-service异常报错

Error creating bean with name 'fundsController': Unsatisfied dependency expressed through field 'fundProfileMapDB'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fundProfileMapDB' defined in class path resource [com/qianyitian/hope2/stock/config/MapdbConfig.class]: Unsatisfied dependency expressed through method 'fundProfileMapDB' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mapdb' defined in class path resource [com/qianyitian/hope2/stock/config/MapdbConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.mapdb.DB]: Factory method 'mapdb' threw exception; nested exception is org.mapdb.DBException$VolumeIOError

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.