[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Data type of Volume field



PureBytes Links

Trading Reference Links

Hi - You are correct, and the workaround is that Volume needs to be divided 
by 1000 (for example ) to make it smaller. I don't use Yahoo data but there 
is a keyword $VOLFACTOR that works with ( I think ) ASCII importer to 
accomplish this.. It is briefly mentioned in the user guide, try doing a 
search on on that term.

Steve

----- Original Message ----- 
From: "Ed Hoopes" <reefbreak_sd@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, December 17, 2006 11:42 AM
Subject: [amibroker] Data type of Volume field


> I'm trying to import Yahoo! data for the symbol ^NYA - the NYSE
> composite index.
>
> The *.csv Volume field has NYSE total volume that currently is running
> around 2 billion shares/day.  When I examine the *.csv file in Excel,
> the volume is different from day-to-day as expected. BUT when it is
> imported into AmiBroker, most of the volume numbers are all the same
> - around 2.147. . .  billion.
>
> My suspicion is that this is a 32 bit signed INTEGER data type.  2^32
> / 2.  Is this correct?
>
> My goal is to use the volume to construct an A/D line for the NYSE.
> A/D involves adding/subtracting  -  but if I'm up against an internal
> limit of AB maybe that is not possible.
>
> Any suggestions??
>
> Ed Hoopes
> AKA ReefBreak
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
> 



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.23/591 - Release Date: 12/17/2006 3:17 PM