EconPapers    
Economics at your fingertips  
 

Forecasting solar stock prices using tree-based machine learning classification: How important are silver prices?

Perry Sadorsky

The North American Journal of Economics and Finance, 2022, vol. 61, issue C

Abstract: Solar energy is one of the fastest growing sources of electricity generation. Forecasting solar stock prices is important for investors and venture capitalists interested in the renewable energy sector. This paper uses tree-based machine learning methods to forecast the direction of solar stock prices. The feature set used in prediction includes a selection of well-known technical indicators, silver prices, silver price volatility, and oil price volatility. The solar stock price direction prediction accuracy of random forests, bagging, support vector machines, and extremely randomized trees is much higher than that of logit. For a forecast horizon of between 8 and 20 days, random forests, bagging, support vector machines, and extremely randomized trees achieve a prediction accuracy greater than 85%. Although not as prominent as technical indicators like MA200, WAD, and MA20, oil price volatility and silver price volatility are also important predictors. An investment portfolio trading strategy based on trading signals generated from the extremely randomized trees stock price direction prediction outperforms a simple buy and hold strategy. These results demonstrate the accuracy of using tree-based machine learning methods to forecast the direction of solar stock prices and adds to the broader literature on using machine learning techniques to forecast stock prices.

Keywords: Forecasting; Machine learning; Random forests; Solar energy; Stock prices (search for similar items in EconPapers)
JEL-codes: C45 G11 Q42 Q47 (search for similar items in EconPapers)
Date: 2022
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (8)

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S1062940822000572
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:ecofin:v:61:y:2022:i:c:s1062940822000572

DOI: 10.1016/j.najef.2022.101705

Access Statistics for this article

The North American Journal of Economics and Finance is currently edited by Hamid Beladi

More articles in The North American Journal of Economics and Finance from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-03-19
Handle: RePEc:eee:ecofin:v:61:y:2022:i:c:s1062940822000572