C# Class FastQuant.Provider

Inheritance: IProvider
Afficher le fichier Open project: fastquant/fastquant.dll Class Usage Examples

Protected Properties

Свойство Type Description
dataQueue EventQueue
description string
enabled bool
executionQueue EventQueue
framework Framework
historicalQueue EventQueue
id byte
instrumentQueue EventQueue
name string
sync object
url string

Private Properties

Свойство Type Description
CloseHistricalQueue void
CloseInstrumentQueue void
OpenHistricalQueue void
OpenInstrumentQueue void
WriteDebugInfoInternal void

Méthodes publiques

Méthode Description
Clear ( ) : void
Connect ( int timeout ) : bool
Connect ( ) : void
Disconnect ( ) : void
Dispose ( ) : void
Process ( Event e ) : void
Provider ( Framework framework ) : System
RequestHistoricalData ( HistoricalDataRequest request ) : void
RequestInstrumentDefinitions ( InstrumentDefinitionRequest request ) : void
Send ( ExecutionCommand command ) : void
Send ( HistoricalDataRequest request ) : void
Send ( InstrumentDefinitionRequest request ) : void
Subscribe ( Instrument instrument ) : void
Subscribe ( InstrumentList instruments ) : void
ToString ( ) : string
Unsubscribe ( Instrument instrument ) : void
Unsubscribe ( InstrumentList instruments ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
EmitAccountData ( AccountData data ) : void
EmitAccountReport ( AccountReport report, bool queued = true ) : void
EmitData ( DataObject data, bool queued = true ) : void
EmitError ( Exception exception ) : void
EmitError ( int id, int code, string text ) : void
EmitError ( string text ) : void
EmitExecutionReport ( ExecutionReport report, bool queued = true ) : void
EmitHistoricalData ( HistoricalData data ) : void
EmitHistoricalDataEnd ( HistoricalDataEnd end ) : void
EmitHistoricalDataEnd ( string requestId, RequestResult result, string text ) : void
EmitInstrumentDefinition ( InstrumentDefinition definition ) : void
EmitInstrumentDefinitionEnd ( InstrumentDefinitionEnd end ) : void
EmitInstrumentDefinitionEnd ( string requestId, RequestResult result, string text ) : void
EmitMessage ( int id, int code, string text ) : void
EmitMessage ( string text ) : void
EmitProviderError ( ProviderError error ) : void
EmitWarning ( int id, int code, string text ) : void
EmitWarning ( string text ) : void
GetProperties ( ) : ProviderPropertyList
OnConnect ( ) : void
OnConnected ( ) : void
OnDisconnect ( ) : void
OnDisconnected ( ) : void
Reject ( ExecutionCommand command, string format ) : void
SetProperties ( ProviderPropertyList properties ) : void
WriteDebugInfo ( string format ) : void

Private Methods

Méthode Description
CloseHistricalQueue ( ) : void
CloseInstrumentQueue ( ) : void
OpenHistricalQueue ( ) : void
OpenInstrumentQueue ( ) : void
WriteDebugInfoInternal ( string format ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Connect() public méthode

public Connect ( int timeout ) : bool
timeout int
Résultat bool

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EmitAccountData() protected méthode

protected EmitAccountData ( AccountData data ) : void
data AccountData
Résultat void

EmitAccountReport() protected méthode

protected EmitAccountReport ( AccountReport report, bool queued = true ) : void
report AccountReport
queued bool
Résultat void

EmitData() protected méthode

protected EmitData ( DataObject data, bool queued = true ) : void
data DataObject
queued bool
Résultat void

EmitError() protected méthode

protected EmitError ( Exception exception ) : void
exception System.Exception
Résultat void

EmitError() protected méthode

protected EmitError ( int id, int code, string text ) : void
id int
code int
text string
Résultat void

EmitError() protected méthode

protected EmitError ( string text ) : void
text string
Résultat void

EmitExecutionReport() protected méthode

protected EmitExecutionReport ( ExecutionReport report, bool queued = true ) : void
report ExecutionReport
queued bool
Résultat void

EmitHistoricalData() protected méthode

protected EmitHistoricalData ( HistoricalData data ) : void
data HistoricalData
Résultat void

EmitHistoricalDataEnd() protected méthode

protected EmitHistoricalDataEnd ( HistoricalDataEnd end ) : void
end HistoricalDataEnd
Résultat void

EmitHistoricalDataEnd() protected méthode

protected EmitHistoricalDataEnd ( string requestId, RequestResult result, string text ) : void
requestId string
result RequestResult
text string
Résultat void

EmitInstrumentDefinition() protected méthode

protected EmitInstrumentDefinition ( InstrumentDefinition definition ) : void
definition InstrumentDefinition
Résultat void

EmitInstrumentDefinitionEnd() protected méthode

protected EmitInstrumentDefinitionEnd ( InstrumentDefinitionEnd end ) : void
end InstrumentDefinitionEnd
Résultat void

EmitInstrumentDefinitionEnd() protected méthode

protected EmitInstrumentDefinitionEnd ( string requestId, RequestResult result, string text ) : void
requestId string
result RequestResult
text string
Résultat void

EmitMessage() protected méthode

protected EmitMessage ( int id, int code, string text ) : void
id int
code int
text string
Résultat void

EmitMessage() protected méthode

protected EmitMessage ( string text ) : void
text string
Résultat void

EmitProviderError() protected méthode

protected EmitProviderError ( ProviderError error ) : void
error ProviderError
Résultat void

EmitWarning() protected méthode

protected EmitWarning ( int id, int code, string text ) : void
id int
code int
text string
Résultat void

EmitWarning() protected méthode

protected EmitWarning ( string text ) : void
text string
Résultat void

GetProperties() protected méthode

protected GetProperties ( ) : ProviderPropertyList
Résultat ProviderPropertyList

OnConnect() protected méthode

protected OnConnect ( ) : void
Résultat void

OnConnected() protected méthode

protected OnConnected ( ) : void
Résultat void

OnDisconnect() protected méthode

protected OnDisconnect ( ) : void
Résultat void

OnDisconnected() protected méthode

protected OnDisconnected ( ) : void
Résultat void

Process() public méthode

public Process ( Event e ) : void
e Event
Résultat void

Provider() public méthode

public Provider ( Framework framework ) : System
framework Framework
Résultat System

Reject() protected méthode

protected Reject ( ExecutionCommand command, string format ) : void
command ExecutionCommand
format string
Résultat void

RequestHistoricalData() public méthode

public RequestHistoricalData ( HistoricalDataRequest request ) : void
request HistoricalDataRequest
Résultat void

RequestInstrumentDefinitions() public méthode

public RequestInstrumentDefinitions ( InstrumentDefinitionRequest request ) : void
request InstrumentDefinitionRequest
Résultat void

Send() public méthode

public Send ( ExecutionCommand command ) : void
command ExecutionCommand
Résultat void

Send() public méthode

public Send ( HistoricalDataRequest request ) : void
request HistoricalDataRequest
Résultat void

Send() public méthode

public Send ( InstrumentDefinitionRequest request ) : void
request InstrumentDefinitionRequest
Résultat void

SetProperties() protected méthode

protected SetProperties ( ProviderPropertyList properties ) : void
properties ProviderPropertyList
Résultat void

Subscribe() public méthode

public Subscribe ( Instrument instrument ) : void
instrument Instrument
Résultat void

Subscribe() public méthode

public Subscribe ( InstrumentList instruments ) : void
instruments InstrumentList
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Unsubscribe() public méthode

public Unsubscribe ( Instrument instrument ) : void
instrument Instrument
Résultat void

Unsubscribe() public méthode

public Unsubscribe ( InstrumentList instruments ) : void
instruments InstrumentList
Résultat void

WriteDebugInfo() protected méthode

protected WriteDebugInfo ( string format ) : void
format string
Résultat void

Property Details

dataQueue protected_oe property

protected EventQueue dataQueue
Résultat EventQueue

description protected_oe property

protected string description
Résultat string

enabled protected_oe property

protected bool enabled
Résultat bool

executionQueue protected_oe property

protected EventQueue executionQueue
Résultat EventQueue

framework protected_oe property

protected Framework framework
Résultat Framework

historicalQueue protected_oe property

protected EventQueue historicalQueue
Résultat EventQueue

id protected_oe property

protected byte id
Résultat byte

instrumentQueue protected_oe property

protected EventQueue instrumentQueue
Résultat EventQueue

name protected_oe property

protected string name
Résultat string

sync protected_oe property

protected object sync
Résultat object

url protected_oe property

protected string url
Résultat string