svnno****@sourc*****
svnno****@sourc*****
2013年 7月 26日 (金) 17:27:39 JST
Revision: 488 http://sourceforge.jp/projects/protra/scm/svn/commits/488 Author: panacoran Date: 2013-07-26 17:27:38 +0900 (Fri, 26 Jul 2013) Log Message: ----------- 必要資金と最大ポジションを計算する。#9165 * PtSim/Controls/ProfitGraphBox.cs (ProfitGraphBox): CumultiveProfitのPricePairListへの変更に対応する。 * PtSim/Performance.cs (Performance.Calculate): CalcProfitをAnalyzeLogsに変更。CalcDrowdownの呼び出しをAnalyzeLogsに移動する。 (Performance.AnalyzeLogs): CalcProfitから改名。ポジションの金額の推移を計算する。CalcMaxPosition、CalcBudget、CalcDrowdownを実行する。 (Performance.EvaluateTrade): 返値を削除。 (Performance.CalcMaxPosition): 新規。最大ポジションを計算する。 (Performance.CalcBudget): 新規。必要資金を計算する。 (Performance.CalcDrowdown): CumultiveProfitのPricePairListへの改名に対応する。 (Performance.PrintResult): 必要資金と最大ポジションの表示を追加する。 * PtSim/PricePairList.cs (PricePairList): CumultiveProfitから改名。 (PricePairList.BookAccumulatedList): 新規。簿価のみ積算したリストを返す。 (PricePair.AddMarket(float, float)): 新規。floatで積を計算して桁あふれを防ぐ。 (PricePair.AddBook(float, float)): 同上。 Ticket Links: ------------ http://sourceforge.jp/projects/protra/tracker/detail/9165 Modified Paths: -------------- protra/trunk/ChangeLog.txt protra/trunk/PtSim/Controls/ProfitGraphBox.cs protra/trunk/PtSim/Performance.cs protra/trunk/PtSim/PtSim.csproj protra/trunk/PtSim/SystemExecutor.cs Added Paths: ----------- protra/trunk/PtSim/PricePairList.cs Removed Paths: ------------- protra/trunk/PtSim/CumultiveProfit.cs