use anyhow::Result;

use crate::config::ResolvedConfig;

pub async fn run(
    symbol: Option<&str>,
    config: &ResolvedConfig,
    secret: Option<&str>,
    base_url: Option<&str>,
) -> Result<()> {
    let sym = symbol.unwrap_or("SOL_USDC");
    crate::tui::launch_dashboard(sym, config, secret, base_url).await
}
