Module constants

Source
Expand description

Module containing global constants used throughout the library

Constantsยง

DAYS_TO_BACK_LOOK
Default number of days to look back when fetching historical data
DEFAULT_PAGE_SIZE
Default page size for API requests
DEFAULT_SLEEP_TIME
Default sleep time in hours if not specified in environment (24 hours)
ERROR_COOLDOWN_SECONDS
Cooldown time in seconds when hitting max errors (5 minutes)
MAX_CONSECUTIVE_ERRORS
Maximum number of consecutive errors before forcing a cooldown