AI4Finance-Foundation/ElegantRL

How to get the value of account_value_erl

Closed this issue · 0 comments

Used to compare the performance of different strategies or investments relative to the initial investment.
The value of account_value_erl.

at FinRL/finrl
Available DRLAgent_erl.DRL_prediction(): Get
For example:
episode_total_assets = DRLAgent_erl.DRL_prediction(
model_name=model_name,
cwd=cwd,
net_dimension=net_dimension,
environment=env_instance,
)

In FinRL/finrl/applications/stock_trading/stock_trading.py
Available DRLAgent.DRL_prediction(): Get
For example:
result_ppo, actions_ppo = DRLAgent.DRL_prediction(
model=trained_ppo, environment=e_trade_gym
)

question:
class Evaluator in ElegantRL/elegantrl/train/evaluator.py:
How to get the value of account_value_erl.