Skip to content
adasThePrime edited this page Apr 13, 2026 · 1 revision

Range

Predefined date ranges for chart and spark endpoints.

from pyahoo import Range
# or
from pyahoo.enums import Range

Members

  • D1: 1 day.
  • D5: 5 days.
  • MO1: 1 month.
  • MO3: 3 months.
  • MO6: 6 months.
  • Y1: 1 year.
  • Y2: 2 years.
  • Y5: 5 years.
  • Y10: 10 years.
  • YTD: Year to date.
  • MAX: Maximum available.

Clone this wiki locally