Back

Newbie with problems of unidexable object

Hi everyone,

I'm used to coding in C but new to python. I would like to know where can I find the documentation for the endless amount of types and classes of this IDE... In the documentation section I don't find it anywhere. In the lab enviroment I found the classes but I can't find documentation for what they return as in the example below...

Thanks! 

I'm trying a very simple thing: 

eurusd_test = qb.History("EURUSD",DateTime(2018,8,1,10,0,0),DateTime(2018,8,2,10,0,0),Resolution.Minute)

and accessing the data on eurusd_test... I get it's a 

QuantConnect.Util.MemoizingEnumerable`1[QuantConnect.Data.Market.TradeBar]but I can't get the information in it.Any place I can find all the classes and how should I access data for each one of them?
Update Backtest







Hi Sergio, you can find the LEAN class documentation

https://www.quantconnect.com/lean/docs#topic136.html

 To request the history in research notebook, you should use a list symbol in Python

from datetime import datetime
eurusd_test = qb.History(["EURUSD"],datetime(2018,8,1,10,0),datetime(2018,8,2,10,0),Resolution.Min
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.


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