Hello,
Poor searching.
As I wrote, search for $NOQUOTES and read what is written there
http://www.amibroker.com/guide/d_ascii.html
It is clearly written:
$NOQUOTES Switch quotation data mode
0 - (default) accept only quotation data (AmiBroker checks for non-zero prices
and valid dates)
1 - switch off quotation data checking - this allows importing non-quotation
data - for example only ticker and full names
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-08-31 19:16, Keith McCombs wrote:
TJ --
I just did a word search in .pdf manual, 5.20. I could not find where it said that either that Open Interest is considered as PART of quotation. Or that at
least CLOSE price is required.
My searches included:
$NOQUOTES
openinterest
"at least close price"
"part of quotation"
I also searched pages 284-299 for:
quotation
close
and reread areas containing those words, without benefit.
-- Keith
On 8/31/2010 12:14, Tomasz Janeczko wrote:
Hello,
It is already. Check the description of $NOQUOTES in the manual.
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-08-31 16:55, Keith McCombs wrote:
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:* [email protected] [mailto:[email protected]] *On Behalf
Of *TA
*Sent:* Monday, August 30, 2010 7:53 PM
*To:* [email protected]
*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:* [email protected] [mailto:[email protected]] *On Behalf
Of *Ed H
*Sent:* Monday, August 30, 2010 7:17 PM
*To:* [email protected]
*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 [email protected] <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
>