For example: if you set range=last30 and date=2008-03-10,
the date element of the returned array will be "2008-02-10,2008-03-10"
Parameters you can set:
- range: last30, previous10, etc.
- date: YYYY-MM-DD, today, yesterday
- period: day, week, month, year