C# Class FastQuant.ProviderManager

显示文件 Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
AddProvider ( IProvider provider ) : void
Clear ( ) : void
DisconnectAll ( ) : void
Dispose ( ) : void
GetDataProvider ( int id ) : IDataProvider
GetDataProvider ( string name ) : IDataProvider
GetExecutionProvider ( int id ) : IExecutionProvider
GetExecutionProvider ( string name ) : IExecutionProvider
GetFundamentalProvider ( int id ) : IFundamentalProvider
GetFundamentalProvider ( string name ) : IFundamentalProvider
GetHistoricalDataProvider ( int id ) : IHistoricalDataProvider
GetHistoricalDataProvider ( string name ) : IHistoricalDataProvider
GetInstrumentProvider ( int id ) : IInstrumentProvider
GetInstrumentProvider ( string name ) : IInstrumentProvider
GetNewsProvider ( int id ) : INewsProvider
GetNewsProvider ( string name ) : INewsProvider
GetProvider ( int id ) : IProvider
GetProvider ( string name ) : IProvider
LoadSettings ( IProvider provider ) : void
ProviderManager ( Framework framework, IDataSimulator dataSimulator = null, IExecutionSimulator executionSimulator = null ) : System
SaveSettings ( IProvider provider ) : void
SetDataSimulator ( int id ) : void
SetDataSimulator ( string name ) : void
SetExecutionSimulator ( int id ) : void
SetExecutionSimulator ( string name ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AddProvider() public method

public AddProvider ( IProvider provider ) : void
provider IProvider
return void

Clear() public method

public Clear ( ) : void
return void

DisconnectAll() public method

public DisconnectAll ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetDataProvider() public method

public GetDataProvider ( int id ) : IDataProvider
id int
return IDataProvider

GetDataProvider() public method

public GetDataProvider ( string name ) : IDataProvider
name string
return IDataProvider

GetExecutionProvider() public method

public GetExecutionProvider ( int id ) : IExecutionProvider
id int
return IExecutionProvider

GetExecutionProvider() public method

public GetExecutionProvider ( string name ) : IExecutionProvider
name string
return IExecutionProvider

GetFundamentalProvider() public method

public GetFundamentalProvider ( int id ) : IFundamentalProvider
id int
return IFundamentalProvider

GetFundamentalProvider() public method

public GetFundamentalProvider ( string name ) : IFundamentalProvider
name string
return IFundamentalProvider

GetHistoricalDataProvider() public method

public GetHistoricalDataProvider ( int id ) : IHistoricalDataProvider
id int
return IHistoricalDataProvider

GetHistoricalDataProvider() public method

public GetHistoricalDataProvider ( string name ) : IHistoricalDataProvider
name string
return IHistoricalDataProvider

GetInstrumentProvider() public method

public GetInstrumentProvider ( int id ) : IInstrumentProvider
id int
return IInstrumentProvider

GetInstrumentProvider() public method

public GetInstrumentProvider ( string name ) : IInstrumentProvider
name string
return IInstrumentProvider

GetNewsProvider() public method

public GetNewsProvider ( int id ) : INewsProvider
id int
return INewsProvider

GetNewsProvider() public method

public GetNewsProvider ( string name ) : INewsProvider
name string
return INewsProvider

GetProvider() public method

public GetProvider ( int id ) : IProvider
id int
return IProvider

GetProvider() public method

public GetProvider ( string name ) : IProvider
name string
return IProvider

LoadSettings() public method

public LoadSettings ( IProvider provider ) : void
provider IProvider
return void

ProviderManager() public method

public ProviderManager ( Framework framework, IDataSimulator dataSimulator = null, IExecutionSimulator executionSimulator = null ) : System
framework Framework
dataSimulator IDataSimulator
executionSimulator IExecutionSimulator
return System

SaveSettings() public method

public SaveSettings ( IProvider provider ) : void
provider IProvider
return void

SetDataSimulator() public method

public SetDataSimulator ( int id ) : void
id int
return void

SetDataSimulator() public method

public SetDataSimulator ( string name ) : void
name string
return void

SetExecutionSimulator() public method

public SetExecutionSimulator ( int id ) : void
id int
return void

SetExecutionSimulator() public method

public SetExecutionSimulator ( string name ) : void
name string
return void