Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was trying to get the volatility value of a specific equity on a given day.

Based on the Mathematica Help, the syntax is

FinancialData["name","prop",{start,end,...}] gives a list of dates and values of a property for a sequence of dates or periods.

So I tried this with the specific request.

FinancialData["SPY", "Volatility20Day", {{2012, 10, 11}, {2012, 10, 11}}]

which generates a long error message that starts with DatePlus::date: Argument {{2012,10,11},{2012,10,11}} cannot be interpreted as a date. >>

By the way, the syntax does work with other properties such as close, open, return, etc.

Is there any specific syntax that is different for Volatility20Day?

share|improve this question
FinancialData["SPY", "Volatility20Day", {2012, 10, 11}] –  David Slater Oct 29 '12 at 14:38
Hi David, the function will return a list, all volatility values from that date forward to the present, and not the specific date value. I used that approach combined with First to get what I needed, but it does get time intensive as I need to explore market behavior further down the past. That is why I was wondering what the correct syntax should be so as not having to bring all values to then discard them all except the one Im interested in. –  Zviovich Oct 29 '12 at 14:43
Ah I see. Strange your syntax works for other properties –  David Slater Oct 29 '12 at 14:51
mmm .... seems a bug –  belisarius Oct 29 '12 at 15:01
Bug reported to Wolfram. This is their response. Hello, Thank you for your email. I've reproduced this behavior with FinancialData and filed a report with our developers on the subject. Your contact information has been appended to the report so that you can be notified when this issue is addressed. Please let me know if you experience any further problems in Mathematica. –  Zviovich Nov 5 '12 at 21:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.