Hi
Regarding the commands
getMostRecentAsk()
getMostRecentBid()
getMostRecentTrade()
getMostRecentTradeSize()
I have seen the following check done on the initial data
var nTempAsk = getMostRecentAsk();
var nTempBid = getMostRecentBid();
if (nTempAsk != null && nTempAsk != 0) nAsk = nTempAsk;
if (nTempBid != null && nTempBid != 0) nBid = nTempBid;
Is this check necessary? ie can I just use
nAsk = getMostRecentAsk();
It seems to have worked fine without it so far.
TIA
Regarding the commands
getMostRecentAsk()
getMostRecentBid()
getMostRecentTrade()
getMostRecentTradeSize()
I have seen the following check done on the initial data
var nTempAsk = getMostRecentAsk();
var nTempBid = getMostRecentBid();
if (nTempAsk != null && nTempAsk != 0) nAsk = nTempAsk;
if (nTempBid != null && nTempBid != 0) nBid = nTempBid;
Is this check necessary? ie can I just use
nAsk = getMostRecentAsk();
It seems to have worked fine without it so far.
TIA
Comment