Pebble App Framework: Phone API
    Preparing search index...

    Variable default

    default: {
        currentTradingDay: (now: number) => string;
        marketPhase: (now: number) => MarketPhase;
        rateLimitWait: (
            provider: string,
            results: { limit?: string; status?: string }[],
            backoffMs: number,
            now: number,
            paid?: boolean,
        ) => RateLimitWait;
        roundWait: (
            provider: string,
            calls: RoundCall[],
            answered: boolean,
            timeLeftAlone: boolean,
            backoffMs: number,
            now: number,
            paid?: boolean,
        ) => RateLimitWait | null;
        shouldThrottleStockFetch: (
            provider: string,
            force: boolean,
            lastFetchMs: number,
            lastAsOf: string,
            now: number,
            retryAtMs?: number,
            paid?: boolean,
        ) => boolean;
    }

    Type Declaration

    • currentTradingDay: (now: number) => string
    • marketPhase: (now: number) => MarketPhase
    • rateLimitWait: (
          provider: string,
          results: { limit?: string; status?: string }[],
          backoffMs: number,
          now: number,
          paid?: boolean,
      ) => RateLimitWait
    • roundWait: (
          provider: string,
          calls: RoundCall[],
          answered: boolean,
          timeLeftAlone: boolean,
          backoffMs: number,
          now: number,
          paid?: boolean,
      ) => RateLimitWait | null
    • shouldThrottleStockFetch: (
          provider: string,
          force: boolean,
          lastFetchMs: number,
          lastAsOf: string,
          now: number,
          retryAtMs?: number,
          paid?: boolean,
      ) => boolean