matplotlib / matplotlib/mplfinance

Question about Renko chart contruction

Open
#679 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
4.4k
Forks
678
PR merge metrics
No merged PRs in 30d

Description

I think I have a misunderstanding about how Renko chart is constructed.

My question is

Looking at renko_bricks and renko_dates obtained by using return_calculated_values, Isn't it supposed to have a one-to-one relationship between renko_bricks and renko_dates? On a specific day, we might have one brick or not based on brick calculation which is I know. But there are duplicate renko_dates.

Can someone explain that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the question using a Renko chart and inspect the values returned by renko_bricks, renko_dates, and return_calculated_values. First determine whether duplicate dates are expected behavior, then identify the relevant documentation or explanation needed so the relationship between bricks and dates is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.