Closed trentmc closed 1 year ago
Reflex is an alternative to Streamlit that I find more user-friendly and streamlined. While Streamlit certainly has its merits, I thought this might be worth sharing.
Reflex is an alternative to Streamlit that I find more user-friendly and streamlined. While Streamlit certainly has its merits, I thought this might be worth sharing.
OK. I updated the ticket to give space for this and other options.
We have a separate effort, going straight for analytics. See this slack msg. That includes [dr-anl#4. Therefore this issue is duplicate. Closing.
Background / motivation
Status quo. In pdr_backend "simulation flow", locally generate & show matplotlib plots at the end of the sim. Show profit vs. time for traders, predicted vs actual for predictoors, etc.
Pre-requisite 1: In simulation flow, do matplotlib simulations in realtime #279
Pre-requisite 2: Put realtime plotting into bot flows. In pdr_backend "predictoor bot flow" & "trader bot flow", for local bots, the bot itself generates & shows matplotlib plots in realtime. #280
Pre-requisite 3: Plot from different process. In pdr_backend "bot flows", for local bots, a separate local process grabs chain data then generates & shows matplotlib plots in realtime. The separate process is a new directory pdr_backend/analytics. It uses subgraph query to grab chain data. Bonus: this allows bots to be run remotely too. #281
TODO for this issue: