Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizer cannot load logs with compressed data frames #3

Open
stevenshinechen opened this issue Apr 13, 2024 · 2 comments
Open

Visualizer cannot load logs with compressed data frames #3

stevenshinechen opened this issue Apr 13, 2024 · 2 comments

Comments

@stevenshinechen
Copy link

When the dataframes used goes over a certain size, pickle compresses it:
"lambdaLog": "[[81900,\"{\\\"py/object\\\": \\\"trader.TraderData\\\", \\\"prices\\\": {\\\"py/object\\\": \\\"pandas.core.frame.DataFrame\\\", \\\"comp\\\": true, \\\"values\\

This prevents the visualizer from recognising the logs.

I have tested it using the same code but with smaller dataframe size and if it does not compress, then the visualizer is able to recognise the logs

Algorithm runs fine on the IMC prosperity website, but just breaks the visualizer.

@jmerle
Copy link
Owner

jmerle commented Apr 13, 2024

I updated the logger in the prerequisites section about a week ago to truncate the trader_data and logs it prints, if you submit with the latest logger code displayed on the visualizer's home page this issue should disappear.

@stevenshinechen
Copy link
Author

This error occurred after updating the logger with the truncation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants