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