Skip to content

Bugs/Errors #2

@GuyWhoDoesentKnowShit

Description

@GuyWhoDoesentKnowShit

im getting this error.

FinRL_Crypto-master\environment_Alpaca.py", line 139, in step
if price[index] > 0: # Buy only if the price is > 0 (no missing data in this particular date)
IndexError: index 1 is out of bounds for axis 0 with size 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions