Introduction

To manage the climate changes as well as for the attainment of sustainable development goals, countries have emphasized promoting the usage of energies to lift the stability of economic and financial aspects by setting a program to stimulate, direct, create, and promote the development of the clean energy sector (Gao et al. 2020). Subsequently, both developed as well as developing countries are facing the pressure instigated by the change in the climate along with increased consumption of energy. This required to focus on accelerating the processes with respect to low emission of pollutants and de-carbonization (Ahuja and Tatsutani 2009). According to the World Nuclear Association (2020), the utilization of energy might help in eradicating the concern of CO2 emission whereas the utilization of fossil fuels contributes to causing global warming. Therefore, the users of traditional energy are seeing the alternatives of utilizing clean energy in the form of solar, wind, and hydropower (Zhao 2020). Furthermore, clean energy has a strong substitution influence on traditional fossil fuels particularly oil (Lv et al. 2019).

When viewing environmental changes, economic activity and resource utilization play a vital role. For instance, a study conducted in China demonstrates that natural resources (NRs) and financial development result in an improved ecological footprint in China (Zia et al. 2021). NR and human capital negatively influence CO2 emission in the long run and are positively associated with carbon emission. However, economic growth (EG) and human capital are positively associated with carbon emission, whereas NRs have a negative influence on carbon emission. Additionally, EG and human capital are positively, while natural resources are negatively, associated with an ecological footprint, in both the long and short run (Zhang et al. 2021). A study was conducted in Turkey to determine the long-term and causal association among economic progress, CO2 emissions, energy consumption, and employment ratio. It employed the autoregressive distributed lag bounds analysis technique of cointegration. The findings of the study indicated that policies on energy reservation such as controlling CO2 emissions and regulating energy consumption cannot have a negative influence on the output growth of the country (Ozturk and Acaravci 2010).

The component of energy has been the prime feature for the economic development of a country (Ferdaus et al. 2020) along with having a long-term impact on the environment as well (Mahmood et al. 2020). A study conducted by Khan et al. (2021) examined the relationship between economic, health, and environmental elements with green energy consumption, and maintained that the use of fossil fuel adversely affects the environmental quality and reduces the risks of diseases linked with undernourishment and respiratory system and hence results in increased death ratio. The use of energy is regarded as a facet that contributes to degrading the environment (Gupta and Dalei 2020). However, Murshed et al. (2020) shared a sight that the utilization of renewable energy can substantially help in mitigating the detrimental effect on the environment as well as play a role in sustainability. Like any other commodity, energy is not free of cost; in the parallel vein, fluctuation in prices of energy tends to have a major impact on the consumption of energy (Murshed and Tanha 2020; Thomas and Rosenow 2020), while having an indirect effect on EG (Hussain et al. 2020; Mukhamediyev and Spankulova 2020). While energy price increase might eventually lead towards affecting sustainability, it can contribute and perhaps give a solution to environmental problems (Al-Mulali and Ozturk 2016).

Besides, prices of energy demonstrate a prime role not only in economic but also in environmental development aspects. The research conducted by Ozturk (2016) inspects the association between biofuel consumption and production of multiple predictors of environmental and socio-economic sustainability by utilizing the functional form of the Solow growth model. The findings reveal that growth elements have a significant association with biofuel consumption whereas environmental indicators increase with the growing usage of biofuel. A key statistical tool employed to assess the causal nexus and cointegration among EG and CO2 emissions is the environmental Kuznets curve (EKC). Studies in energy and environmental economies commonly use EKC. Koondhar et al. (2021) suggested that future studies be conducted on EKC with sustainable technology science. A study conducted in Bangladesh by Anser et al. (2021) revealed that the pollution level in the country is adding to the carbon emissions and destroying the environment in terms of non-renewable energy and globalization index. However, the growth levels (GDPs) and the square of GDP approves the EKC hypothesis in the region. The study proved the relationship between the growth in GDP and the level of carbon emission by establishing a bidirectional association between EG and energy usage.

Ju et al. (2017) found that the prices of energy have an unfavorable influence on EG whereas distortion has also been observed with respect to the environment. This means that along with economic growth, environmental concerns are outweighing the attention (Panwar et al. 2011), which emerges the need of incorporating clean energy stock (CES) that differs from traditional stock to maintain sustainability. Particularly, CES includes the characteristics of both the conventional stock market and commodities related to energy. However, the CES and traditional stocks differ due to their operating mechanism as clean energy includes those corporations that are engaged in the production and supply of green energy and allied goods and services.

Clean energy is regarded as a dynamic and promising industry. Investment in the clean energy industry might help in promoting economic development via incorporating facts and figures with respect to each manufacturing subsector (Fuentes and Herrera 2020). According to Omer (2008) and Troster et al. (2020), energy investment has recently gained more importance over time because it is reliant on the profitability and the associated risk related to financial aspects of renewable energy companies and clean energy stock (CES). So, the dynamics of price linked with energy is now viewed as the foremost energy-associated risk factor which in turn affects the financial performance of project investment accompanying clean energy for the sustainability of energy resources (Kumar et al. 2012; Saeed et al. 2020). Investors predominantly focusing on clean energy stock leaves less room for speculation in the market as they are more informative (Shahzad et al. 2020). Further, organizations that engage in green financing have a better image in the investor’s mind because of having a green status.

Regarding the energy perspective, there are a diverse set of energies explained in the literature including oil, electricity, gas, and coal. According to Sadorsky (2012) and ÓhAiseadha et al. (2020), as the concerns for climate changes increase, the security of energy sectors increases in which oil, gas, and coal are viewed as key components. However, viewing the energies, coal has gained more prominence in the literature due to having its strong relation in causing environmental degradation in the form of CO2 emission and other air pollutants (Zhao and Luo 2018). Contrary to this, Sun et al. (2019) and Gu et al. (2020) found a link between coal prices (CP) and CES. Despite the fact, still, this area is understudied in the available literature regarding how coal might influence CES despite being the contributor towards CO2 emission. Therefore, keeping in view the abovementioned quarrel, this study considers coal its first variable to examine its link with CES.

The presence of uncertainties in the oil market, for instance, an unexpected boost in the oil prices (OP), forces the need for substitution of energy that perhaps accelerate the transition in utilization of energy (Zhao 2020). Consequently, fluctuations in oil prices are an imperative component that forces clean energy development though there is no agreement concerning the nexus between OP and CES among the economists. In line with this argument, it is necessary to shed light on the connection of oil price with CES price to further broaden the horizon from the perspective of sustainability.

Similarly, in developed economies, investment in gold and oil provides an opportunity towards hedging against the stock market (Chkili 2016; Khalfaoui et al. 2015). Reserves, as well as the prices of gold, play a domineering part in generating economic activity which results in helping towards income generation that eventually contributes positively to the attainment of environmental and sustainability goals (Niesenbaum 2020). Also, in the extant literature, the researchers assessed the nexus between gold prices (GPs) and stock prices (Harahap et al. 2020; He et al. 2020; Mukherjee and Bardhan 2020). However, the pieces of evidence related to gold and CES are limited in the literature; thus, this study sightsees the link between gold and CES to explain whether gold prices contribute towards clean energy stock positively or negatively.

Moreover, while considering natural gas from the perspective of its effect on the environment, Linn and Muehlenbachs (2018) highlighted that natural gas prices result in benefiting the environment via the reduction of harmful gases. In the parallel vein, natural gas prices also affect the financial market in terms of stock prices. Consequently, Hoque et al. (2020) accentuated that higher prices related to oil and natural gas fall out in causing cost-push inflation which results in having a negative influence on the financial markets, especially the stock prices. Correspondingly, in the literature, researchers examined the natural gas prices (NGPs) with emissions, market structure, investment, and stock prices (Ahmed 2018; Brehm 2019; Holladay and LaRiviere 2017; Knittel et al. 2015). However, to date, not much is known about how the volatility in NGP affects clean energy stock prices. Therefore, natural gas inclusion in our study is imperative from the point of sustainability as utilization of natural gas results in generating a lesser amount of CO2 as compared to coal and oil (Gong 2020; You et al. 2020). Secondly, natural gas is regarded as one of the foremost commodities in the energy sector not only because this component supplies 22% across the world for the usage of energy (International Energy Agency 2015); along with this, it also contributes to the stock market. So, natural gas is beneficial for the environment and stock prices which primarily makes it the prime source of energy.

