ElegantRL icon indicating copy to clipboard operation
ElegantRL copied to clipboard

How to get the value of account_value_erl

Open LunbiWa opened this issue 1 year ago • 1 comments

LunbiWa avatar Dec 05 '23 03:12 LunbiWa

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

at FinRL/examples/FinRL_PaperTrading_Demo.ipynb 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 ) image

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

Thanks!

LunbiWa avatar Dec 06 '23 02:12 LunbiWa