FinRL-Tutorials
FinRL-Tutorials copied to clipboard
Tutorials. Please star.
 Hi, is there any way to overcome this ?
FinRL-Tutorials/3-Practical/FinRL_PaperTrading_Demo.ipynb In Part 2: Train the agent Train (https://colab.research.google.com/github/AI4Finance-Foundation/FinRL-Tutorials/blob/master/3-Practical/FinRL_PaperTrading_Demo.ipynb#scrollTo=BxcNI2fdNjip&line=1&uniqifier=1) I run this: train(start_date = '2022-08-25', end_date = '2022-08-31', ticker_list = ticker_list, data_source = 'alpaca', time_interval= '1Min', technical_indicator_list= INDICATORS, drl_lib='elegantrl', env=env,...
 MergeError: Passing 'suffixes' which cause duplicate columns {'account_value_x'} is not allowed. please change to this code: result = pd.merge(df_result_a2c, df_result_ddpg, left_index=True, right_index=True) result = pd.merge(result, df_result_td3, left_index=True, right_index=True) result...
may someone explain the purpose of the codes from line 63 to 73? the missing dates in the 'processed' are added to 'processed_full' and then deleted; finally it seems that...
Yesterday I was running the FinRL_Ensemble_StockTrading_ICAIF_2020.ipynb notebook, but the PC got disconnected from power and shut down. The A2C, DDPG, and PPO models were generated, but the ipynb file doesn't...
Hi, there is quite a lot broken in the current version of FinRL_MultiCrypto_Trading.ipynb See: https://github.com/AI4Finance-Foundation/FinRL-Meta/issues/291 Also see: #21 I am able to go around many of the problems by running...
Hey guys, how are you doing today? I didn't do any changes to the file. When I run A2C, it trains normally, but I when I run the other agents...
when run to trained_ddpg = agent.train_model( model=model_ddpg, tb_log_name="ddpg", total_timesteps=10000 ) it complains: trained_ddpg = agent.train_model( tensorflow.python.framework.errors_impl.FailedPreconditionError: tensorboard_log/ddpg\ddpg_1 is not a directory. How to fix it? ps. and another fix is...
df_actions: 600000.SH,600009.SH,600016.SH,600028.SH,600030.SH,600031.SH,600036.SH,600050.SH,600104.SH,600196.SH,600276.SH,600309.SH,600519.SH,600547.SH,600570.SH -1000,1000,-1000,1000,1000,-1000,1000,1000,1000,-1000,1000,1000,1000,1000,-1000 0,0,0,0,0,0,0,300,0,0,0,500,1000,1000,0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ...... Like this, only traded in the firs two days, other days are 0. How should I adjust the parameters to solve this...
My result A2C max score is 1.4. I'm sure the code is the same. the tutorial result : A2C max score is 1.8