Sunspots are non permanent phenomena on the Solar’s floor that seem as darkish spots as a consequence of decrease temperatures in comparison with surrounding areas. They’re related to photo voltaic magnetic exercise and observe an roughly 11-year cycle. Whereas sunspots themselves could seem distant from on a regular basis considerations, their affect on Earth’s local weather – significantly by photo voltaic irradiance – has lengthy been studied.
This led us to discover whether or not photo voltaic exercise may function a predictive indicator for agricultural commodity costs, reminiscent of wheat or corn. Durations of excessive sunspot exercise are sometimes related to hotter and extra variable climate patterns within the higher environment, with restricted however probably related results on Earth’s local weather. Slight will increase in air temperature could improve crop yields, which may, in flip, place downward strain on costs. Nevertheless, we assume that the impact of sunspot counts is extra more likely to manifest over the approaching years fairly than within the brief time period.
We suggest to discover whether or not a structured funding technique, reminiscent of tranche-based entry timing, may reap the benefits of this relationship. By monitoring sunspot exercise and anticipating its potential affect on agricultural output, we intention to evaluate whether or not sunspot information can enhance the timing and efficiency of commodity investments.
Introduction
Based on Area Climate Prediction Middle, sunspots are non permanent darkish areas on the Solar’s floor brought on by intense magnetic exercise. They usually seem in pairs or teams, fluctuate considerably in measurement and may persist for weeks. Sunspots observe an roughly 11-year cycle, generally known as the photo voltaic cycle, alternating between durations of excessive and low photo voltaic exercise, which influences the quantity of photo voltaic radiation reaching Earth. During times of heightened sunspot exercise, the Solar emits barely extra vitality. Traditionally, prolonged durations of low sunspot exercise have coincided with colder climates, reminiscent of in the course of the so-called “Little Ice Age.”
This led us to think about whether or not sunspot counts may function a sensible indicator for agricultural commodity costs, significantly for wheat or corn. Our speculation is that elevated sunspot exercise would possibly sign extra favorable rising circumstances as a consequence of hotter climate, probably bountiful harvest and driving costs down. We suggest to analyze whether or not this relationship could be leveraged by a easy but efficient technique, reminiscent of tranche-based funding timing to higher navigate commodity markets utilizing publicly accessible sunspot information, both in futures and spot costs.
Methodology
Since futures information doesn’t prolong far sufficient into previous, we determined to additionally discover spot costs. Nevertheless, it’s vital to mix information from a number of sources with a view to get hold of a steady value sequence for every commodity, as availability varies over time.
Relating to sunspot information, this analysis makes use of the dataset of month-to-month imply whole sunspot numbers from 1749 to Could 2025, accessible from the Photo voltaic Influences Knowledge Evaluation Middle. For consistency with our technique, we remodel this information into quarterly frequency, as we intention to rebalance on a quarterly foundation utilizing a tranching strategy. We apply three variants of this methodology:
4 tranches: 12-month holding interval with quarterly rebalancing,
8 tranches: 24-month holding interval with quarterly rebalancing,
12 tranches: 36-month holding interval with quarterly rebalancing.
In our earlier article Evaluation of Worth-Primarily based Quantitative Methods for Nation Valuation, we described this tranching technique as follows: Think about common quarterly rebalancing, for instance on March 31, June 30, September 30 and December 31 of every 12 months. Solely a pre-selected a part of the portfolio is rebalanced at every date. This is called industry-standard tranching. Specializing in a 36-month holding interval (12 tranches), the portfolio is split into 12 sub-portfolios. Every tranche is rebalanced as soon as each 3 years (36 months) and contributes 1/12 of the full portfolio weight. As an example this strategy, we current a modified instance tailored from the aforementioned article to higher mirror the present context:
On December 31, 1997, the primary tranche is invested; we go brief on underlying asset if the variety of sunspots of earlier month exceeds the required threshold, in any other case, we don’t make investments. These positions are held till December 31, 2000. A second tranche is initiated on March 31, 1998, and held till March 31, 2001. This course of continues every quarter, leading to 12 staggered sub-strategies with overlapping three-year holding durations. The ultimate portfolio is the equally weighted common of those 12 tranches.
The identical precept is utilized for the 12-month (4 tranches) and 24-month (8 tranches) holding durations, with changes within the variety of tranches and corresponding holding durations.
Now, understanding the precept of tranching, we will incorporate it into our technique. Suppose each the quarterly commodity costs and sunspot numbers are ready. The one remaining step is to outline a threshold. If the variety of sunspots in a given quarter is increased (or alternatively decrease) than the chosen threshold, it generates a sign to speculate, both by coming into a protracted or brief place utilizing a tranche-based strategy. That is based mostly on the idea that the results of photo voltaic exercise could solely manifest over the approaching years, fairly than instantly. Furthermore, it’s necessary to account for the truth that sunspot information is obtainable with a one-month lag.
In our analysis, we look at how the funding performs below two situations: brief positions are initiated when the variety of sunspots exceeds a predefined threshold (based mostly on the idea that increased photo voltaic exercise indicators extra favorable rising circumstances and thus decrease commodity costs). Conversely, lengthy positions are taken when sunspot counts fall beneath the edge. Think about that the beginning portfolio worth is ready to 1.
Primary efficiency traits in tables are offered as follows: the notation perf represents the annual return of the technique, st dev stands for the annual commonplace deviation, max dd is the utmost drawdown, adjusted Sharpe r is calculated because the ratio of perf to st dev and adjusted Calmar r because the ratio of perf to max dd.
Firstly, let’s discover whether or not the variety of sunspots probably influences the value of wheat futures, adopted by an evaluation of the spot value.
Futures
For the backtest, we make the most of a dataset of constantly rolled wheat futures consisting of back-adjusted each day information from November 23, 1979, to April 30, 2025 sourced from Premium Knowledge. Earlier than the primary evaluation, let’s check out the futures costs themselves.
As we will see within the graph, the value has a long-term declining tendency (primarily as a consequence of detrimental roll yield over time brought on by storage and carry prices). Subsequently, we’ll use a quarterly rolling brief place as a benchmark.


