AminHP / gym-anytrading

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stocks env maximum frame_bound is 2335

ArtemDubrovin opened this issue · comments

Am I doing something wrong or is the maximum frame_bound not bigger than 2335? This has the same size like the google_stocks.csv in data. But I want to work with a frame_bound bigger than 2335. What can I do to avoid this error? I checked already envs/stock_envs.py but couldn't find the problem. Can you help to fix this please.

IndexError: index 3855 is out of bounds for axis 0 with size 2335

There seems to be the problem when you try to import the data with yfinance. When you use a csv there is all ok.