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 |
|
cnmcdee
|
2f4726cb61
|
Group C getters/setters (Stock pilot): StockArrow, StockAreaChart, StockVWAP
Tool + area-chart + VWAP templates: bg/grid/axis colours, candle colours,
line width, line/fill/up/down colours and view/axis accessors with defaults
preserving the pre-pass render (verified pixel-identical vs pristine headers,
setters exercised by harness).
|
2026-11-29 22:36:02 +00:00 |
|