Although the benchmark reveals an upward pattern, its efficiency shouldn’t be significantly sturdy, with a yearly return barely reaching 2% and markable variablity, exhibiting not solely graphically, but additionally on the results of commonplace deviation. Can our market timing technique outperform this indicator and ship extra environment friendly outcomes?
Quick positions
We first targeted on brief tranching technique, coming into a brief place when the variety of sunspots exceeds a given threshold, anticipating a value decline, with 4 tranches and a number of other threshold values: 30, 50, 80, 100, and 150.


It’s evident that methods utilizing the variety of sunspots exceeding the edge as a sign for brief positioning with 4 tranches are extra worthwhile than the benchmark, which depends solely on a rolling brief place, particularly when the edge is ready to 50. With a return of 5.27%, a regular deviation of 14.83%, and a most drawdown of -45.46%, this technique clearly outperforms the benchmark, attaining a Sharpe ratio greater than 4 occasions increased, in addition to a considerably superior Calmar ratio.
Subsequent, let’s look at the technique with the edge nonetheless set at 50, this time not solely utilizing 4 tranches, but additionally increasing to eight and 12 tranches.


At first look, growing the variety of tranches doesn’t seem like useful for the technique. Each the graph and desk point out decrease effectivity, nevertheless, the technique nonetheless outperforms the benchmark when an acceptable threshold is utilized.
This means that the affect of a rising sunspot quantity is lagged, however as time progresses, its impact step by step weakens. Whereas the shorting technique seems relevant when a value decline is anticipated, it stays unclear whether or not it may be tailored successfully for rising markets (variety of sunspots falling beneath the edge) and lengthy positions.
Lengthy positions
Now, let’s apply the identical process specializing in the variety of sunspots falling beneath the edge set to twenty, 30, 40, 50 and 60, however as a sign for lengthy positioning .


Although there have been durations when methods based mostly on taking lengthy positions after the edge fell beneath a sure stage outperformed the benchmark, their long-term efficiency remained detrimental and constantly much less efficient than the benchmark. Subsequently, it nonetheless holds that the one relevant technique utilizing sunspots as an funding sign is the brief tranching technique that make investments when the edge is exceeded, significantly when it’s set to 50.
Nevertheless, backtest interval of 40 years shouldn’t be so long as we want, however the wheat futures information now we have doesn’t have longer historical past. For that reason we determined to utilise the spot costs of wheat.
Spot costs
We favor utilizing futures contracts in our evaluation as a result of they inherently mirror storage prices, that are already priced into the market. This makes them a extra real looking instrument for finding out commodity value habits from a buying and selling perspective. Nevertheless, because of the restricted availability of long-term historic futures information, we might additionally depend on spot costs in our evaluation, since they provide a for much longer information historical past appropriate for finding out long-term patterns.
The dataset of spot costs covers the interval from 1842 to 2025 and is compiled from a number of sources. From 1841 to 1944 the information are based mostly on the Wholesale Worth of Wheat and for the interval 1944 to 1952 is used Wholesale Worth of Wheat once more. From 1952 to 1990 is Producer Worth Index by Wheat Commodity utilized and eventually, from 1990 to 2025 is used World value of Wheat. The final two datasets have been initially reported in numerous items and due to this fact needed to be transformed to cents per bushel for consistency.

The spot value of wheat reveals a typically upward pattern significantly because the Nineteen Seventies, accompanied by a number of vital drawdowns. This sample could also be attributed to the impact of inflation over time.
In distinction to futures, the benchmark is now constructed as a rolling lengthy place rebalanced month-to-month, reflecting the commonly upward motion in spot costs. Nevertheless, as we talked about earlier, this naive benchmark technique doesn’t incorporate storage prices, so we should take all the outcomes from this longer evaluation with a grain of salt.

Let’s examine whether or not the beforehand utilized methods will show efficient on this new context. Given the prevailing upward pattern in costs, we start by specializing in lengthy positions initiated when the sign falls beneath the edge. As a primary step, we apply the 4-tranche process (quarterly rebalanced methods, with 12-month holding interval) utilizing threshold ranges set at 20, 30, 40, 50, and 60.


The applying of our technique offers a extra steady end result, evidenced by decrease commonplace deviation and consequently the next Sharpe ratio, though the returns are usually not considerably increased than these of the benchmark. On this case, setting the edge at 50 seems to be essentially the most appropriate, nevertheless, we acknowledge that this can be coincidental, given the negligible variations noticed throughout different threshold settings.
Allow us to now look at the efficiency of methods with longer holding durations (2-years, and 3-years), particularly with 8 and 12 tranches utilizing the identical threshold worth of fifty.


Altering the variety of tranches didn’t lead to any substantial variations, however it nonetheless led to a extra steady strategy, with a barely increased Sharpe ratios in comparison with the benchmark. Nevertheless, all Calmar ratios remained unchanged.
Lastly, we have been curious whether or not making use of the best strategy recognized within the earlier evaluation the technique may produce extra favorable outcomes. Subsequently, we tried brief tranching technique, coming into a brief place when the variety of sunspots exceeds a given threshold, anticipating a value decline, with 4 tranches and a number of other threshold values: 30, 50, 80,100 and 150, expressed in logarithmic costs for higher visualisation.


An utility of the brief tranching methods after the edge is exceeded and utilizing 4 tranches didn’t show useful in any case. Destructive returns, and consequently detrimental Sharpe and Calmar ratios, underscore the inefficiency of this strategy.
Conclusions
In conclusion, using wheat futures seems not solely extra worthwhile but additionally extra rational, because it inherently accounts for storage prices (which trigger the numerous downwards value drift and we simply must appropriately time entries and exists). If one goals to use a pure phenomenon reminiscent of solar exercise, coming into a brief place when the variety of sunspots exceeds a given threshold with 4 tranches proves to be efficient, significantly when the edge is ready to 50, because of the typically declining habits of futures costs, not just for wheat however probably for different crops as effectively.

As proven in Determine 11, wheat and corn futures exhibit comparable habits over time. Subsequently, the patterns and approaches utilized to wheat futures are additionally relevant to corn futures.
In distinction, the first benefit of utilizing spot costs lies within the availability of a for much longer historic dataset. Nevertheless, this profit comes at the price of decreased technique effectiveness. A protracted place initiated when the variety of sunspots falls beneath a given threshold, significantly utilizing the 4-tranche strategy, can outperform the benchmark, albeit solely marginally, whereas providing extra steady efficiency. This impact is most notable when the edge is ready to 50. Nonetheless, these outcomes needs to be interpreted with warning, as spot costs don’t mirror storage prices. Consequently, whereas the technique could seem worthwhile, incorporating storage prices may reverse the value dynamics, rendering lengthy positions unprofitable. In such instances, brief positioning, as carried out with futures, proves extra applicable.
Writer: Sona Beluska, Junior Quant Analyst, Quantpedia
Are you searching for extra methods to examine? Join our publication or go to our Weblog or Screener.
Do you need to be taught extra about Quantpedia Premium service? Verify how Quantpedia works, our mission and Premium pricing supply.
Do you need to be taught extra about Quantpedia Professional service? Verify its description, watch movies, assessment reporting capabilities and go to our pricing supply.
Are you searching for historic information or backtesting platforms? Verify our record of Algo Buying and selling Reductions.
Would you want free entry to our providers? Then, open an account with Lightspeed and revel in one 12 months of Quantpedia Premium without charge.
Or observe us on:
Fb Group, Fb Web page, Twitter, Linkedin, Medium or Youtube
Share onLinkedInTwitterFacebookConfer with a good friend