Based on the gap found in the extant literature, this study is significantly contributing in numerous ways. Firstly, though shreds of evidence are available concerning the interaction of coal, natural gas, and gold prices with stock prices, however, limited work has been conducted from the coal, natural gas, and gold prices’ perspective of CES. Thus, this study provides evidence regarding the link between the aforementioned variables and CES. Secondly, this study adds to the literature, by employing the ARDL technique to evaluate the link between the specified variables. According to the best of researchers’ knowledge, this novel technique has not been utilized earlier to explore the nexus between the said variables in one study. Therefore, the current study provides a new perspective by considering the influence of energy prices from the viewpoint of oil, natural gas, and coal along with the precious metal, i.e., gold prices, on CES.

Besides, the subsequent article is schematized as specified: part 2 specifies the interconnected literature related to variables, part 3 stipulates an inclusive description of the methodology employed for the research, and part 4 divulges the results and discussion linked to the findings as well as extant literature. In the end, part 5 illustrates the conclusion along with deliberate recommendations.

Literature review

Regarding climate changes, the conventional energy system plays a prime role in contributing to the detrimental effects on the environment. All sources of energy have a substantial effect on the environment. Based on the sustainable development goals (SDGs), research by Gyamfi et al. (2021) attempted to emphasize the need for ecological-economic development, consumption of clean energy, and climate change mitigation. The study established that in the E7 economies, energy received from sources of fossil fuel results in emissions of CO2. The improvement in energy efficiency results in cost savings and reduction of CO2 emissions. It also helps reduce the nation’s dependence on energy supplies from other countries. The same notion has been endorsed by Ozturk (2013), mentioning that when energy sources are available uninterruptedly at reasonable prices, it can benefit from enhanced energy efficiency ultimately resulting in reduced reliance on foreign fossil fuels.

According to the statistics, energy sources including coal, gas, and oil accounts for 60% of the global CO2 emission affecting the environment in 2013 (Alam et al. 2020). Viewing the global energy consumption, coal consumption institute about 27% whereas natural gas consumption rose to 24.2% as per a report of British Petroleum (2016). Viewing the environmental protection concerns, the significance of clean energy has gained momentum in order to secure energy for future generations, and to attain this objective firms are also focusing on increasing the investments in green energy markets (Yong et al. 2019). As per the estimation of the Energy Information Administration (EIA 2018), until 2040, renewable energy portion in the total energy will be 18%; however, this portion is less than the threshold of 28%, as this percentage of energy is crucial for eradicating the detrimental effect on the atmosphere; thus, investment in modern energy has gained more importance nowadays due to the sustainability apprehensions.

Recognition of the global importance of clean energy stock as an alternate choice to traditional stock has been driven by several aspects such as changes in the climate, scarcity of fossil fuel, volatile OP, and innovation in clean energy technology (Naeem et al. 2020). Shahzad et al. (2020) examined the market efficiency and found higher efficiency in the case of CES and European markets when the market has an upward trend, whereas in the case of the USA, upward trend is seen when the market is less efficient. Investors during the crisis period pay more attention to safe assets (e.g., oil and gold) and dispose of risky holdings to preserve sustainability. Besides, Ferrer et al. (2018) have asserted that the increase in prices of oil perhaps leads towards increasing the efficiency of the stock market related to clean energy stockholding companies.

Ahmad (2017) evaluated the link of OP with technology and CES and found OP as a profitable hedge when it is harmonized with the technology and CES. On the adjacent side, Kumar et al. (2012) also found a positive link between OP and CES prices. In contrast, when the oil prices upsurge, it results in affecting the stock prices as well as economic activity negatively (Kilian 2009). Uncertainty in OP affects the CES market (Dutta 2017). Pham (2019) also demonstrated a heterogeneous relationship between oil prices and clean energy stock; for instance, energy management and biofuel stocks are linked to the OP whereas wind, fuel cell, and geothermal stocks are the least associated with the oil prices. Shreds of evidence related to OP and CES prices are displayed in Table 1.

