Rpanda trading simulation - from an idea to a multi-user shiny app
summary
A commodities trading simulator built in R/Shiny becomes a semester-long and real-time game used at University of Alberta, combining futures trading, asset bidding (pipelines), a news feed, and weekly P&L grading; backend uses plumber APIs, gt tables and plotly, and relies on invalidateLater for reactivity. Early scaling hits surface after about 10 users limit and are solved by refactoring, adding CPUs and following Shiny best practices. Roadmap adds NLP and reinforcement learning to model and assist human traders.
AI-written summary · about
chapters (7)
- 0:00Intro
- 1:10About us
- 10:19The misperception
- 14:35Technology stack
- 15:33Simulation software
- 16:56Scaling challenges
- 18:26Whats next
related talks
20mWhat I learned from running Shiny in production
37mA Shiny application for job matching
25mReproducibility Around a Web Application
13mMobile Education App during COVID | Teaching Data Science
35mBetter Research Planning Through Simulation
18mDeploy R and Shiny
19mEmpowering Learners with WebR, Pyodide, and Quarto
42mSex, Money and Evolution - Simulation and Data Analysis with Ruby and R
