Open Family Office Datasets Tickers Strategies Portfolios Research Posts About Changelog

Forecasting of Stock Prices Using Machine Learning Models

Source

Citation. Albert Wong, Juan Figini, Amatul Raheem and Pak Chun Chu (Langara College, Vancouver), Gaétan Hains (Université Paris-Est Créteil) and Youry Khmelevsky (Okanagan College). "Forecasting of Stock Prices Using Machine Learning Models". 2023 IEEE International Systems Conference (SysCon), Vancouver, April 2023, pp. 1–7. DOI 10.1109/SysCon53073.2023.10131091. Open copy: HAL hal-04112617, deposited on 19 December 2023. No code or data are released. The work was funded by Okanagan College's Co-op Education and Grants-in-Aid Fund and two Langara College programmes.

Status. Not applicable. The paper builds no strategy and runs no trading test, so it gives the harness nothing to evaluate. It is a worked example of the checks that a forecast needs before it becomes a strategy. The main check is a random-walk baseline.

Read. Read on 2026-11-28 from the HAL PDF, 8 pages, with pdftotext. I read all the text and the four results tables. The 12 figures are charts of predicted and actual prices, and I saw only their axes. I computed a random-walk baseline from Yahoo's daily closes for Tesla, January 2021 to May 2022. Those are the months the figures span.

Summary

Claim. "A careful choice of input variables and a rational comparison of basic ML engines" predict Tesla's price every 15 minutes. The authors call the result "higher and somehow explainable prediction quality than has been previously published". Random forests and XGBoost have "an excellent performance to predict a future stock value".

Method.

Findings, as the source reports them.

Model MAPE at 5 days at 1 day at 15 minutes
SVR 11.9% 11.0% 10.4%
MLP 22.5% 11.4% 5.5%
Random forest 5.9% 3.7% 1.0%
XGBoost 5.9% 3.7% 0.9%

The RMSE of the best model, XGBoost, is USD 64.68, 39.65 and 12.39 at those horizons. The paper says each prediction takes "less than 2 seconds".

Where the claims go beyond the evidence

No random-walk baseline, and the models don't beat one. A forecast that the price stays at its last close has a MAPE equal to the mean absolute return over the horizon. For Tesla from January 2021 to May 2022, from Yahoo's daily closes, that is 2.79% at one day and 6.16% at five days. The best models' 3.7% at one day is worse than the last close. Their 5.9% at five days is about the same. I couldn't compute the 15-minute baseline, because Yahoo keeps only 60 days of 15-minute bars. Tesla's mean daily move of 2.79% implies a daily volatility near 3.5%. Over 26 bars a day, a typical 15-minute move is then about 0.55%. That is below the best model's 0.9%. So the paper's evidence doesn't show that any model predicts better than no model.

Price levels make errors look small. A MAPE of 0.9% sounds precise, but tomorrow's price is close to today's whatever the model does. Errors on returns or on direction, against the same baseline, would show the skill. Accuracy of direction near 50%, which the abstract cites for other work, is the honest scale.

Possible look-ahead. The paper doesn't say whether the min-max bounds come from the training window only, or from the whole sample. With bounds from the whole sample, every scaled input carries the range of future prices. The other stocks' prices enter at the previous bar, but the treatment of Tesla's own price is unclear.

No tests and no trials counted. There are no intervals, no Diebold–Mariano test and no count of the features and models tried. The calendar features alone are 65 variables chosen by hand.

No trading test, by design. The authors don't trade on the forecasts, "to ensure that conclusions are not context-dependent". So the paper can't show that an edge survives the spread and costs of 15-minute trading, which would be large against a 0.9% error.

Credit. The authors refit only on past data, in a rolling window, and they report the time each refit takes. They say plainly that prediction accuracy in this field "hovers around 50%".

Use in this repo

A forecast must beat the last price. open_familyoffice/scoring.py's compare runs a Diebold–Mariano test of two forecasts' losses, with Newey–West errors (#109). Any forecast that a strategy uses should be compared with a random walk in that way, on returns, before it reaches the harness. This paper is the example of why.

Scaling is part of the split. A scaler fitted on the whole sample leaks the future into every input. splits.py (#10) gives the training windows, and a strategy's preprocessing must be fitted inside them. The harness's look-ahead oracle (#87) can't see a leak inside a strategy's own code.

Every choice is a trial. The features, the four models, the three horizons and the 60-day window are each choices. A strategy built on them would enter the trial ledger (#7) once for each.

No follow-up issue. The project's checks already cover these faults. The method isn't worth turning into a strategy until it beats a random walk.