Table 1 Association between oil prices and clean energy stock

Coal is the prime resource used by the economy as it is abundant than gas and oil and hence it is likewise that globally the utilization of coal as an energy increases and reaches its peak; however, in the long term, it starts to decline (Chakravorty et al. 2003). So, the utilization of costly solar energy can be done in the case where the ceiling is binding, and returns back to the usage of coal as it is viewed as a principal energy source. Lin and Chen (2019) revealed that there is international pressure on China for the sustainable development of climate, energy, and the environment; hence, China is striving to reduce the utilization of coal. Further, they found that coal is also viewed as non-clean energy because when the prices of coal increase, then firms need fewer allowances related to the CO2 emission. However, from the viewpoint of the new energy stock market, it is more sensitive against the variation in the coal prices (CP) in the course of the development of technologies related to new energy and the decline in the cost of usage of new energy. So a stable environment related to investment might be fruitful for the investors of stocks with respect to new energy.

Concerning China, Xie et al. (2015) tried to identify the sort of energy that is mainly responsible for the low energy efficiency. They identified that there is no apparent improvement in the overall efficiency of clean energy, whereas moderate improvement in the coal energy efficiency has been observed. However, even a moderate improvement in coal energy adds most to the whole inefficiency related to energy as it is the principal source of fuel that is being utilized in China. The outcomes of the study conducted by Jiang et al. (2020) revealed a higher level of cohesiveness among CP, trading of carbon emission, and the new energy stock. Besides, Reboredo and Ugolini (2018) found that energy prices including coal demonstrate a substantial impact on clean energy stock.

Gas prices also affect the stock market because oil, natural gas, and coal are the most important resources of energy in the world particularly when assessing the gas prices; it seems to have a substantial impact on growth which as a result affects the stock returns as well (Acaravci and Kandir 2012). Kanamura (2020) disclosed that a positive link of NGP with energy stock prices exists while the price of natural gas has a growing function towards the energy prices. Ramos and Veiga (2011) found that as the gas prices increase, it fall outs in having a positive effect on stock returns with a small coefficient. On the adjacent side, Sun et al. (2019) found a weak effect of natural gas prices on new CES prices.

On the adjacent side. Concerning Turkey, Ordu and Soytaş (2016) shared an opposing view related to gas price. They identified that the integration of their financial market is sluggish because NGPs are not substantially associated with the index of the market. This also shows that the dependency on commodities might be the driver that built the link between the prices of assets and the commodity. Consistently, Oberndorfer (2009) elucidated in his study that energy prices such as prices of oil and coal affect the returns related to stock on one end, yet natural gas does not affect the returns. Besides, concerning India, Kumar et al. (2019) analyzed the link between NGP and stock prices. Results divulged that no cointegration exists between natural gas and stock prices.

Gold is seen as one of the common commodities that are having effective hedging against the adversative movement in return related to the stock market (Elie et al. 2019). Gold is principally considered a safe property during a stressful time (Ciner et al. 2013). Accordingly, gold is recognized globally as a protector during the crisis time which in turn serves economic purposes such as investment in land and stocks (Abraham and Ramanathan 2020). Additionally, this is the main causal factor that gold is considered an asset that is tangible, indestructible, and storable that is why banks hold reserves of gold as part of their resources (Jaiswal and Manoj 2015).

In the same vein, the stock markets are also affected by numerous economic aspects such as gold prices (Raza et al. 2016). Furthermore, as per the results of Hillier et al.’s (2006) study, there exists a weak link between precious metals including gold with stock market indices. Arouri et al. (2015) elucidated in their study that gold prices play a substantial role in affecting the stock prices which in turn leads to better risk-adjusted returns; therefore, gold has proved to be a safe-haven asset during a crisis. In the parallel shred of evidence, Baur and McDermott (2010) also specify that during a financial crisis, investment in gold is viewed as an alternative way to protect themselves. Additionally, there is meaningful volatility that exists among gold and the stock market; thus, gold, as well as stock together, is regarded as a crucial strategy to deal with financial crisis (Morema and Bonga-Bonga 2020).

