Class Checker
- java.lang.Object
-
- pl.com.external.essw.finance.checkers.Checker
-
- Direct Known Subclasses:
BuyChecker,MarketChecker,SellChecker
public abstract class Checker extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Checker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static AdivsorStocksgetAdvisorStock(Transaction transaction)static booleanisDayEnd(Transaction transaction)static booleanisDead(Transaction transaction)static booleanisNoPeriods(Period lastFullPeriod)static booleanisRSIHigh(java.lang.Integer RSI)static booleanisRSILow(java.lang.Integer RSI)static booleanisRSINeutral(java.lang.Integer RSI)static booleanisTradeHour(Transaction transaction)static booleannoFakinWay()
-
-
-
Method Detail
-
getAdvisorStock
protected static AdivsorStocks getAdvisorStock(Transaction transaction)
- Parameters:
transaction-- Returns:
-
noFakinWay
public static boolean noFakinWay()
- Returns:
-
isNoPeriods
public static boolean isNoPeriods(Period lastFullPeriod)
- Parameters:
lastFullPeriod-- Returns:
-
isDayEnd
public static boolean isDayEnd(Transaction transaction)
- Parameters:
transaction-- Returns:
-
isDead
public static boolean isDead(Transaction transaction)
- Parameters:
transaction-- Returns:
-
isTradeHour
public static boolean isTradeHour(Transaction transaction)
- Parameters:
transaction-- Returns:
-
isRSINeutral
public static boolean isRSINeutral(java.lang.Integer RSI)
- Parameters:
RSI-- Returns:
-
isRSILow
public static boolean isRSILow(java.lang.Integer RSI)
- Parameters:
RSI-- Returns:
-
isRSIHigh
public static boolean isRSIHigh(java.lang.Integer RSI)
- Parameters:
RSI-- Returns:
-
-