/// <summary> /// Explicitly sets the selected contract symbols for this universe. /// This overrides and and all other methods of selecting symbols assuming it is called last. /// </summary> /// <param name="contracts">The option contract symbol objects to select</param> public OptionFilterUniverse Contracts(PyObject contracts) { _allSymbols = contracts.ConvertToSymbolEnumerable(); return(this); }
/// <summary> /// Explicitly sets the selected contract symbols for this universe. /// This overrides and and all other methods of selecting symbols assuming it is called last. /// </summary> /// <param name="contracts">The option contract symbol objects to select</param> /// <returns>Universe with filter applied</returns> public T Contracts(PyObject contracts) { AllSymbols = contracts.ConvertToSymbolEnumerable(); return((T)this); }