backtestStrategy関数に手元キャッシュのデータを利用したい
Mostra commenti meno recenti
首記の件で行き詰ったので質問させていただきます。
Financial Toolboxで取引ルールの検証を行う場合、backtestStrategy関数にrebalanceFcnを割り当てる必要があります。
function new_weights = exampleRebalanceFcn(current_weights,assetPriceTimeTable)
function new_weights = exampleRebalanceFcn(current_weights,assetPriceTimeTable,signalDataTimeTable)
ここで、current_weights(現在の資金の割り振り)は逐次計算されたものが利用可能と分かりました。
では、他に利用可能な逐次計算されたデータはないものでしょうか。
例えば、日々の手元キャッシュや総資産額のデータをrebalanceFcnに入力できないと不便だと思うのですが、ドキュメント内に記載が見当たりません。
どなたかこの分野に詳しい方、ご回答の程よろしくお願いいたします。
Risposte (1)
Takao
il 28 Ott 2020
0 voti
Categorie
Scopri di più su Backtest Framework in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!