Lean
$LEAN_TAG$
|
Factory type for the BacktestingBrokerage More...
Public Member Functions | |
override IBrokerageModel | GetBrokerageModel (IOrderProvider orderProvider) |
Gets a new instance of the InteractiveBrokersBrokerageModel More... | |
override IBrokerage | CreateBrokerage (LiveNodePacket job, IAlgorithm algorithm) |
Creates a new IBrokerage instance More... | |
override void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
BacktestingBrokerageFactory () | |
Initializes a new instance of the BacktestingBrokerageFactory class More... | |
Public Member Functions inherited from QuantConnect.Brokerages.BrokerageFactory | |
virtual IBrokerageMessageHandler | CreateBrokerageMessageHandler (IAlgorithm algorithm, AlgorithmNodePacket job, IApi api) |
Gets a brokerage message handler More... | |
Properties | |
override Dictionary< string, string > | BrokerageData [get] |
Gets the brokerage data required to run the IB brokerage from configuration More... | |
Properties inherited from QuantConnect.Brokerages.BrokerageFactory | |
Type | BrokerageType [get] |
Gets the type of brokerage produced by this factory More... | |
abstract Dictionary< string, string > | BrokerageData [get] |
Gets the brokerage data required to run the brokerage from configuration/disk More... | |
Properties inherited from QuantConnect.Interfaces.IBrokerageFactory | |
Type | BrokerageType [get] |
Gets the type of brokerage produced by this factory More... | |
Dictionary< string, string > | BrokerageData [get] |
Gets the brokerage data required to run the brokerage from configuration/disk More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Brokerages.BrokerageFactory | |
BrokerageFactory (Type brokerageType) | |
Initializes a new instance of the BrokerageFactory class for the specified brokerageType More... | |
Static Protected Member Functions inherited from QuantConnect.Brokerages.BrokerageFactory | |
static T | Read< T > (IReadOnlyDictionary< string, string > brokerageData, string key, ICollection< string > errors) |
Reads a value from the brokerage data, adding an error if the key is not found More... | |
Factory type for the BacktestingBrokerage
Definition at line 26 of file BacktestingBrokerageFactory.cs.
QuantConnect.Brokerages.Backtesting.BacktestingBrokerageFactory.BacktestingBrokerageFactory | ( | ) |
Initializes a new instance of the BacktestingBrokerageFactory class
Definition at line 69 of file BacktestingBrokerageFactory.cs.
|
virtual |
Gets a new instance of the InteractiveBrokersBrokerageModel
orderProvider | The order provider |
Implements QuantConnect.Brokerages.BrokerageFactory.
|
virtual |
Creates a new IBrokerage instance
job | The job packet to create the brokerage for |
algorithm | The algorithm instance |
Implements QuantConnect.Brokerages.BrokerageFactory.
Definition at line 52 of file BacktestingBrokerageFactory.cs.
|
virtual |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
<filterpriority>2</filterpriority>
Implements QuantConnect.Brokerages.BrokerageFactory.
Definition at line 61 of file BacktestingBrokerageFactory.cs.
|
get |
Gets the brokerage data required to run the IB brokerage from configuration
The implementation of this property will create the brokerage data dictionary required for running live jobs. See IJobQueueHandler.NextJob
Definition at line 36 of file BacktestingBrokerageFactory.cs.