//! Nasdaq — keyless market-wide earnings/IPO/dividend/split calendars.
//!
//! Requires the **`nasdaq`** feature flag.
//!
//! `api.nasdaq.com`'s public calendar endpoints back this adapter, the same
//! undocumented API several third-party calendar wrappers already rely on.
//! Earnings, dividends, and splits are queried per calendar day; IPOs per
//! calendar month, since Nasdaq takes no date-range parameter for any of
//! them — a `[from, to]` calendar request fans out into one request per
//! day/month in range (see `calendar` for the range-iteration and mapping
//! logic, and `client` for the browser-`User-Agent` requirement).
pub
pub
use Duration;
use cratekeyless_limiter;
use crateResult;
use NasdaqClient;
/// Self-imposed pacing. Nasdaq documents no quota; requests fan out per
/// day/month in a range so keep this conservative.
const NASDAQ_RATE_PER_SEC: f64 = 2.0;
const DEFAULT_TIMEOUT: Duration = from_secs;
keyless_limiter!;
/// Build a client against the live API, reusing the shared token bucket.
pub use fetch_market_calendar_response;