datoria tehnica: garda pe dash, si PChart intr-un singur loc
Garda: `Level(p, text, color, "left")` punea tacut "left" in `dash` in loc de `label_at`, iar SVG-ul iesea fara linie punctata si fara nicio eroare - trei agenti au pierdut timp pe asta pe 13.09. Acum `__post_init__` crapa cu mesaj care spune ce argument voiai. Verificat pe cazurile valide si pe cele doua gresite. PChart: era copiat in cinci generatoare, iar copiile divergisera - toate cinci aveau hash-uri diferite si patru pastrau `spread()` cel vechi. Nucleul comun trece in gen/pchart.py; 385 de linii sterse, 11 adaugate. az_executie.py isi pastreaza PChart-ul: varianta lui calculeaza mediile dintr-un istoric dinainte de bara 0 si si le deseneaza singura. Unirea celor doua comportamente ca sa scap de un fisier ar fi riscat cele 10 diagrame de acolo, pentru zero castig. Ia doar `spread` reparat. Reparatia schimba 4 documente, deci PROGRESS gresea cand spunea ca nicio diagrama comisa nu sufera de bug: 08 si 10 se misca cu 0,2 px, dar 07 si 09 aveau etichete la 6 px de linia lor. Verificat cu ochii pe 3 diagrame randate - etichetele stau acum pe linia lor, cu liniuta de legatura unde a trebuit mutata. audit_diagrams: 0 probleme. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ThN7ixZrowca8aTGrK1MUJ
This commit is contained in:
@@ -366,9 +366,9 @@ de la RSP, care este S&P-ul equal weight" (17.08)</p>
|
||||
<line x1="36.5" y1="80.0" x2="636.5" y2="80.0" stroke="#c00" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="642.5" y="84.0" fill="#c00">SL 57.50</text>
|
||||
<line x1="36.5" y1="106.4" x2="636.5" y2="106.4" stroke="#777" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="642.5" y="110.4" fill="#777">vârf 1 56.30</text>
|
||||
<text x="642.5" y="107.8" fill="#777">vârf 1 56.30</text>
|
||||
<line x1="36.5" y1="115.2" x2="636.5" y2="115.2" stroke="#188a3e" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="642.5" y="124.4" fill="#188a3e">intrare short 55.90</text>
|
||||
<text x="642.5" y="121.8" fill="#188a3e">intrare short 55.90</text>
|
||||
<line x1="36.5" y1="185.6" x2="636.5" y2="185.6" stroke="#1a5fb4" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="642.5" y="189.6" fill="#1a5fb4">TP 52.70 = 2R</text>
|
||||
<line x1="44.0" y1="238.4" x2="44.0" y2="256.0" stroke="#1a1a1a" stroke-width="1.2"/>
|
||||
@@ -915,17 +915,19 @@ spike-ul e o bară de peste 2x media.</p>
|
||||
<!--SVG:atr_spike-->
|
||||
<p><svg viewBox="0 0 882 447" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;font:12px sans-serif">
|
||||
<text x="24" y="48" fill="#333" style="font-weight:bold">Exemplu construit (fără ticker) — daily, indicele</text>
|
||||
<line x1="651.5" y1="216.8" x2="656.5" y2="210.7" stroke="#b06000" stroke-width="1"/>
|
||||
<line x1="651.5" y1="218.6" x2="656.5" y2="224.7" stroke="#c00" stroke-width="1"/>
|
||||
<line x1="36.5" y1="105.2" x2="651.5" y2="105.2" stroke="#1a5fb4" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="657.5" y="109.2" fill="#1a5fb4">TP2 60.80 = 2R</text>
|
||||
<line x1="36.5" y1="148.4" x2="651.5" y2="148.4" stroke="#1a5fb4" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="657.5" y="152.8" fill="#1a5fb4">TP1 58.40 = 1/2 până la vârf (0.9R)</text>
|
||||
<text x="657.5" y="152.6" fill="#1a5fb4">TP1 58.40 = 1/2 până la vârf (0.9R)</text>
|
||||
<line x1="36.5" y1="180.8" x2="651.5" y2="180.8" stroke="#188a3e" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="657.5" y="184.8" fill="#188a3e">intrare 56.60</text>
|
||||
<line x1="36.5" y1="216.8" x2="651.5" y2="216.8" stroke="#b06000" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="657.5" y="220.8" fill="#b06000">locul crimei 54.60</text>
|
||||
<text x="657.5" y="214.7" fill="#b06000">locul crimei 54.60</text>
|
||||
<line x1="36.5" y1="218.6" x2="651.5" y2="218.6" stroke="#c00" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="657.5" y="234.8" fill="#c00">SL 54.50</text>
|
||||
<text x="657.5" y="138.8" fill="#777">SMA-20</text>
|
||||
<text x="657.5" y="228.7" fill="#c00">SL 54.50</text>
|
||||
<text x="657.5" y="138.6" fill="#777">SMA-20</text>
|
||||
<polyline points="329.0,231.3 344.0,223.0 359.0,215.5 374.0,207.4 389.0,198.1 404.0,188.7 419.0,180.5 434.0,171.8 449.0,165.0 464.0,159.6 479.0,156.3 494.0,154.2 509.0,151.7 524.0,149.2 539.0,147.1 554.0,145.1 569.0,143.1 584.0,141.2 599.0,139.5 614.0,137.8 629.0,136.3 644.0,134.8" fill="none" stroke="#777" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<line x1="44.0" y1="296.0" x2="44.0" y2="308.6" stroke="#1a1a1a" stroke-width="1.2"/>
|
||||
<rect x="39.5" y="299.6" width="9" height="5.4" fill="#188a3e"/>
|
||||
@@ -1080,9 +1082,11 @@ oversold + locul crimei / gap închis / SMA 20</strong>.</p>
|
||||
<!--SVG:atr_nu-->
|
||||
<p><svg viewBox="0 0 702 423" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;font:12px sans-serif">
|
||||
<text x="24" y="48" fill="#333" style="font-weight:bold">Exemplu construit (fără ticker) — daily, indicele</text>
|
||||
<line x1="576.5" y1="145.0" x2="581.5" y2="141.6" stroke="#b06000" stroke-width="1"/>
|
||||
<line x1="576.5" y1="152.3" x2="581.5" y2="155.6" stroke="#777" stroke-width="1"/>
|
||||
<line x1="36.5" y1="145.0" x2="576.5" y2="145.0" stroke="#b06000" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="582.5" y="149.0" fill="#b06000">locul crimei 54.80</text>
|
||||
<text x="582.5" y="163.0" fill="#777">SMA-20</text>
|
||||
<text x="582.5" y="145.6" fill="#b06000">locul crimei 54.80</text>
|
||||
<text x="582.5" y="159.6" fill="#777">SMA-20</text>
|
||||
<polyline points="329.0,166.8 344.0,159.9 359.0,153.8 374.0,148.9 389.0,144.0 404.0,140.1 419.0,137.5 434.0,134.9 449.0,133.4 464.0,133.3 479.0,134.2 494.0,134.3 509.0,136.2 524.0,139.0 539.0,142.7 554.0,147.6 569.0,152.3" fill="none" stroke="#777" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<line x1="44.0" y1="262.0" x2="44.0" y2="285.4" stroke="#1a1a1a" stroke-width="1.2"/>
|
||||
<rect x="39.5" y="269.8" width="9" height="7.8" fill="#188a3e"/>
|
||||
@@ -1656,16 +1660,18 @@ mare, atenție la tranzacții în jurul orei (04.09).</p>
|
||||
<!--SVG:cpi_da-->
|
||||
<p><svg viewBox="0 0 734 475" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;font:12px sans-serif">
|
||||
<text x="24" y="48" fill="#333" style="font-weight:bold">Exemplu construit (fără ticker) — daily, indicele</text>
|
||||
<line x1="621.5" y1="207.6" x2="626.5" y2="202.4" stroke="#b06000" stroke-width="1"/>
|
||||
<line x1="621.5" y1="212.0" x2="626.5" y2="216.4" stroke="#c00" stroke-width="1"/>
|
||||
<line x1="36.5" y1="99.8" x2="621.5" y2="99.8" stroke="#1a5fb4" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="627.5" y="103.8" fill="#1a5fb4">TP 60.30 = 2R</text>
|
||||
<line x1="36.5" y1="174.6" x2="621.5" y2="174.6" stroke="#188a3e" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="627.5" y="178.6" fill="#188a3e">intrare 56.90</text>
|
||||
<line x1="36.5" y1="207.6" x2="621.5" y2="207.6" stroke="#b06000" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="627.5" y="211.6" fill="#b06000">range high 55.40</text>
|
||||
<text x="627.5" y="206.4" fill="#b06000">range high 55.40</text>
|
||||
<line x1="36.5" y1="212.0" x2="621.5" y2="212.0" stroke="#c00" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="627.5" y="225.6" fill="#c00">SL 55.20</text>
|
||||
<text x="627.5" y="220.4" fill="#c00">SL 55.20</text>
|
||||
<line x1="36.5" y1="229.6" x2="621.5" y2="229.6" stroke="#b06000" stroke-width="1.5" stroke-dasharray="4 3"/>
|
||||
<text x="627.5" y="239.6" fill="#b06000">range low 54.40</text>
|
||||
<text x="627.5" y="234.4" fill="#b06000">range low 54.40</text>
|
||||
<line x1="44.0" y1="319.8" x2="44.0" y2="337.4" stroke="#1a1a1a" stroke-width="1.2"/>
|
||||
<rect x="39.5" y="326.4" width="9" height="4.4" fill="#188a3e"/>
|
||||
<line x1="59.0" y1="308.8" x2="59.0" y2="333.0" stroke="#1a1a1a" stroke-width="1.2"/>
|
||||
|
||||
Reference in New Issue
Block a user