pub async fn sync_historical_prices(
    now: i64,
    days: u32,
    currency: &str
) -> Result<u32>
Expand description

Retrieve historical prices

Arguments

  • now: current timestamp
  • days: how many days to fetch
  • currency: base currency