|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sf.orangesignal.trading.backtest.BacktesterLauncher
@Controller public final class BacktesterLauncher
バックテスト実行クラスの起動クラスを提供します。
フィールドの概要 | |
---|---|
protected Backtester |
backtester
バックテスト実行オブジェクトを保持します。 |
protected static String |
DEFAULT_CONFIG_LOCATION
デフォルトの設定ファイル名です。 |
protected boolean |
info
進捗状況を表示するかどうかを保持します。 |
protected static Log |
log
共通ログインスタンスです。 |
protected static String |
OPT_FILE
設定ファイル指定オプションの文字列です。 |
protected static String |
OPT_HELP
ヘルプオプションの文字列です。 |
protected static String |
OPT_INFO
進捗状況表示オプションの文字列です。 |
protected static String |
OPT_TIME
実行時間表示オプションの文字列です。 |
protected static String |
OPT_VERSION
バージョン情報オプションの文字列です。 |
protected static Options |
options
コマンドラインオプション定義情報を保持します。 |
protected List<Reporter> |
reporters
トレードパフォーマンス情報出力オブジェクトのリストを保持します。 |
メソッドの概要 | |
---|---|
void |
backtestProcessed(BacktesterEvent event)
この実装は何も行いません。 |
void |
backtestStart(BacktesterEvent event)
データセット毎のバックテスト開始前に呼出されます。 |
protected static OptionGroup |
createGeneralOptionGroup()
全般オプショングループを作成して返します。 |
protected static Options |
createOptions()
コマンドラインオプション定義情報を作成して返します。 |
protected void |
launch(CommandLine commandline)
バックテストを実行します。 |
static void |
main(String[] args)
バックテスト実行クラスを起動して実行します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final Log log
protected static final String DEFAULT_CONFIG_LOCATION
protected static final String OPT_HELP
protected static final String OPT_VERSION
protected static final String OPT_FILE
protected static final String OPT_TIME
protected static final String OPT_INFO
protected static Options options
protected Backtester backtester
protected List<Reporter> reporters
protected boolean info
メソッドの詳細 |
---|
protected static final Options createOptions()
protected static final OptionGroup createGeneralOptionGroup()
public static void main(String[] args)
バックテスト実行クラスを起動して実行します。
args
- コマンドラインパラメータのリストprotected void launch(CommandLine commandline) throws IOException
バックテストを実行します。
但しトレードパフォーマンス情報出力オブジェクトのリストが空の場合は何も実行しません。
commandline
- コマンドライン情報
IOException
- 入出力操作で例外が発生した場合public void backtestStart(BacktesterEvent event)
BacktesterListener
の記述:
BacktesterListener
内の backtestStart
event
- バックテスト進行状況イベント情報public void backtestProcessed(BacktesterEvent event)
BacktesterListener
内の backtestProcessed
event
- バックテスト進行状況イベント情報
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |