- xframe::load_ohlcv_csv / parse_ohlcv_csv_text in StockData.h: date,open,high,low,close,volume, optional header matched by name (Massive exports load as-is), YYYY-MM-DD / ISO / epoch s-ms-ns dates, volume optional, malformed rows skipped + counted, error string out. - 15 single-series widgets gain load_csv() + clear_series(); 8 comparative widgets gain add_series_csv(); failure leaves the series untouched. Drawing tools intentionally excluded (coordinates, not series); Ind* widgets take CSV only via the constructor. - Fixtures tests/data/ohlcv_sample.csv (+ _b, 30 rows each) and widgets/tests/csv_unit_test.cpp + test_stock_csv.py (23/23 PASS: CSV shot differs from template shot, 30 items, bad path exits 2). - docs/stock-market-csv-data.md + CSV sections in the stock group docs.
1.4 KiB
1.4 KiB
| 1 | date | open | high | low | close | volume |
|---|---|---|---|---|---|---|
| 2 | 2026-11-02 | 150.00 | 150.78 | 149.40 | 150.60 | 915898 |
| 3 | 2026-11-03 | 150.60 | 151.98 | 150.50 | 151.62 | 1611897 |
| 4 | 2026-11-04 | 151.62 | 152.06 | 151.51 | 151.64 | 945140 |
| 5 | 2026-11-05 | 151.64 | 153.19 | 151.48 | 152.44 | 1157182 |
| 6 | 2026-11-06 | 152.44 | 154.50 | 151.90 | 153.64 | 1434688 |
| 7 | 2026-11-09 | 153.64 | 155.63 | 152.86 | 155.54 | 1263374 |
| 8 | 2026-11-10 | 155.54 | 155.93 | 155.23 | 155.78 | 2105802 |
| 9 | 2026-11-11 | 155.78 | 156.63 | 155.19 | 156.09 | 1395836 |
| 10 | 2026-11-12 | 156.09 | 157.24 | 155.99 | 157.14 | 1129533 |
| 11 | 2026-11-13 | 157.14 | 158.86 | 156.82 | 158.45 | 1736898 |
| 12 | 2026-11-16 | 158.45 | 159.61 | 157.72 | 159.31 | 1918391 |
| 13 | 2026-11-17 | 159.31 | 160.29 | 158.81 | 159.75 | 2200219 |
| 14 | 2026-11-18 | 159.75 | 160.04 | 157.37 | 158.25 | 988905 |
| 15 | 2026-11-19 | 158.25 | 158.94 | 155.76 | 155.94 | 1582340 |
| 16 | 2026-11-20 | 155.94 | 156.56 | 151.94 | 152.64 | 1716841 |
| 17 | 2026-11-23 | 152.64 | 152.96 | 150.88 | 151.52 | 1750991 |
| 18 | 2026-11-24 | 151.52 | 151.96 | 148.87 | 149.63 | 2311489 |
| 19 | 2026-11-25 | 149.63 | 150.24 | 147.36 | 147.46 | 1922387 |
| 20 | 2026-11-26 | 147.46 | 149.21 | 146.71 | 148.32 | 1255352 |
| 21 | 2026-11-27 | 148.32 | 149.25 | 148.25 | 148.63 | 1538712 |
| 22 | 2026-11-30 | 148.63 | 148.78 | 148.38 | 148.48 | 2029172 |
| 23 | 2026-12-01 | 148.48 | 148.74 | 147.87 | 148.25 | 2194275 |
| 24 | 2026-12-02 | 148.25 | 148.68 | 147.40 | 147.92 | 2213414 |
| 25 | 2026-12-03 | 147.92 | 149.92 | 147.63 | 149.14 | 1464474 |
| 26 | 2026-12-04 | 149.14 | 150.19 | 148.28 | 149.39 | 1041473 |
| 27 | 2026-12-07 | 149.39 | 149.64 | 149.01 | 149.26 | 1575940 |
| 28 | 2026-12-08 | 149.26 | 150.27 | 149.21 | 150.00 | 1470314 |
| 29 | 2026-12-09 | 150.00 | 150.81 | 149.14 | 150.28 | 1904789 |
| 30 | 2026-12-10 | 150.28 | 151.43 | 149.66 | 150.86 | 886388 |
| 31 | 2026-12-11 | 150.86 | 152.96 | 150.07 | 152.25 | 2076596 |