Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
 }