Files
lightgui/tests/data/ohlcv_sample.csv
cnmcdee 099733b27d Stock chart CSV data: loader in StockData.h, load_csv/add_series_csv on 23 widgets, docs + tests
- 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.
2026-12-02 10:15:50 +00:00

1.4 KiB

1dateopenhighlowclosevolume
22026-11-02150.00150.78149.40150.60915898
32026-11-03150.60151.98150.50151.621611897
42026-11-04151.62152.06151.51151.64945140
52026-11-05151.64153.19151.48152.441157182
62026-11-06152.44154.50151.90153.641434688
72026-11-09153.64155.63152.86155.541263374
82026-11-10155.54155.93155.23155.782105802
92026-11-11155.78156.63155.19156.091395836
102026-11-12156.09157.24155.99157.141129533
112026-11-13157.14158.86156.82158.451736898
122026-11-16158.45159.61157.72159.311918391
132026-11-17159.31160.29158.81159.752200219
142026-11-18159.75160.04157.37158.25988905
152026-11-19158.25158.94155.76155.941582340
162026-11-20155.94156.56151.94152.641716841
172026-11-23152.64152.96150.88151.521750991
182026-11-24151.52151.96148.87149.632311489
192026-11-25149.63150.24147.36147.461922387
202026-11-26147.46149.21146.71148.321255352
212026-11-27148.32149.25148.25148.631538712
222026-11-30148.63148.78148.38148.482029172
232026-12-01148.48148.74147.87148.252194275
242026-12-02148.25148.68147.40147.922213414
252026-12-03147.92149.92147.63149.141464474
262026-12-04149.14150.19148.28149.391041473
272026-12-07149.39149.64149.01149.261575940
282026-12-08149.26150.27149.21150.001470314
292026-12-09150.00150.81149.14150.281904789
302026-12-10150.28151.43149.66150.86886388
312026-12-11150.86152.96150.07152.252076596