matplotlib / matplotlib/mplfinance
How to display only the last 50 bars with renko?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
reading only the last 50 rows from the csv file is not suitable for not timebased charts, or when the timebased data file's granulation differs from the plotted timeframe.
Though, dropping some of the bars from the left will be also a task for the animation also,
I'm asking it if there are already a solution for it?
(did not found in the codes a 'maxbars' like property)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that reads CSV data, builds Renko and other non-time-based plots, and drives animation. Determine how a maximum visible bar count could work when source granularity differs from the plotted timeframe, and consider the issue resolved when only the requested last 50 bars remain visible during plotting and animation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100