Skip to content

SP500 data: loss and portfolio_value is nan #15

@lanqian110

Description

@lanqian110

I have tried to use SP500 data to reproduce this code, and change some sql sequence. But, when i run the code,the loss and portfoilio_value is nan. My data and running result are shown below.
屏幕截图 2023-11-28 210917
屏幕截图 2023-11-28 211427
I wonder to know if the data needed to be preprocessed before run the code like normalization or anything else.

Looking forward to your reply!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions