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 AdivsorStocks
getAdvisorStock(Transaction transaction)
static boolean
isDayEnd(Transaction transaction)
static boolean
isDead(Transaction transaction)
static boolean
isNoPeriods(Period lastFullPeriod)
static boolean
isRSIHigh(java.lang.Integer RSI)
static boolean
isRSILow(java.lang.Integer RSI)
static boolean
isRSINeutral(java.lang.Integer RSI)
static boolean
isTradeHour(Transaction transaction)
static boolean
noFakinWay()
-
-
-
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:
-
-