Back

Adding Every Symbol From CSV To Universe

Hello!

I've been having some difficulty adding every symbol from a file into my universe. When I log Log("" + csv[1]); I get every symbol in the console but my code only buys the first one.

Thanks

Update Backtest








Figured out a solution to my own problem. I just wrote a JavaScript file that will automatically do the filtering for me. I also realized that the Add Universe method has to accept a date time if you're doing a back test.

0

Travis,

Off topic, but I'm putting this here because the instant messenger is temporarily out of order since we first talked:

Be sure to set any algos that use the "universe" to the master branch, rather than the prior build. Michael H fixed the emitters in the universe that were unintentionally giving lookahead bias back when we were first investigating the problem.

Glad to see you're still hacking away at the universe. Looking forward to jumping back into it myself soon, once I wrap my head around the timing of it. :-)

0


Good to hear from you Stephen
I totally forgot about the different build versions lol thanks for reminding me. I'm glad Micheal fixed that, I wasn't too sure what you were talking about at the time but yea I finally figured out how to get my strategy working :D. Coarse universe and live data wasn't working for me so you should check out my post here : https://www.quantconnect.com/forum/discussion/1085/contribution-scheduled-data-scraping-from-any-webpagesource#Item_1 maybe it can help you.

0

Absolutely, this will help. I think we're both on similar pathways, good to see you made progress in live data scraping. I'm super interested in getting this to work with (maybe) scraping data from the CBOE website.

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