Back

Any documentation that provides a full list of methods and attributes?

Hi All,

I am quite new to QuantConnect and Python, so this might be quite easy for you but I just could not figure it out myself.

Can anyone direct me to a place where I can find a full list of methods and attributes for all the objects? Maybe the answer is somewhere on this website but I might just missed it completely.

I tried the Docs Tab, but it does not have an explicit return type and the methods that are applicable to the type, and this gives me a lot of headache.

For example, I want to create a Simple Moving Average indicator and it is quite easy to know the input type for creating the object:

var sma = SMA(Symbol symbol, int period, Resolution resolution = null, Func`2[Data.IBaseData,Decimal] selector = null)            

However, I have no idea what attributes and methods that are associated with this object. 

If I want to access the value of the SMA, I would not have known to use SMA().Current.Value myself.

Cheers,

Terry

Update Backtest







Sorry guys, I think I've found the docs.

It is just really hard to navigate to this doc and the it is written in C language and initially I could not get a hold of the syntax, but I think I am fine now.

I think it would be better if the entry to this doc can be placed in a more obvious place somewhere under the Docs Tab and have a python syntax version of it.

https://www.quantconnect.com/lean/docs#topic14.html
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