[Media] Building a Rust TUI trading terminal
![[Media] Building a Rust TUI trading terminal](https://i.redd.it/kf0pf2dz6pag1.gif)
Building a Rust TUI trading terminal
Why TUI based?
Wanted to build a keyboard first options trading terminal. Did lot of research, turned out no GUI apps can be truly keyboard first
Hence, opted for Rust TUI framework - Ratatui
Why Rust?
- Wanted to build a zero runtime dependency application.
Python’s Textualize framework would have been faster and easier to iterate this POC but requires Python runtime which adds a friction for user onboarding.
- Application is calculation heavy
Terminal fetches data every one second and recalculates the payoff for an option strategy. Long term goal is to fetch every 0.5 seconds.
Hence Rust felt more future proof