C# Class FastQuant.EventServer

ファイルを表示 Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
EmitQueued ( ) : void
EventServer ( Framework framework, EventBus bus )
OnData ( DataObject data ) : void
OnEvent ( Event e ) : void
OnFrameworkCleared ( Framework framework ) : void
OnInstrumentAdded ( Instrument instrument ) : void
OnInstrumentDefinition ( InstrumentDefinition definition ) : void
OnInstrumentDefintionEnd ( InstrumentDefinitionEnd end ) : void
OnInstrumentDeleted ( Instrument instrument ) : void
OnLog ( Event e ) : void
OnPortfolioAdded ( Portfolio portfolio ) : void
OnPortfolioRemoved ( Portfolio portfolio ) : void
OnPositionOpened ( Portfolio portfolio, Position position, bool queued ) : void
OnProviderAdded ( IProvider provider ) : void
OnProviderConnected ( Provider provider ) : void
OnProviderDisconnected ( Provider provider ) : void
OnProviderError ( ProviderError error ) : void
OnProviderRemoved ( Provider provider ) : void
OnProviderStatusChanged ( Provider provider ) : void
OnStrategyAdded ( Strategy strategy ) : void

Private Methods

Method Description
OnAccountReport ( AccountReport report ) : void
OnExecutionCommand ( ExecutionCommand command ) : void
OnExecutionReport ( ExecutionReport report ) : void
OnFill ( Portfolio portfolio, FastQuant.Fill fill, bool queued ) : void
OnNewOrder ( Order order, bool queued = true ) : void
OnOrderCancelRejected ( Order order, bool queued = true ) : void
OnOrderCancelled ( Order order, bool queued = true ) : void
OnOrderDone ( Order order, bool queued = true ) : void
OnOrderExpired ( Order order, bool queued = true ) : void
OnOrderFilled ( Order order, bool queued = true ) : void
OnOrderManagerCleared ( ) : void
OnOrderPartiallyFilled ( Order order, bool queued = true ) : void
OnOrderRejected ( Order order, bool queued = true ) : void
OnOrderReplaceRejected ( Order order, bool queued = true ) : void
OnOrderReplaced ( Order order, bool queued = true ) : void
OnOrderStatusChanged ( Order order, bool queued = true ) : void
OnPendingNewOrder ( Order order, bool queued = true ) : void
OnPortfolioParentChanged ( Portfolio portfolio, bool queued ) : void
OnPositionChanged ( Portfolio portfolio, Position position, bool queued ) : void
OnPositionClosed ( Portfolio portfolio, Position position, bool queued ) : void
OnSendOrder ( Order order ) : void
OnTransaction ( Portfolio portfolio, Transaction transaction, bool queued ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

EmitQueued() public method

public EmitQueued ( ) : void
return void

EventServer() public method

public EventServer ( Framework framework, EventBus bus )
framework Framework
bus EventBus

OnData() public method

public OnData ( DataObject data ) : void
data DataObject
return void

OnEvent() public method

public OnEvent ( Event e ) : void
e Event
return void

OnFrameworkCleared() public method

public OnFrameworkCleared ( Framework framework ) : void
framework Framework
return void

OnInstrumentAdded() public method

public OnInstrumentAdded ( Instrument instrument ) : void
instrument Instrument
return void

OnInstrumentDefinition() public method

public OnInstrumentDefinition ( InstrumentDefinition definition ) : void
definition InstrumentDefinition
return void

OnInstrumentDefintionEnd() public method

public OnInstrumentDefintionEnd ( InstrumentDefinitionEnd end ) : void
end InstrumentDefinitionEnd
return void

OnInstrumentDeleted() public method

public OnInstrumentDeleted ( Instrument instrument ) : void
instrument Instrument
return void

OnLog() public method

public OnLog ( Event e ) : void
e Event
return void

OnPortfolioAdded() public method

public OnPortfolioAdded ( Portfolio portfolio ) : void
portfolio Portfolio
return void

OnPortfolioRemoved() public method

public OnPortfolioRemoved ( Portfolio portfolio ) : void
portfolio Portfolio
return void

OnPositionOpened() public method

public OnPositionOpened ( Portfolio portfolio, Position position, bool queued ) : void
portfolio Portfolio
position Position
queued bool
return void

OnProviderAdded() public method

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

OnProviderConnected() public method

public OnProviderConnected ( Provider provider ) : void
provider Provider
return void

OnProviderDisconnected() public method

public OnProviderDisconnected ( Provider provider ) : void
provider Provider
return void

OnProviderError() public method

public OnProviderError ( ProviderError error ) : void
error ProviderError
return void

OnProviderRemoved() public method

public OnProviderRemoved ( Provider provider ) : void
provider Provider
return void

OnProviderStatusChanged() public method

public OnProviderStatusChanged ( Provider provider ) : void
provider Provider
return void

OnStrategyAdded() public method

public OnStrategyAdded ( Strategy strategy ) : void
strategy Strategy
return void