Hi, I've been trying to use a live data source to get symbols and add them to my universe. The code is only cycling through once and grabbing a single symbol from the subscription source. I'd like the code to grab every symbol on a particular day. Best, -Travis
Michael Handschuh
Could you attach your algorithm logs from your live run so I can help you further? Thanks.
Travis Teichelmann
Travis Teichelmann
After working on it a bit more I realized
where d.TopGainersRank
is what the algorithm is buying. I've changed it toorderby d.TopGainersRank descending
to hopefully display or sort the list. I've also put in a while statement that runs in the trade bars class. while (countTravis Teichelmann
2016-03-11 15:52:00 : New Order Event: Id:1 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:00 : New Order Event: OrderId:1 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:00 : New Order Event: Id:1 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:00 : New Order Event: OrderId:1 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:01 : New Order Event: Id:2 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:01 : New Order Event: Id:2 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:01 : New Order Event: OrderId:2 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:01 : New Order Event: OrderId:2 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:02 : New Order Event: Id:3 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:02 : New Order Event: Id:3 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:02 : New Order Event: OrderId:3 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:02 : New Order Event: OrderId:3 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:03 : New Order Event: Id:4 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:03 : New Order Event: Id:4 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled 2016-03-11 15:52:03 : New Order Event: OrderId:4 Symbol:RYI VSV29HNAO411 Quantity:0 Status:Submitted 2016-03-11 15:52:03 : New Order Event: OrderId:4 Symbol:RYI VSV29HNAO411 Quantity:10 Status:Filled
Travis Teichelmann
sorry for all the responses, the comment wasnt formatting correctly while count is less than or = 100 count ++ or count = count + 1 I'll have to wait till Monday to test this out because the market is already closed but if you have any insight before then I'd love to hear it Best, -Travis
Jim Lawson
Travis,
If you don't mind me asking, what data subscription do you have? I'm looking to get a realtime data feed that will allow me to filter based on the rate of volume change. I eventually want to develop an algorithm that executes systematic trading but I'd like to first start with simply being notified when such a condition arises. I'm trying to find an example to clone that will put me in the neighborhood of this.
Travis Teichelmann
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.
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!