I have made a preliminary rtdman version for feeding amibroker with OFA through aux1 and aux 2. But I am not sure if I have coded the c++ correctly in worker Cpp. the logic is:
if LTP equals ask price then LTQ equals ask vol (avol) - passed to aux1
if LTP equals Bid price then LTQ equals bid vol (bvol) - passed to aux 2
when I compiled and checked with quote editor live, the LTQ was equal to either the aux1 or aux2 and not both which is correct. but what is bothering me is:
1. some time LTQ doesnt appear either at aux1 or aux2 both showing zero.
2. when archive is on the updation to ami is anywhere between 5 to 8 secs
and when archive is off then between 1 sec to even 5 secs. this although nest/ninja showing updations which doesnt reflect in ami.
I am attaching the source code (remove spaces) for checking by any of you guys and solve the above problems while I am also at it.
http s://my.pcloud.co m/publink/show?code=XZngA8ZA6x2Dqd7vuj8KMQYP8upHzd4PtH7
if LTP equals ask price then LTQ equals ask vol (avol) - passed to aux1
if LTP equals Bid price then LTQ equals bid vol (bvol) - passed to aux 2
when I compiled and checked with quote editor live, the LTQ was equal to either the aux1 or aux2 and not both which is correct. but what is bothering me is:
1. some time LTQ doesnt appear either at aux1 or aux2 both showing zero.
2. when archive is on the updation to ami is anywhere between 5 to 8 secs
and when archive is off then between 1 sec to even 5 secs. this although nest/ninja showing updations which doesnt reflect in ami.
I am attaching the source code (remove spaces) for checking by any of you guys and solve the above problems while I am also at it.
http s://my.pcloud.co m/publink/show?code=XZngA8ZA6x2Dqd7vuj8KMQYP8upHzd4PtH7
well got the aux1 aux2 going ok with only 1 second between updates.]
Sir above Code/Link is UpDated ?
Thnx n Rgrds
Sir above Code/Link is UpDated ?
Thnx n Rgrds