llSourcell / ChatGPT_Trading_Bot

This is the code for the "ChatGPT Trading Bot" Video by Siraj Raval on Youtube
909 stars 494 forks source link

I get this error during Implement DRL Algorithms #7

Open Elliot-Construct opened 1 year ago

Elliot-Construct commented 1 year ago

======DDPG Validation from: 2021-10-04 to 2022-01-03 ======Best Model Retraining from: 2010-01-01 to 2022-01-03 ======Trading from: 2022-01-03 to 2022-04-04

ValueError Traceback (most recent call last) in <cell line: 1>() ----> 1 df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, 2 PPO_model_kwargs, 3 DDPG_model_kwargs, 4 timesteps_dict)

5 frames /usr/local/lib/python3.10/site-packages/pandas/core/internals/construction.py in _extract_index(data) 643 644 if not indexes and not raw_lengths: --> 645 raise ValueError("If using all scalar values, you must pass an index") 646 647 if have_series:

ValueError: If using all scalar values, you must pass an index

jamea0723 commented 1 year ago

get this too. still trying to find out.

alecinvan commented 1 year ago

I have the same issue on Colab, anyone got this resolved?

nPokemon commented 1 year ago

ANy update on this ??

alexytiger commented 1 year ago

the same problem. was good a week ago

alexytiger commented 1 year ago

coul dbe they updated some package, need to dig in

rayli09 commented 1 year ago

+1