Skip to main content

fetch_current_price

Function fetch_current_price 

Source
pub fn fetch_current_price(client: &Client, symbol: &str) -> Result<f64>
Expand description

Fetch the most recent closing price (last valid close in a 5-day 1d window)