- 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 | 320.00 | 320.64 | 318.79 | 319.38 | 1566560 |
| 3 | 2026-11-03 | 319.38 | 320.10 | 318.12 | 318.86 | 1619929 |
| 4 | 2026-11-04 | 318.86 | 319.17 | 318.81 | 318.92 | 1393674 |
| 5 | 2026-11-05 | 318.92 | 319.25 | 318.20 | 319.14 | 1171604 |
| 6 | 2026-11-06 | 319.14 | 319.23 | 317.76 | 318.66 | 1981900 |
| 7 | 2026-11-09 | 318.66 | 320.03 | 318.58 | 319.46 | 1326286 |
| 8 | 2026-11-10 | 319.46 | 319.66 | 318.60 | 319.51 | 1389514 |
| 9 | 2026-11-11 | 319.51 | 320.25 | 318.71 | 318.87 | 2284710 |
| 10 | 2026-11-12 | 318.87 | 319.39 | 318.49 | 318.83 | 1575525 |
| 11 | 2026-11-13 | 318.83 | 318.91 | 317.46 | 318.25 | 1175785 |
| 12 | 2026-11-16 | 318.25 | 319.09 | 317.38 | 318.86 | 2230345 |
| 13 | 2026-11-17 | 318.86 | 320.12 | 318.32 | 319.42 | 1967611 |
| 14 | 2026-11-18 | 319.42 | 319.87 | 315.59 | 316.34 | 1121727 |
| 15 | 2026-11-19 | 316.34 | 317.14 | 314.94 | 315.34 | 1384352 |
| 16 | 2026-11-20 | 315.34 | 315.72 | 312.21 | 313.11 | 1418549 |
| 17 | 2026-11-23 | 313.11 | 313.24 | 309.12 | 309.78 | 2388517 |
| 18 | 2026-11-24 | 309.78 | 310.25 | 307.15 | 307.67 | 1997081 |
| 19 | 2026-11-25 | 307.67 | 308.24 | 304.33 | 304.85 | 1796196 |
| 20 | 2026-11-26 | 304.85 | 305.04 | 304.38 | 304.73 | 2283317 |
| 21 | 2026-11-27 | 304.73 | 305.52 | 304.42 | 304.96 | 965237 |
| 22 | 2026-11-30 | 304.96 | 305.70 | 303.89 | 304.60 | 1399800 |
| 23 | 2026-12-01 | 304.60 | 306.16 | 303.79 | 305.54 | 2333248 |
| 24 | 2026-12-02 | 305.54 | 306.78 | 304.67 | 305.89 | 1744830 |
| 25 | 2026-12-03 | 305.89 | 307.71 | 305.52 | 307.24 | 1195532 |
| 26 | 2026-12-04 | 307.24 | 308.77 | 307.13 | 308.58 | 2088450 |
| 27 | 2026-12-07 | 308.58 | 310.17 | 307.82 | 309.71 | 883477 |
| 28 | 2026-12-08 | 309.71 | 310.05 | 309.30 | 309.75 | 1073007 |
| 29 | 2026-12-09 | 309.75 | 310.09 | 308.59 | 309.40 | 2373515 |
| 30 | 2026-12-10 | 309.40 | 310.93 | 309.14 | 310.47 | 2334204 |
| 31 | 2026-12-11 | 310.47 | 311.74 | 310.40 | 311.07 | 1139346 |