A rookie question (i'm fairly new to QC and python programming):

I'm interested in learning to use the QC framework and i'm trying to understand the way the modules work and link to one another.

I've studied and equal weighting portfolio construction model on github: 

AND i've read the documentation on the use of QC framework portfolio construction models.

In studying this example of a PCM implementation, I can't understand quite how it works. It includes neither the use of the CreateTargets() method nor the creation of any PortfolioTarget objects like:

target = PortfolioTarget.Percent(algorithm, "IBM", 0.1)

If i'm blind or i'm missing something obvious, please say. I can't see how this code meets the requirements set out in the documentation and exactly which objects would be passed to the next stage of the framework.

Best,

Luke

Author