On the adjacent side, Elie et al. (2019) found that gold is no longer a good safe-haven asset for CES. Moreover, pieces of evidence related to gold prices and stock prices are explicated by researchers like Ali et al. (2020), Baur and Lucey (2010), and Raza et al. (2016). Tursoy and Faisal (2018) revealed a negative influence of GPs on stock prices, whereas Gilmore et al. (2009) unveiled a unidirectional link between GP and stock prices. Further, Syahri and Robiyanto (2020) also divulged the significant effect of GP on stock prices. So, investors react differently in terms of showing positive or negative behavior towards gold prices during the financial crisis (Sheikh et al. 2020).

The results of a study maintained that prices of gold are positively associated with prices of oil and with financial risk, while negatively linked to conventional and Islamic stocks. However, the direction of the nexus is similar with both types of securities. Besides, the direction of the relationship is similar for conventional and Islamic stocks, but the strength varies particularly in the case of oil and financial risk (Godil et al. 2019). Moreover, concerning sustainability, the clean stock is gaining more prominence among the investors in which gold is regarded as an important asset that might help in attaining the goals of sustainability. As Ahmad et al. (2018) elucidated in their study that gold is not the best hedge related to CES, yet if it is employed towards hedging, the risk associated with clean energy stock price then VIX is an effective and better hedge as compared to gold for clean energy stock prices.

Research methodology

In the present study, daily data were used from 2-22-2011 to 2-14-2020 for analysis. The detail of each variable is specified in Table 2. Data for variables like coal prices and natural gas prices are taken from investing.com while gold prices are extracted from World Gold Council, and OPs are downloaded from Federal Reserve Economic Data. The data related to the clean energy stock index is taken from the website of Standard and Poor (S&P).

Table 2 Description of variables

Built on the aforementioned literature, the subsequent variables are designated to assess the influence of GPs, OPs, coal prices, and NGPs on CES from 2011 to 2020 using daily data. The regression equation is mentioned below for time series data. Furthermore, in the stated equation, CES indicates clean energy stock while GP, CP, OP, and NGP indicate the gold prices, coal prices, OPs, and NGPs respectively. In the itemized equation, the constant term is denoted by β0 while coefficients of the independent variables are symbolized by β1 to β4.

$$ {\mathrm{CES}}_t={\beta}_0+{\beta}_1{GP}_t+{\beta}_2{OP}_t+{\beta}_3{CP}_t+{\beta}_4N{GP}_t+{\in}_t $$

Cointegration test

To assess the cointegration, a bound test is employed. A value of F statistics at a 5% significance level is utilized in deciding the long-run nexus between the variables. If the computed value of F statistics is greater than the upper value of bound, then cointegration exists. On the other side, if the F statistics value is less than the lower bound value, it depicts no long-run nexus, whereas it is undecidable when the F value lies between the upper and lower values of the bounds. To examine the long-run association, the subsequent hypotheses are anticipated for assessment.

$$ {H}_0:{\varphi}_1={\varphi}_2={\varphi}_3={\varphi}_4={\varphi}_5=0 $$
$$ {H}_1:{\varphi}_1\ne {\varphi}_2\ne {\varphi}_3\ne {\varphi}_4\ne {\varphi}_5\ne 0 $$

The following is the equation for bounds testing to ascertain the cointegration as well as the long-run and short-run nexus grounded on the abovementioned two hypotheses among the variables of the study.

$$ \Delta {\mathrm{CES}}_t={\varphi}_0+{\varphi}_1{\mathrm{CES}}_{t-1}+{\varphi}_2{\mathrm{GP}}_{t-1}+{\varphi}_3{\mathrm{OP}}_{t-1}+{\varphi}_4{\mathrm{CP}}_{t-1}+{\varphi}_5{\mathrm{NGP}}_{t-1}+\sum \limits_{i=1}^q{\beta}_1\varDelta {\mathrm{CES}}_{t-1}+\sum \limits_{i=1}^q{\beta}_2\varDelta {\mathrm{GP}}_{t-1}+\sum \limits_{i=1}^q{\beta}_3\varDelta {\mathrm{OP}}_{t-1}+\sum \limits_{i=1}^q{\beta}_4\varDelta {\mathrm{CP}}_{t-1}+\sum \limits_{i=1}^q{\beta}_3{\Delta \mathrm{NGP}}_{t-1}+{\in}_t $$

