GithubHelp home page GithubHelp logo

sunnyruin / chanlun Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yijixiuxin/chanlun-pro

0.0 0.0 0.0 6.79 MB

基于缠中说禅所讲缠论理论,以便量化分析市场行情的工具

Python 100.00%

chanlun's Introduction

历史行情缠论分析工具


chanlun 是一个基于缠中说禅理论,用于历史行情数据分析的 Python 包。

可用于量化交易、Jupyter 分析、以及 Html 页面展示。

项目 GitHub 地址 : https://github.com/yijixiuxin/chanlun

主要功能

目前,chanlun 已经实现以下功能:

  • 分型
  • 线段
  • 中枢
  • 买卖点
  • 背驰
  • 趋势
  • 多级别分析

付费项目介绍

chanlun-pro

安装

用 pip 安装

pip install -U chanlun

本地编译安装

git clone https://github.com/yijixiuxin/chanlun.git
cd chanlun
python3 setup.py install

使用示例

使用示例.ipynb

import pandas as pd
from chanlun import cl
from chanlun import kcharts

# 获取 行情K线数据
code = 'SH.688122'
frequency = '30m'
klines = pd.read_csv('./data/688122.csv')

# 依据 K 线数据,计算缠论数据
cl_data = cl.CL(code, frequency).process_klines(klines)
chart = kcharts.render_charts('%s - %s' % (code, frequency), cl_data)
# 图标展示
chart

实际效果展示

Demo-1

有 bug 请在这个页面提交: https://github.com/yijixiuxin/chanlun/issues

缠论交流,可加微信 【添加请备注: 缠论。否则不会添加通过】

微信

赞助

开发维护不易,如果觉得项目对你有帮助,还请多多支持

微信支付

chanlun's People

Contributors

yijixiuxin avatar

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.