|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hoplugins.transfers.vo.TransferTotals
Value Object representing totals information for a selection of transfers.
Constructor Summary | |
TransferTotals()
|
Method Summary | |
static TransferTotals |
calculateTotals(java.util.List transfers)
Calculates the totals based on a list of transfers. |
int |
getAmountBuy()
Gets the number of BUY transfers |
int |
getAmountSell()
Gets the number of SELL transfers |
double |
getBuyPriceAvg()
Gets the average price for BUY transfers |
int |
getBuyPriceTotal()
Gets the total price for BUY transfers |
double |
getBuyTsiAvg()
Gets the average TSI value for BUY transfers |
int |
getBuyTsiTotal()
Gets the total TSI value for BUY transfers |
double |
getSellPriceAvg()
Gets the average price for SELL transfers |
int |
getSellPriceTotal()
Gets the total price for SELL transfers |
double |
getSellTsiAvg()
Gets the average TSI value for SELL transfers |
int |
getSellTsiTotal()
Gets the total TSI value for BUY transfers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransferTotals()
Method Detail |
public static TransferTotals calculateTotals(java.util.List transfers)
transfers
- List of transfers
public final int getAmountBuy()
public final int getAmountSell()
public final double getBuyPriceAvg()
public final int getBuyPriceTotal()
public final double getBuyTsiAvg()
public final int getBuyTsiTotal()
public final double getSellPriceAvg()
public final int getSellPriceTotal()
public final double getSellTsiAvg()
public final int getSellTsiTotal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |