AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Meta
profit_taken does not seem to be correct!
- 主要言語
- Python
- スター
- 1.9k
- フォーク
- 751
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
What is the rational behind this formula to calculate the profit? Something does not seem right!W
Why would action be a decimal number if the action space = {0, 1, 2}?
if action is either 0, 1, or 2 then _profit_takens is always equal to self.cf.symbol(self.assets[i], "stop_loss_max"), otherwise if action is decimal then _profit_takens is equal to self.cf.symbol(self.assets[i], "profit_taken_max")) + self.cf.symbol(self.assets[i], "stop_loss_max")
_profit_taken = math.ceil((x - _action) * self.cf.symbol(self.assets[i], "profit_taken_max")) + self.cf.symbol(self.assets[i], "stop_loss_max")
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。