PureBytes Links
Trading Reference Links
|
Gary,
There is nothing in your reasoning that I would disagree with. My confusion came from an inability
to see why for MS 5.11 it was so easy to show (correctly!) all 4 decimal places in Data Window
whereas in MS 6.52 the subtleties of binary-decimal conversion became so much all powerful that when
I look at Data Window, it leaves me guessing if my data feed is OK.
Appreciate your comment, but still confused.
Vitaly
Randall_Gary@xxxxxxxx wrote:
> This doesn't look like a bug to me. The data window displays the downloader
> values rounded up to two decimal places. Common rounding would add .005 to the
> value and then drop the remaining digits. Note that some statistical rounding
> schemes may alternate between rounding a value up or down, which isn't practical
> for general purposes. The downloader values are displayed to four decimal
> places. There can be discrepancies between display procedures
>
> The numerical value the program manipulates is not an exact representation of
> either value, since it is a binary number. The downloader typically takes a
> text number and converts it to binary. The data window then converts the number
> back to text to display it. A bit or two lost in each conversion can result in
> small differences. Any computed results using the internal value may contain
> small rounding differences, depending on the magnitude and number of
> calculations.
>
> Gary Randall -- Brunswick, Maine
>
>
|