Lean  $LEAN_TAG$
QuantConnect.Securities.FuncSecuritySeeder Class Reference

Seed a security price from a history function More...

Inheritance diagram for QuantConnect.Securities.FuncSecuritySeeder:
[legend]

Public Member Functions

 FuncSecuritySeeder (PyObject seedFunction)
 Constructor that takes as a parameter the security used to seed the price More...
 
 FuncSecuritySeeder (Func< Security, BaseData > seedFunction)
 Constructor that takes as a parameter the security used to seed the price More...
 
 FuncSecuritySeeder (Func< Security, IEnumerable< BaseData >> seedFunction)
 Constructor that takes as a parameter the security used to seed the price More...
 
bool SeedSecurity (Security security)
 Seed the security More...
 

Detailed Description

Seed a security price from a history function

Definition at line 28 of file FuncSecuritySeeder.cs.

Constructor & Destructor Documentation

◆ FuncSecuritySeeder() [1/3]

QuantConnect.Securities.FuncSecuritySeeder.FuncSecuritySeeder ( PyObject  seedFunction)

Constructor that takes as a parameter the security used to seed the price

Parameters
seedFunctionThe seed function to use

Definition at line 37 of file FuncSecuritySeeder.cs.

◆ FuncSecuritySeeder() [2/3]

QuantConnect.Securities.FuncSecuritySeeder.FuncSecuritySeeder ( Func< Security, BaseData seedFunction)

Constructor that takes as a parameter the security used to seed the price

Parameters
seedFunctionThe seed function to use

Definition at line 57 of file FuncSecuritySeeder.cs.

◆ FuncSecuritySeeder() [3/3]

QuantConnect.Securities.FuncSecuritySeeder.FuncSecuritySeeder ( Func< Security, IEnumerable< BaseData >>  seedFunction)

Constructor that takes as a parameter the security used to seed the price

Parameters
seedFunctionThe seed function to use

Definition at line 66 of file FuncSecuritySeeder.cs.

Member Function Documentation

◆ SeedSecurity()

bool QuantConnect.Securities.FuncSecuritySeeder.SeedSecurity ( Security  security)

Seed the security

Parameters
securitySecurity being seeded
Returns
true if the security was seeded, false otherwise

Implements QuantConnect.Securities.ISecuritySeeder.

Definition at line 76 of file FuncSecuritySeeder.cs.

Here is the call graph for this function:

The documentation for this class was generated from the following file: