Back

Scanning for lists of symbols instead of AddSymbol

Hey everyone, I was wondering if it's possible to return a list of symbols based on some criteria to include in an algo as an alternative to AddSymbol. Looking through the forum history, I see that a few others have also been asking this same question. Is this feature ready for use yet? If not, is there a rough time estimate of when this will be? If it is ready, where might I find documentation for it? I was looking at UserDefinedUniverse a bit, but that doesn't seem to be quite what I had in mind. Even a method which just returned a list of all symbols in a given exchange on a given date would be super helpful. Thanks!
Update Backtest








The core of the system uses Universe selection logic (picking a list of symbols) - and this logic can send stocks in and out of the algorithm by any criteria. By default there's only 1 static universe created by AddSecurity.

We also provide a Coarse Universe Selection system to filter the 8000 active symbols based on Price, Volume, and Market. This also allows you to do filters on technical indicators (e.g. everything above its 200day EMA).

The UserDefinedUniverse is an "advanced" feature where you provide your own universe of data to filter with.

What you're asking about we call a "StockPickerUniverse" and isn't completed yet, but its not far away (after Thanksgiving / Monday next week).

You can see an example of Coarse Universe Selection here. It should work on QuantConnect in the next 24-48 hours. We're in the process of deploying the new build now :)
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.


@Brendan If I understand your question correctly, you want to define a list of symbols to include in an algorithm. Why not just get a list of symbols from some external source like a HttpGet call and then just add the symbols from the list using the regular AddSymbol.

I did this in an algorithm I wrote a few months ago. Someone created a list of symbols and put it on his web site. The list of symbols was different each time the algorithm is run. So I imported the list from his web site in Initialize.
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