FinRL
FinRL copied to clipboard
Could not broadcast input array from shape
I am trying to run your code in Colab https://colab.research.google.com/drive/11pErFMRAWFbWs-P5iArJheFxF2Mh-F1v#scrollTo=IhizvNwcrg1n
where I stumble in the problem:

I only used 10 stocks for my model? Is that the one causing the problem? ValueError: could not broadcast input array from shape (10,2) into shape (18,10)
The data I used: vietnamdata.txt
Did this issue end up being resolved? I am trying to use non YF data and I am having the same issue.
ValueError: could not broadcast input array from shape (6341,) into shape (32997,)
+1 @george-adams1, @ckive. Trying to use finrl.config_tickers.SP_500_TICKER. Just the basic data. Getting same error. Any solutions yet??
Yes, wasn't the issue I originally thought. Make sure your index is set the saw FinRL likes it. That solved my problem
Interesting. I'm sorry I donot get it. Can you give an example perhaps to explain make sure your index is set? Btw, cheers for the instant reply! :beers: