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