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