PureBytes Links
Trading Reference Links
|
On Friday, March 16, 2001, 2:24:39 PM, pierre.orphelin wrote:
Pierre-
I think you missed the point TOTALLY - read on...
>> For thinking purposes, a simple but computation-intensive study
>> would be:
>>
>> x = WAverage( WAverage( WAverage( WAverage( c , 50) , 100) , 1000) ,
>> 10000) ;
>>
>> Put a few of these on each of a few data sets on a 100,000 bar chart
>> and you'll see what I mean.
>>
po> You are running tye following code over 100 000 bars
po> 50+100+1000+10000 = 11150 loops ber bar! 1 115 000 000 loops per
po> chart... Any computer program will take times if you do this!
Of course! That is EXACTLY what it is supposed to do. :-)
po> Stupid!
Perhaps not. The purpose was to give people a very simple example of a
computation that took a lot of computing. The above does that quite
well, as you have pointed out. :-) According to YOUR analysis, it does
its intended job very well - not stupid after all, I guess. Most
people might not have computation-intensive code handy, and this was a
quick cut-and-paste example.
The idea was to have a few other people try it to see if they also
experience problems with TS2k doing interrupted 'pending' operations.
This might help to explain the different experiences people have with
it. I do seem to note that the people doing more sophisticated
calculations seem to have more problems. Why is that?
(I would suggest you try it as well, but it would not be a useful
result. We CANNOT trust you to report honestly about TS problems.) :-)
Instead of attacking, perhaps you could suggest why there is such a
big difference.
po> For counter = 0 To Length - 1 Begin Sum = Sum +
po> Price[counter] * (Length - counter) ; CSum = CSum + Length
po> - counter; End;
Again, this was NOT supposed to do anything useful except take time to
calculate, and this time could be used to check out the idea.
po> Take this one ( will give probably the same results) St maxbbars back to 1
po> then see the difference...
Well, duh...
po> If you are bound to run stupid code like above ( guess that you
po> set it to update every tick ... ) and do database copy and paste
po> frm to GS, take a dual processsor machine and set the GS to run on
po> one of them. Now, what is the interest to copy and past all day
po> long ?
Again, you missed the point of the post.
po> Buy a Cray
Large computations are EXACTLY why people DO buy a Cray. :-)
po> My opinion is that those traders get what they deserve...
Rather than be nasty to traders using techniques that may require a
lot of computing, why not try to be helpful and offer useful
suggestions for those wanting to use such techniques?
ztrader
|