Hello,
I have an application that uses numerous charts to make trading decisions and has worked great with minute bars. Today, I added a "15S" (15 second I believe) chart (in memory) with 10 bars requested: the call I'm making is basically as follows - RequestHistory("YM", "15S", eSignal.barType.btBARS, "10", 0, 0).
Doing so causes severe stress on my application which up to this point works without incident at about 5-12% CPU Usage. When this call is made, the processor jumps and formerly benign tasks such as viewing the 10 bars in a textbox now freeze the interface.
Incidentally, I notice that I receive all the bars since midnight (500 or so....) instead of just the 10 I requested. This is certainly part of the problem. Note: for all my minute bar requests, I get exactly what I ask for.
Thoughts? Thanks in advance.
Jason
I have an application that uses numerous charts to make trading decisions and has worked great with minute bars. Today, I added a "15S" (15 second I believe) chart (in memory) with 10 bars requested: the call I'm making is basically as follows - RequestHistory("YM", "15S", eSignal.barType.btBARS, "10", 0, 0).
Doing so causes severe stress on my application which up to this point works without incident at about 5-12% CPU Usage. When this call is made, the processor jumps and formerly benign tasks such as viewing the 10 bars in a textbox now freeze the interface.
Incidentally, I notice that I receive all the bars since midnight (500 or so....) instead of just the 10 I requested. This is certainly part of the problem. Note: for all my minute bar requests, I get exactly what I ask for.
Thoughts? Thanks in advance.
Jason
Comment