Hi,
I'm trying to establish if I can scroll through the eSignal produced time series for multiple contracts in real-time. I want to pause at certain places for various reasons, some of which are: waiting for data for another contract to come through, database queries, disk paging, user interaction, perhaps even an interface to another quote feed.
What will happen? Will I be forced to deal with another batch of data before being done with the first?
Here's a scenario:
- we are comparing NQ with ES real time. Perhaps there is a correlation between these indexes, and an automated trading signal is produced... but... we need to co-ordiate the comparison of real-time data.
An array of data:
ES p = [1201,1203,1204,..,1190]
ES t = [0,-1,-2,-3,...,-100]
NQ: p = [pending,2003,2004,...,1985]
NQ a): t = [pending, 0, -1, -2 -3,...,-100] -- what is in memory now
NQ b): t = [pending, -1, -2, -3, -4, ..., -101] -- the reality of the situation.
t = 1 minute bars
0 = now
Basically, we cannot be sure of what situation we are in ([NQ a], or [NQ b]) without some kind of locking scheme.
Please let me know if someone has thought this through and has a solution.
This a basic semaphore problem... only I can't quite think it through as of yet. The main bottleneck is that I am unsure of how eSignal will handle pauses... I'm a bit worried that eSignal will just loose a couple of requests or something.
Am I correct in reading that eSignal have a new API out now?
Actually... this ramble is starting to clarify things in my mind... starting to remember all of the Computer Science lectures on operating systems and contention issues.
Thanks,
-aria
I'm trying to establish if I can scroll through the eSignal produced time series for multiple contracts in real-time. I want to pause at certain places for various reasons, some of which are: waiting for data for another contract to come through, database queries, disk paging, user interaction, perhaps even an interface to another quote feed.
What will happen? Will I be forced to deal with another batch of data before being done with the first?
Here's a scenario:
- we are comparing NQ with ES real time. Perhaps there is a correlation between these indexes, and an automated trading signal is produced... but... we need to co-ordiate the comparison of real-time data.
An array of data:
ES p = [1201,1203,1204,..,1190]
ES t = [0,-1,-2,-3,...,-100]
NQ: p = [pending,2003,2004,...,1985]
NQ a): t = [pending, 0, -1, -2 -3,...,-100] -- what is in memory now
NQ b): t = [pending, -1, -2, -3, -4, ..., -101] -- the reality of the situation.
t = 1 minute bars
0 = now
Basically, we cannot be sure of what situation we are in ([NQ a], or [NQ b]) without some kind of locking scheme.
Please let me know if someone has thought this through and has a solution.
This a basic semaphore problem... only I can't quite think it through as of yet. The main bottleneck is that I am unsure of how eSignal will handle pauses... I'm a bit worried that eSignal will just loose a couple of requests or something.
Am I correct in reading that eSignal have a new API out now?
Actually... this ramble is starting to clarify things in my mind... starting to remember all of the Computer Science lectures on operating systems and contention issues.
Thanks,
-aria
Comment