Skip to content

Stock analysis SPA

Finoracle

Quote search and interactive charts, compiled to WebAssembly and running entirely in the browser.

#[component]
fn Quote(symbol: String) -> Element {
    let series = use_resource(move || fetch_daily(symbol.clone()));
    rsx! {
        match &*series.read() {
            Some(Ok(s)) => rsx! { PriceChart { series: s.clone() } },
            Some(Err(e)) => rsx! { p { "{e}" } },
            None => rsx! { Spinner {} },
        }
    }
}

A single-page app for stock quote search and interactive charting, written in Rust with Dioxus and compiled to WebAssembly. Everything runs in the browser.