wait_for_data#
- wait_for_data(client, pair_ids, tick, bucket, maximum_wait, sleep=datetime.timedelta(seconds=5), retryable_exceptions=(<class 'ConnectionError'>, <class 'requests.exceptions.HTTPError'>, <class 'requests.exceptions.Timeout'>, <class 'requests.exceptions.TooManyRedirects'>))[source]#
Wait until the candle data is available.
We wait until we have the data for the previous candle available.