LEAN is the open source
algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a
global community of 80+ engineers and powers more than a dozen hedge funds today.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
In the past, we presented the QCU Weather Based Rebalancing algorithm as an example of using an external data source. That algorithm tested the theory of weather impact on market sentiment.
What about the impact of weather on agricultural contracts?
We adapted the QCU algorithm, using Corn CFD, instead of SPY and went short when the weather is hotter.
It would be interesting to run a backtest using the weather conditions from the regions where corn is cultivated.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Alexandre Catarino
Pro
,
We did a review on the algorithm posted earlier. In this new version, the algorithm access weather data directly from Weather Underground. With self-updating data, we can now use this algorithm in live trading. Also, we make it possible to select the weather station location:
// KNYC is NYC Central Park. Find other locations at
// https://www.wunderground.com/history/
AddData<Weather>("KNYC", Resolution.Daily);
With this flexibility, traders can easily defined what weather stations give better trading signals.
0
Vitali Kirpu
41 Pro
,
Pretty intresting concept! Trading based on the weather.. but if you think about it.. its very logical :D Nice man!
0
Nick Georgiadis
428 Pro
,
Hi guys! Algorithm looks interesting! However, im trying to run it but no trades are being triggered. Any ideas?
0
Alexandre Catarino
Pro
,
Unfortunately Weather Underground changed its API and we cannot fetch the data as CVS anymore. We will need to see whether is possible to extract the data from the html code we are getting to create the non-null instance of the custom data.
0
Nick Georgiadis
428 Pro
,
Hi Alexandre, thanks for the quick response. Maybe there is an alternative api out there like Weather Underground.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Loading...
To unlock posting to the community forums please complete at least 30% of Boot Camp. You can
continue your Boot Camp training progress from the terminal. We
hope to see you in the community soon!