I am having a problem, I can't get the opening price for TGT this morning (5/23/06). In my esignal quote window, I see the opening price correctly as 60.35.
However, when I call esignal open() and getValueAbsolute("open"), I don't get either of these prices.
this code:
var o = getValueAbsolute("open",0,1,"TGT=N,D");
var o2 = open(0,sym("TGT=N,D"));
debugPrintln("OPEN:"+o+" OPEN2:"+o2);
returns:
OPEN: 58.44 // believe this is yesterday's open
OPEN2: 57.45 // have no idea where this comes from
Why is this happening? What function should I call to get the opening day price?
I'm really frustrated right now because from reading the documentation, my understanding is that both of the above functions should return the opening day price... but since neither is and they're both returning different values I'm totally lost.
-josh
However, when I call esignal open() and getValueAbsolute("open"), I don't get either of these prices.
this code:
var o = getValueAbsolute("open",0,1,"TGT=N,D");
var o2 = open(0,sym("TGT=N,D"));
debugPrintln("OPEN:"+o+" OPEN2:"+o2);
returns:
OPEN: 58.44 // believe this is yesterday's open
OPEN2: 57.45 // have no idea where this comes from
Why is this happening? What function should I call to get the opening day price?
I'm really frustrated right now because from reading the documentation, my understanding is that both of the above functions should return the opening day price... but since neither is and they're both returning different values I'm totally lost.
-josh
Comment