PureBytes Links
Trading Reference Links
|
Hello,
Sorry but AB is not able to guess that it should remove CME___
from the file name to get the date.
You need to add a single line at the very top of your data
file$DATE_MDY 050103
and then AB will be able to import it.
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=carlton.mceachern@xxxxxxxxxxxx
href="">Carlton McEachern
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">Amibroker
Sent: Saturday, May 03, 2003 9:06
PM
Subject: [amibroker] ASCII FILE FORMAT
QUESTION
After
reviewing the help file I have a question about the date when importing an
ASCII file. My file contains no date field, just ticker, open, high low,
close ect., but the file name comes in the form of: CME___050103, which
is of course the date. If my understanding is correct, if I leave the
date argument $DATE out of the import format file and the $FORMAT
line (Date_MDY) in the import format file, AB will get the date from the file
name.
<FONT face="Lucida Console"
size=2>
My
question is how will it know what form the date is in - YMD:DMY:MDY ect.
<FONT face="Lucida Console"
size=2>
Also,
how do I get AB to ignore the prefix in the file name: IE:
CME___
<FONT face="Lucida Console"
size=2>
This is
the file naming convention used by NAQ (North American Quotations) for their
EOD Futures data.
<FONT face="Lucida Console"
size=2>
Hope
this is clear and someone can help with a clear example.
Carlton
McEachernThe Crazy Canuck
I STARTED WITH
NOTHING.
I STILL HAVE MOST OF
IT.
<IMG alt="" hspace=0
src="gif00270.gif" align=baseline
border=0>
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Attachment:
Description: ""
|