pub fn avg_price(symbol: &str) -> AvgPrice