FastQuant.SellSideInstrumentStrategy.Init C# (CSharp) Method

Init() public method

public Init ( ) : void
return void
        public override void Init()
        {
            if (!this.initialized)
            {
                Portfolio = GetOrCreatePortfolio(Name);
                if (!IsInstance)
                {
                    foreach (var instrument in Instruments.Where(i => this.childrenByInstrument[i.Id] == null))
                        CreateChildSellSideInstrumentStrategy(instrument, true, false);
                }
                this.initialized = true;
            }
        }