The abovementioned equation ∆ with CES shows the change operators. SIC is utilized for choosing the optimal lag which is indicated by t − 1. φ1 to φ5and β1 to β5 are the elements that will be assessed. Therefore, if a long-run nexus is present among the variables of the study, then we will examine the dynamic ARDL simulations model to inspect the short- and long-run model.

Dynamic ARDL simulations

To inspect the short-run as well as the long-run nexus among the variables, Jordan and Philips (2018) projected a model for time series data named dynamic ARDL simulations that have the capabilities to assess and stimulate along with automatically plotting the graphs related to the actual positive as well as a negative variation in the independent variables together with its impact on the dependent variable by keeping the other variables constant in the specified equation. This approach is used as it provides relative assessment related to the study variables in terms of long- as well as short-run association; along with that, it also helps in removing the shortcomings that appeared when using the traditional ARDL technique. Furthermore, taking other independent variables constantly helps to assess and stimulate as well as predict graphs by specifying the positive shocks and negative shocks in the independent variables (Jordan and Philips 2018; Sarkodie and Strezov 2019). Besides, before applying this model, all variables need to have a cointegration association. In our study, we have applied 5000 simulations for the vector of parameters by employing the multivariate normal distribution for the novel ARDL model as proposed by Jordan and Philips (2018). The equation is demonstrated below:

$$ \Delta {\mathrm{CES}}_t={\delta}_0\mathrm{C}{\mathrm{ES}}_{t-1}+{\beta}_1{\mathrm{GP}}_t+{\delta}_1\Delta {\mathrm{GP}}_{t-1}+{\beta}_2{\mathrm{OP}}_t+{\delta}_2\Delta {\mathrm{OP}}_{t-1}+{\beta}_3{\mathrm{CP}}_t+{\delta}_3\Delta {\mathrm{CP}}_{t-1}+{\beta}_4{\mathrm{NGP}}_t+{\delta}_4\Delta {\mathrm{NGP}}_{t-1}+{\upvarphi \mathrm{ECT}}_{t-1}+{\varepsilon}_t $$

The dynamic ARDL simulations model is shown in the above equation in which β is used to represent the long-run coefficients while δ displays the short-run coefficients. To inspect the adjustment speed from the disequilibrium, the error correction term is represented by ECT.

Results and discussion

Table 3 postulates the descriptive statistics related to the study variables. The outcomes related to a minimum, mean, and maximum values are as follows: CES (392.63–633.38–1202.59), CP (33.30–56.88–79.75), NGP (1.639–3.140–6.149), GP (3.020–3.130–.277), OP (26.19–71.208–113.39).

Table 3 Descriptive statistics

To analyze the stationarity of data is one of the imperative norms for time series data. Table 4 in this study is assessed to highlight the stationarity of variables through Augmented Dickey-Fuller (ADF) as well as Phillip-Perron (PP). The outcomes show that the scrutinized series is stationary at the first difference. Therefore, the fallouts allow the ARDL technique to be executed.

Table 4 Unit root tests

The results of the Akaike information criterion (AIC), Schwarz information criterion (SC), and Hannan-Quinn information (HQ), LogL, Final Prediction Error (FPE), Sequentially Modified Likelihood Ratio (LR), and criterion are displayed in Table 5. As per the outcome of HQ and SC, lag 1 is appropriate, yet on the other side, the AIC shows that lag 2 is more suitable. So here the researchers have used the SC that specifies the suitability of lag one for the model.

Table 5 VAR lag order selection criteria

While scrutinizing the long-run nexus of the variable mentioned in the study; the bounds test is employed. The outcomes obtained through the execution of the bounds test are indicated in Table 6. Based on the results at a 5% significance level, a long-run relationship exists as the measured value of F statistics is greater than the upper bound.

Table 6 ARDL bounds test

