oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
28 stars 22 forks source link

[Sim] Sim engine plots obstruct the rest of the screen #744

Closed Pfed-prog closed 6 months ago

Pfed-prog commented 7 months ago

I am very excited about the predictoor and I have cloned the repo.

I have run the default script but the plot obstructs everything else on the computer. Any chance the plot could be more manageable. It aslo disappears after the script stops. I have no idea where to find it.

trentmc commented 7 months ago

We recently created #749 "[Sim] Output sim_engine plots -> streamlit -> webapp" which should help a lot. It will likely be a week or two before done.

It aslo disappears after the script stops. I have no idea where to find it.

This was the original design intent. However I agree, it's annoying. The issue above will address this too. In the meantime, just put a import pdb; pdb.set_trace() at the tail end of SimEngine.run(), ie here.

trentmc commented 7 months ago

I've renamed the issue to be more specific, and linked to it from # 749.

idiom-bytes commented 6 months ago

@Pfed-prog we have now pushed an update to main that lets you run the streamlit app. This is a bigger effort to build an interface that is easier to build and use.

Please download the main branch, and read the update to the readme so you know how to run the app along with the sim engine.

Please give that a try and then let us know how it went so we can close this issue.

Pfed-prog commented 6 months ago

@Pfed-prog we have now pushed an update to main that lets you run the streamlit app. This is a bigger effort to build an interface that is easier to build and use.

Please download the main branch, and read the update to the readme so you know how to run the app along with the sim engine.

Please give that a try and then let us know how it went so we can close this issue.

Thank you so much for pinging me, I have updated local repo and run the code

The graphs do not prevent me from using my computer, thank you very much.

image