Back

[Request] Full working example

OK, here I'm requesting algorithm template to rapidly develop and research ideas, think would be faster to have such template in university.

Requirements ;)

* fully working, tested and simple (moving average cross)
* TimeSpan consolidator to make any timeframe
* Window to request any TimeBar in the past
* Custom data, i.e. putting values from chosen timeframe constructed values into other indicators, let's say SMAof(hourbar[x]+hourRSI[x+c]), whatever construct

Process:
1. Define timeframe.
2. Put data from timeframe windowed bar values or other indicators values or any otehr made values into any other indicator
Update Backtest








Hey @Tadas; we don't have a History function yet but its on the todo list for after launching paper trading. We want to do this right so we can pre-populate indicators with historical data.

The rest is pretty simple though. I'll hack together an example after pushing out the new servers
1

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.


Great day, @Jared! No problem, let's leave it as a goal. I think it'll be good to have such template to save a lot of time when testing initial ideas that can further grow into full strategies.
0

Guys, please fix Importing Yahoo data in university as imports from Quandl fail with "symbol not found in database".
0

Also, maybe you can implement some swicth off error reporting and autofill as often everything stops working and you should copy all files of code by hand just to save the work, not including frequent errors of "first character".
0

Thanks Tadas - fixed the Yahoo algo glitch. It was actually a back-end glitch on all custom data. We also upgraded the database to be 4x more powerful today to handle the increased load which should postpone any file saving issues.

The "full working example" algorithm was meant to be this indicator template btw.
1

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.


Great, big thanks, @Jared.
0

Update Backtest





0

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...

This discussion is closed