Table 7 indicates the dynamic ARDL simulation results. ECT posits the error correction term and it has a significant value of −0.3742, so as the specified value is between 0 and −1, it can be deduced that the adjustment in equilibrium shock is completed in a year for clean energy stock. Now, the influence of each factor on clean energy stock is discussed one by one, firstly if we look at GPs. In the long as well as the short run, GPs have a positive and substantial influence on CES. Thus, a 1% upsurge in gold prices boosts clean energy stocks by 0.8435% in the long run, whereas in the short run it boosts by 0.3820%. The result is in harmony with the study of Syahri and Robiyanto (2020) and Godil et al. (2020). This means that gold is regarded as a safe asset to attain sustainability. However, Elie et al. (2019) considered gold as a weak safe-haven asset, whereas Ahmad et al. (2018) elucidated that VIX is better than gold as far as hedge related to CES is concerned.

Table 7 Dynamic ARDL simulation model results

Moreover, while examining the link between OPs and CES, a substantial and positive effect on CES was found in the long as well as the short run. The results indicate that a 1% boost in OPs results in increasing the prices of clean energy stocks by 0.4570% in the long run while in the short run, a 1% increase in the prices of oil increases the demand for clean energy stock by 0.3350%. Henceforth, as the oil prices upsurge, it fall outs in encouraging the economic agents to use clean energy which in turn improves the CES prices. Therefore, outcomes are in harmony with the studies of (Lv et al. 2019; Reboredo et al. 2017; Zhang et al. 2020).

Also, we explored the link between NGPs and CES in our study. The results illustrate a negative and substantial effect of NGPs on CES in the long as well as short run. The analysis of data specifies that a 1% upsurge in natural gas prices results in decreasing the clean energy stocks by 0.3929% in the long run and 0.2386% in the short run. This means that as the price of gas increases, it causes a decrease in clean energy stocks. The findings are consistent with Reboredo and Ugolini (2018). They revealed a negative influence of gas in the case of extreme downturn fluctuation on CES. However, the findings are not consistent with the results of several researchers, i.e., Oberndorfer (2009); as the researcher indicated that NGP does not affect stock returns, Ramos and Veiga (2011) found that gas prices are having a positive impact on the stock, and Sun et al. (2019), as they specify a weak effect of GPs on new energy (clean) stock prices.

Lastly, the link between coal prices and CES is examined. The results revealed that coal prices have a positive as well as significant effect on CES; therefore, as the prices of coal increase by 1%, it causes an increase in clean energy stocks by 0.3194% in the long run while a 0.4800% increase in the short run. The results are in line with the study of Reboredo and Ugolini (2018). They found a positive influence in the case of upward price fluctuation. Besides, Sun et al. (2019) found that fossil energy prices, which include coal, contribute a small proportion to the price fluctuations of new energy organizations. Further, Gu et al. (2020) revealed the presence of a substantial bi-directional association between the CP and the CES, whereas Jiang et al. (2020) found the link between CP and CES at high quantiles.

The fallouts of the different diagnostic statistics are indicated in Table 8. To investigate whether the estimated ARDL model is specified properly or not, a Ramsey reset test was used. The fallouts of the Ramsey reset test specify that the estimated model of ARDL is correctly specified in the current study. While assessing the serial correlation issue in the employed model, Breusch-Godfrey Serial test was used. Results specify that no serial correlation issue is present in our estimated model. To examine the heteroscedasticity problem in the estimated model, Breusch Pagan Godfrey test and ARCH test were applied which indicate that no problem related to heteroscedasticity exists in our model, whereas the analysis Jarque-Bera reveals the normality of residuals related to the estimated model.

Table 8 Diagnostic tests

Dynamic ARDL simulation graphs

Subsequently, the graphs under this dynamic technique are utilized to demonstrate the real change observed in the independent variable along with its influence on the dependent variable. In this study, we have assessed the variation in the independent variable either positive or negative, and its influence on the dependent variable. The specified Figure 1 depicts the influence of coal prices on the CES. It indicates a positive and negative 10% change in coal prices and its impact on the clean energy index; thus, the first graph indicates that a 10% increase in coal prices has a negative influence on the CES in the short run; however, it turns out to be positive in the long run, while 10% decrease in coal prices has a negative influence on CES in the short run which again turns out to be positive later.

Fig. 1
figure 1

