C# Class MemExchange.Server.Processor.Book.Triggers.BestPriceTrigger

Inheritance: IBestPriceTrigger
显示文件 Open project: ThomasVestergaard/MemExchange Class Usage Examples

Private Properties

Property Type Description
Execute void

Public Methods

Method Description
BestPriceTrigger ( string symbol, double triggerPrice, WayEnum way ) : System
ModifyTriggerPrice ( double newTriggerPrice ) : void
SetTriggerAction ( System.Action action ) : void
TryExecute ( IOrderBookBestBidAsk bestBidAsk ) : bool

Private Methods

Method Description
Execute ( ) : void

Method Details

BestPriceTrigger() public method

public BestPriceTrigger ( string symbol, double triggerPrice, WayEnum way ) : System
symbol string
triggerPrice double
way WayEnum
return System

ModifyTriggerPrice() public method

public ModifyTriggerPrice ( double newTriggerPrice ) : void
newTriggerPrice double
return void

SetTriggerAction() public method

public SetTriggerAction ( System.Action action ) : void
action System.Action
return void

TryExecute() public method

public TryExecute ( IOrderBookBestBidAsk bestBidAsk ) : bool
bestBidAsk IOrderBookBestBidAsk
return bool