I'm trying for the first time to access to the DOM bid and ask data from easylanguage.
I made several test with dom_bidscount and similar keyword but I always receive 0 when I try to print them. I also tried to use this sample code:
and it always give me 0.0. Obviously it is not connected to the DOM. I actually have DTN IQFEED as datafeed, should I be able to access to all book B/A data?
Code: Select all
if dom_isconnected then
var0 = dom_askprice(0);
I'm asking it because you can only open a DOM for an instruments in your broker list. So how can you obtain those kind of data( dom_bidscount, dom_bidsize etc... ) from the datafeed and not from your broker?