Coal prices and Global CES Index. The above graphs specify ±10% in coal prices and their impact on the CES index. The dots demonstrate the mean prediction value whereas the dark blue to light blue lines specify 75%, 90%, and 95% confidence interval correspondingly

The itemized Figure 2 portrays the influence of natural gas prices on the clean energy index. It designates a positive and negative 10% change in NGPs and its influence on the clean energy stock index; therefore, the first graph indicates that a 10% increase in NGPs has a negative influence on the CES in the short run; however, it turns out to be positive in the long run, while 10% decrease in NGPs has a negative influence on CES in the short run which again turns out to be positive later.

Fig. 2
figure 2

Natural gas prices and Global Clean Energy Index. The above graphs specify ±10% in NGPs and their influence on the CES index. The dots demonstrate the mean prediction value whereas the dark blue to light blue lines specify 75%, 90%, and 95% confidence interval respectively.

Figure 3 represents the influence of oil prices on the CES. It designates a positive and negative 10% change in OPs and its influence on the clean energy stock index; therefore, the left figure indicates that a 10% boost in OPs has a negative influence on the CES in the short run; however, it becomes positive in the long run. On the adjacent side, a 10% decrease in OPs has a negative influence on CES in the short run which again becomes positive at a later stage, i.e., in the long-run period.

Fig. 3
figure 3

Oil prices and Global Clean Energy Index. The above graphs specify ±10% in OPs and their influence on the CES. The dots demonstrate the mean prediction value whereas the dark blue to light blue lines specify 75%, 90%, and 95% confidence intervals

Figure 4 represents the influence of gold prices on the clean energy index. It designates a positive and negative 10% change in gold prices and its influence on the clean energy index; therefore, the graph on the left indicates that in the short run, a 10% increase in GPs has a negative influence on the CES index; however, it becomes positive in the long run, while 10% decrease in gold prices has a negative influence on CES in the short run which again turns out to be positive in the later period, i.e., long run.

Fig. 4
figure 4

Gold prices and Global Clean Energy Index The above graphs specify ±10% in GPs and their influence on the CES index. The dots demonstrate the mean prediction value whereas the dark blue to light blue lines specify 75%, 90%, and 95% confidence intervals

Conclusion and policy implications

To lift the stability of economic, financial, and environmental aspects, numerous countries have emphasized promoting the development of clean energy stock. In this study, the researchers have evaluated the impact of oil prices, coal prices, NGPs, and GPs on clean energy stock using the ARDL approach from the year 2011 to 2020. The result of daily data analysis specifies that in the long as well as the short run, gold prices and oil prices as well as coal prices have a positive and substantial effect on CES. On the other side, NGPs in the long as well as short run have a negative and substantial effect on CES. The empirical analysis of our study is of interest to investors at an institutional level aiming at identifying the risk associated with the CES market through proper financial modeling. Additionally, due to the increasing interest in substitute investments, the association between oil, coal, natural gas, gold, and clean energy stock markets is a crucial facet regarding decisions linked to investment as well as risk management. This study has opened up ground for future researchers in terms of examining the link between energy prices and CES in developed as well as developing countries to further expand the prospects via using ARDL and DCCE approaches.

Also, this study helps in understanding the link between energy prices and CES. Firstly, this will help the investors in understanding the risk associated with returns via proper allocation to a portfolio related to clean energy stocks. Secondly, this study will further help in identifying how the fluctuation in energy prices affects clean energy stocks. As investment in CES results in producing an imperative effect on the environment as well, therefore the findings of our study might help those investors who are interested in investing in firms that are ecofriendly. Thirdly, it is also worth noticing that investors are more prone to decarbonizing their portfolios to maintain sustainability by considering clean energy stock. Additionally, clean energy stocks are subtle towards variations in the long as well as short run in the business cycle which might perhaps imply a reduction in investments especially during low activity happening at the economic level. Therefore, swings in energy prices together with adding up the incentives for investors can help them to invest in the green economy. Fourth, proper incentives need to be provided to investors interested in green portfolios. This will play a substantial role to switch to clean energy stocks; otherwise, the investors perhaps will show reluctant behavior towards the greening of their portfolio which in turn hampers the migration to a low carbon economy.