sawawallet/african-market-data ? reverse-engineered prompt
Reverse engineered prompt
Build me a Rust service for African stock market data that gives one clean API across multiple exchanges, starting with GSE and the other major venues like NGX, JSE, NSE Kenya, EGX, and BRVM.
I want it to show current quotes, exchange sessions, and data sources, with every price stored as fixed point integers instead of floats. Every quote should include provenance, like where it came from, when it was observed, whether the timestamp was real or imputed, and how stale it is. The API should work on its own with free public sources first, but also be set up so licensed exchange feeds can be plugged in later without rewriting everything.
Please make it support live updates too, with a simple streaming endpoint that works when the message bus is running, and returns a helpful message when it is not. If needed, look up current docs online for Rust, Axum, NATS, and ClickHouse style patterns while building it.
Are you gonna build this?
make sure you review the code using coderabbit