C# Class MtGoxTrader.Trader.SellStopOrder

Inheritance: MtGoxTrader.Model.StopOrder
Show file Open project: iamapi/MtgoxTrader

Public Methods

Method Description
Execute ( double currentSell, double currentBuy ) : bool
SellStopOrder ( StopOrder order ) : System
ShouldExecute ( double currentSell, double currentBuy ) : bool

Method Details

Execute() public method

public Execute ( double currentSell, double currentBuy ) : bool
currentSell double
currentBuy double
return bool

SellStopOrder() public method

public SellStopOrder ( StopOrder order ) : System
order MtGoxTrader.Model.StopOrder
return System

ShouldExecute() public method

public ShouldExecute ( double currentSell, double currentBuy ) : bool
currentSell double
currentBuy double
return bool