how to show more area at the far right side of the Ichimoku Cloud Chart
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- matplotlib, python
- Domain
- data-visualization
Research direction
The issue mentions mplfinance plotting, xlim(), and shifted Ichimoku lines, but provides no source file, runnable example, or test to start from. Reproduce the reported chart behavior with the supplied screenshots and determine what complete future cloud rendering should look like before adding a regression test.
Written by the indexing model from the issue text.
Description
Greeting!
I am a newbie in Python, and I greatly appreciate this brilliantly made built-in package for visualization of yfinance data.
I am learning and trying to plot the Ichimoku Cloud Chart, and found that the plot displayed would show with the x-axis limited at the latest data date, while the Ichimoku indicator actually would plot the cloud area 26days into future.
I tried to extend the x-axis using the xlim() function to extend 1 month into future, but the cloud still is not shown in the plot.
I have checked and make sure that in my calculations, the shift() function is applied to the calculation of the 3 lines, Leading Span A, Leading Span B, and Lagging Span. Thus I believe that there would be data to be plotted for the future date.
The first chart below is the plot generated from my broken code.
And the lower chart is a chart I got from a free online platform. I target to make my plot look more or less like this.
May I get help on how I can correctly plot the cloud for the Ichimoku chart?
Thanks in advance.
This is the chart plotted from my broken python code
This is the chart I got from a free online platform. I target to make my plot look more or less like this.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
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.
More from matplotlib/mplfinance
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
matplotlib/mplfinance#672 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
matplotlib/mplfinance#700 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
matplotlib/mplfinance#695 ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 52/100
matplotlib/mplfinance#690 · 5 comments ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 15/100
matplotlib/mplfinance#689 ·
All issues in matplotlib/mplfinance
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·