Giter VIP home page Giter VIP logo

Comments (5)

chzhshch-new avatar chzhshch-new commented on July 24, 2024

要附上相应的代码与对应时间周期。
肯定是不对的。顶底共用K线了。

from czsc.

zengbin93 avatar zengbin93 commented on July 24, 2024

@rabbit666666 按原文,这里肯定是不构成笔。如果要按原文画笔,环境变量参数相应的要调整。参考 https://github.com/waditu/czsc/blob/master/czsc/envs.py

from czsc.

rabbit666666 avatar rabbit666666 commented on July 24, 2024

谢谢回复。请问,是“ czsc_min_bi_len”参数吗?我是用的是默认的“6”,绘制结果就是上面的图。

请问,是不是还有别的参数?

from czsc.

rabbit666666 avatar rabbit666666 commented on July 24, 2024

我用的是BTCUSDT的数据,4小时数据,这两根K线是:2022-7-01 4:00~8:00和 2022-7-01 8:00~12:00,时区是UTC+8.

做的修改:
1:代码我就是用的quick_start.py的示例代码,把获取的数据转换成了RawBar。
2:模拟F60,增加了一个F240的频率。
3.:针对F240,增加了4小时间隔的时刻。

其余的就没了。

from czsc.

Inblac avatar Inblac commented on July 24, 2024

新版czsc增加了涨跌幅度条件成笔,不是原文的条件。
bi_change_th ,看环境变量定义 https://github.com/waditu/czsc/blob/master/czsc/envs.py

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.