matplotlib / matplotlib/mplfinance

Point-and-figure chart function issue

Offen
#453 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement question
Vorherrschende Sprache
Python
Sterne
4.4k
Forks
678
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I used the point-and-figure chart function of mplfinance and have two issue. One is that the point-and-figure chart does not strictly follow the 1:1 ratio to draw each cell, that is, we can think of the canvas as a grid of countless 1:1 squares, and each X or O appears in the grid in order, no matter if it is enlarged or reduced our chart, this ratio is no change. The purpose of this is that the point-and-figure chart has an important technology called the “45-degree trend line”. We can use it to judge the later trend. If the point-and-figure chart is not drawn to scale, for example, there is a certain distance between the two columns, then the “45-degree trend line” loses its meaning.

The second issue is could the mplfinance can add a function, that is, the lines of every 5 rows and every 5 columns are thickened, just like the real graphics drawn on paper.

Thanks a lot for nice work of mplfinance.

Point-and-figure on paper sample:

http://www.forexalchemy.com/wp-content/uploads/2015/04/point-and-figure-chart.jpg

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Point-and-Figure-Chart-Funktion von mplfinance zu lokalisieren, und reproduziere beide gemeldeten Verhaltensweisen mit einem kleinen Chart. Prüfe, wie Zellabmessungen und Spaltenabstände berechnet werden, und definiere anschließend Tests für ein festes 1:1-Raster sowie für dickere Linien alle fünf Zeilen und Spalten. Als abgeschlossen gilt die Aufgabe, wenn der Chart das Rasterverhältnis bei verschiedenen Größen beibehält und die angeforderten Hilfslinien im Papierstil rendert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
matplotlib, python
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.