Giter VIP home page Giter VIP logo

Comments (5)

NoraGithub avatar NoraGithub commented on July 4, 2024

#58 (comment)

背驰、盘整背驰、中枢之类的东西都融合到形态信号里面了

from czsc.

urna avatar urna commented on July 4, 2024

from czsc.

NoraGithub avatar NoraGithub commented on July 4, 2024

class ZS:

from czsc.

a-whitej avatar a-whitej commented on July 4, 2024

代码:000001
开始时间:20230101
结束时间:20240115
环境设置:
os.environ.setdefault('czsc_bi_change_th', "-1")
os.environ.setdefault('czsc_min_bi_len', "7")

from czsc.utils.sig import get_zs_seq
zss = get_zs_seq(bis)

错误:
中枢位置计算不正确,开始和结束是整个走势的开始和结束,非中枢的开始和结束时间。

计算结果如下:
[ZS(sdt=2023-01-30 00:00:00, sdir=向下, edt=2023-06-26 00:00:00, edir=向下, len_bis=5, zg=14.09, zd=13.1, gg=15.36, dd=11.15, zz=13.594999999999999), ZS(sdt=2023-06-26 00:00:00, sdir=向上, edt=2023-10-26 00:00:00, edir=向下, len_bis=2, zg=12.53, zd=11.15, gg=12.53, dd=10.3, zz=11.84), ZS(sdt=2023-10-26 00:00:00, sdir=向上, edt=2023-12-21 00:00:00, edir=向下, len_bis=2, zg=10.69, zd=10.3, gg=10.69, dd=8.99, zz=10.495000000000001), ZS(sdt=2023-12-21 00:00:00, sdir=向上, edt=2023-12-29 00:00:00, edir=向上, len_bis=1, zg=9.48, zd=8.99, gg=9.48, dd=8.99, zz=9.235)]

from czsc.

urna avatar urna commented on July 4, 2024

from czsc.

Related Issues (20)

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.