|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.orangesignal.trading.DefaultPosition
jp.sourceforge.orangesignal.trading.stats.Trade
public class Trade
パフォーマンス情報を提供します。
フィールドの概要 | |
---|---|
protected double |
cumNetProfit
累計損益を保持します。 |
protected double |
drawdown
ドローダウン(下落幅)を保持します。 |
protected double |
equity
資産額を保持します。 |
protected double |
maxDrawdown
最大ドローダウン(最大下落幅)を保持します。 |
protected double |
maxEquity
最大資産額を保持します。 |
クラス jp.sourceforge.orangesignal.trading.DefaultPosition から継承されたフィールド |
---|
entryCommission, entryDate, entryLabel, entryPrice, entryQuantity, entrySlippage, exitCommission, exitDate, exitLabel, exitPrice, exitQuantity, exitSlippage, hold, id, stoped, symbol, type |
コンストラクタの概要 | |
---|---|
protected |
Trade()
デフォルトコンストラクタです。 |
protected |
Trade(Position position)
他のポジション情報からこのクラスを構築するコンストラクタです。 |
メソッドの概要 | |
---|---|
double |
getCumNetProfit()
累計損益を返します。 |
double |
getDrawdown()
ドローダウン(下落幅)を返します。 |
double |
getEquity()
資産額を返します。 |
double |
getMaxDrawdown()
最大ドローダウン(最大下落幅)を返します。 |
double |
getMaxEquity()
最大資産額を返します。 |
double |
getPercentCumNetProfit()
累計損益率を返します。 |
double |
getPercentDrawdown()
ドローダウン率(下落率)を返します。 |
double |
getPercentMaxDrawdown()
最大ドローダウン率(最大下落率)を返します。 |
クラス jp.sourceforge.orangesignal.trading.DefaultPosition から継承されたメソッド |
---|
close, compareTo, getCommission, getDays, getDays, getEntryAmount, getEntryCommission, getEntryDate, getEntryLabel, getEntryPrice, getEntryQuantity, getEntrySlippage, getExitAmount, getExitCommission, getExitDate, getExitLabel, getExitPrice, getExitQuantity, getExitSlippage, getGrossLoss, getGrossProfit, getGrossSales, getGrossSales, getHold, getId, getNetProfit, getNetProfit, getPercent, getPercentCommission, getPercentGrossLoss, getPercentGrossProfit, getPercentNetProfit, getSlippage, getSymbol, getType, isClosed |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected double cumNetProfit
protected double equity
protected double drawdown
protected double maxEquity
protected double maxDrawdown
コンストラクタの詳細 |
---|
protected Trade()
デフォルトコンストラクタです。
このコンストラクタはサブクラスを実装する開発者向けに提供しています。
protected Trade(Position position)
position
- ポジション情報メソッドの詳細 |
---|
public double getCumNetProfit()
public double getPercentCumNetProfit()
public double getEquity()
public double getDrawdown()
public double getPercentDrawdown()
public double getMaxEquity()
public double getMaxDrawdown()
public double getPercentMaxDrawdown()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |