GithubHelp home page GithubHelp logo

czsc_web_ui's Introduction

缠中说禅技术分析工具网页

使用 Tushare Pro / 聚宽 / 掘金 / 天勤 的数据进行缠中说禅技术分析结果展示

启动方法

  1. 执行 pip install -r requirements.txt 安装环境

  2. 确定所要使用的数据源,完成相关设置

  3. 执行对应的数据源的脚本启动服务,不要改端口!!!

    python run_ts_web.py - 启动使用 Tushare Pro 数据的前端页面

    python run_jq_web.py - 启动使用 聚宽 数据的前端页面

    python run_gm_web.py - 启动使用 掘金 数据的前端页面

    python run_tq_web.py - 启动使用 天勤 数据的前端页面

启动后在本地 8005 端口访问服务,在对应的脚本中可以看到示例; 其中,ts_code 为对应的标的代码;trade_date 为交易日期,freqs 为K线周期

czsc_web_ui's People

Contributors

zengbin93 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

czsc_web_ui's Issues

python run_jq_web.py运行报错

Traceback (most recent call last):
File "run_jq_web.py", line 15, in
from czsc import KlineAnalyze
ImportError: cannot import name 'KlineAnalyze' from 'czsc' (/opt/anaconda3/lib/python3.7/site-packages/czsc/init.py)

全局查询“KlineAnalyze”,没有找到,这个是在哪里引用的

安装错误

pip install -r requirements.txt
有下面的错误
ERROR: Could not find a version that satisfies the requirement gm (from -r requirements.txt (line 8)) (from versions: none)
ERROR: No matching distribution found for gm (from -r requirements.txt (line 8))

我先后安装了
brew install imagemagick
brew install graphicsmagick
brew install node
npm install gm
还是不行

run_ts_web.py的144行ka.kline,无法读取变量

您好,在run_ts_web.py的144行使用了ka.kline,但是KlineAnalyze中并没有kline变量,只有kline_new和kline_raw变量,而且kline_new中不包含 'fx_mark', 'fx', 'bi', 'xd' 列。本地直接运行会出错,能指导一下应该怎么处理么?

ka = KlineAnalyze(kline)
kline = pd.DataFrame(ka.kline)
kline = kline.fillna("")
columns = ["dt", "open", "close", "low", "high", "vol", 'fx_mark', 'fx', 'bi', 'xd']

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.