Real Time Data Now / Nest Trader to Amibroker, Fcharts

TracerBullet

Well-Known Member
Yes. That is correct.
I am getting data from RTD Server in sorted order. Problem was how to send it to AB.
Suppose, I send it in lots as and when received from server.
If Lot-1 contains data for 09:17:51.001 to 09:17:52.390 and
Lot-2 contains data for 09:17:52.391 to 09:17:53:430 and
I am using time stamp as HH:mm:ss then
data of Lot-2 will erase data of Lot-1 for time stamp 09:17:52.

Second problem is how to keep track of Lot number so that second thread sends next lot to Charting app.
That is the reason I was looking for milliseconds.

Ninja does not overwrite. That will show huge volumes if duplicate data is pushed.
yes, i already gave idea on how on how to do in earlier post( Need to maintain array of ticks for each scrip and reset it when ltt changes). This combined with moving to instant updates instead of 1 second OHLC buffer should work. For NT, we can skip the array part and send latest tick only.
We can go into details but milliseconds should be fine too and will probably be easier to code, so best to try it first ..
 

josh1

Well-Known Member
@ Zoheb
Yes bro, backfill part is not working although real time is working perfectly, after the recent update for ZT (NEST).
But you can do it manually, though laborious and time consuming.

@ Josh
Joshi bro, please give RTD 1.30 a try (backfill part, though realtime is working), If you are using ZT (NEST)[/QUO

What is not working in backfill? Did you realign columns of data table and Vwap stat after upgrading ZT
 

josh1

Well-Known Member
yes, i already gave idea on how on how to do in earlier post( Need to maintain array of ticks for each scrip and reset it when ltt changes). This combined with moving to instant updates instead of 1 second OHLC buffer should work. For NT, we can skip the array part and send latest tick only.
We can go into details but milliseconds should be fine too and will probably be easier to code, so best to try it first ..
Are baba single array for all ticks is enough. They are chronological. I can create it. I don't want the same thread to do the uploading to AB or Ninja. How is that possible?
 

TracerBullet

Well-Known Member
Try with ms, if its working it should be simplier.

Are baba single array for all ticks is enough. They are chronological. I can create it. I don't want the same thread to do the uploading to AB or Ninja. How is that possible?
- For TICKMODE 1 - ie for updating ticks live without ms timestamp -

1) single array is not enough because you need to resend all ticks of same timestamp together until LTT changes. Otherwise AB, i think, will overwrite old ticks when timestamp is same. I already explained why and what could be done here ( last part and 2 links)

2) Threads - i dont get question - we already have 2 threads. 2nd thread copies data before releasing lock and then sends to AB. Mind you, i have not tested how it works when AB hangs. In theory, it should buffer - but its not tested as AB never hangs and we already get accurate data.
 
What is not working in backfill? Did you realign columns of data table and Vwap stat after upgrading ZT
Thanks for reply.
I was using data table only. And the columns were already aligned. The problem is pop up of 'Screener IQ' and no data table pops up there after by itself but pops up by manual keying only.
How to resolve this 'Screener IQ' issue.
Thanks

BTW, in the meantime also realigned columns of VWAP, but in VWAP table, there is no data available. Must be because there is no data for today being a holiday. I will check VWAP table on Monday.
 
@mudraatrader and @ Zoheb
RTD_1.30 back fill working to me after ZT nest update.
refer SH post 1271 and modify as he told.
http://www.traderji.com/intraday/97637-real-time-data-now-nest-trader-amibroker-fcharts-128.html#post1149438
Thanks bro. Made necessary changes in the uMsg values in the shortcut manager page (no change made in value of Shift+D as it was already 20009) as suggested and took all steps but the issue is still not resolved. The "Screener IQ" still pops up and stops the process of backfill.
How did you resolve this issue. Please explain.
Thanks

BTW, I didnt find any shortcut key for Screener IQ
 

josh1

Well-Known Member
Try with ms, if its working it should be simplier.
I have already written code for ms. Currently, it is commented.

- For TICKMODE 1 - ie for updating ticks live without ms timestamp
Not required since I can do ms

1) single array is not enough
With ms, it is enough.

2) Threads - i dont get question - we already have 2 threads. 2nd thread copies data before releasing lock and then sends to AB. Mind you, i have not tested how it works when AB hangs. In theory, it should buffer - but its not tested as AB never hangs and we already get accurate data.[/QUOTE]

Say, 1st thread receives data and creates array A. (Can it communicate that to 2nd thread?) Else, 2nd thread locks it at refresh interval, say 250ms, copies to array B, clears A and releases lock.

1st array continues pushing ticks into A
2nd array pushes ticks from B to AB or Ninja and deletes it.

That's it? Looking good in theory.
 

Similar threads