Function price_worker

Source
async fn price_worker<N: Network, P: Provider<N> + Clone + 'static>(
    client: P,
    market: SharedState<Market>,
    once: bool,
) -> WorkerResult