TJ --
IMHO, this type of information should be in the User's Manual.
-- Keith

On 8/31/2010 06:43, Tomasz Janeczko wrote:

Hello,

Open Interest is considered as PART of quotation, therefore can NOT be imported with $NOQUOTES 1

Since it is a PART of quotation, it has to come *together* with at least CLOSE price.

So your data file should contain
DateTime, Close, OpenInterest

fields at minimum.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-08-31 08:05, TA wrote:

TJ, by chance if you see message would you please comment. TIA

*From:* amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] *On Behalf Of *TA
*Sent:* Monday, August 30, 2010 7:53 PM
*To:* amibroker@yahoogroups.com
*Subject:* RE: [amibroker] Re: Open Interest Field

Hi Ed

Thanks, for the reply. Initially, I was thinking the same that the number might be too big. However, I input it manually it takes it. If I set $NOQUOTES to 1 the $debug does produce any error but it also doesn't import the data. If I set $NOQUOTES to 0 then it produce the following error:

Error in line A,8/27/2010,346000000

Invalid (close) price. Prices must be positive. If you want to import no quotation data please specify $NOQUOTES 1 ('no quotation data' box in Wizard)

*From:* amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] *On Behalf Of *Ed H
*Sent:* Monday, August 30, 2010 7:17 PM
*To:* amibroker@yahoogroups.com
*Subject:* [amibroker] Re: Open Interest Field

My WAG (Wild Ass Guess) would be that the OI field is a fixed point 32 bit number (same as volume) which has a max value of 4 billion. The AA stock is already at 1 billion.

Try cutting off 3 zeros from each OI entry and see if that helps.

Try adding $BREAKONERROR 1 to the commands in addition to $DEBUG and see if the error log file has ! any hints.

--- In amibroker@yahoogroups.com <mailto:amibroker%40yahoogroups.com>, "TA" <tagro...@... <mailto:tagro...@...>> wrote:
>
> I am trying to import an ascii file with following data to the Open Interest
> field:
>
>
>
> A,8/27/2010,346000000
>
> AA,8/27/2010,1020000000
>
>
>
> The following is my format file instructions. It keeps on failing. Do you
> see why? TIA
>
>
>
> $FORMAT TICKER, Date_USA, OPENINT
>
> $SKIPLINES 0
>
> $NOQUOTES 1
>
> $AUTOADD 0
>
> $OVERWRITE 1
>
> $SEPARATOR ,
>
> $DEBUG 1
>


Reply via email to