Raleigh NC/USA
Posts: 1 since Nov 2014
Thanks Given: 0
Thanks Received: 0
|
How do you assign the result of getATMOption to a variable? When I try the following, I get a "expected double" error.
def symbol = GetATMOption(GetSymbol(), 20141221, OptionClass.CALL);
I assume this is because the function is returning the symbol as type String. But within the Studies editor, it doesn't allow me to create a variable of type String. So I do I assign this result to a variable?
Thanks.
|