PureBytes Links
Trading Reference Links
|
1st check that the file
with the industry data is correctly identified in the js file. <SPAN
class=134210107-08122003>If you have both the js file and the
data file in the same directory you do not need to use the directory structure
to refer to it in the js file. I just have them both in a
subdirectory wiuthin Ab called /scripts/
Here is the reference
for it from my js file
var filename = "Industries.csv";
Another thing to watch for
is that your names etc in the lists are firstly separated by commas, and you do
not have any extra commas within the names. I have found this in the list I get
from the ASX of companies and their sectors that the names often have commas
within them. These extra commas need to be removed.
Hope this helps a
little
Cheers,Graham<A
href="">http://groups.msn.com/asxsharetrading<A
href="">http://groups.msn.com/fmsaustralia
<FONT
face=Tahoma size=2>-----Original Message-----From: harveyhp
[mailto:harveyhp@xxxxxxx] Sent: Monday, 8 December 2003 2:42
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker]
Import Industry AssignmentsThanks, Graham, but I'm still
not out of the woods. I've tried placing both files "Industries.js" and
"industry_data.txt" in the Amibroker folder, in a separate folder within the
Amibroker folder, and in the database folder (also within the Amibroker
folder). When I double-click on "Industries.js" the script starts but
then I immediately get a "File not found" error:Windows Script
HostScript:
F:\Invest\Amibroker\DB_GP\Industries.jsLine:
38Char: 2Error: File
not foundCode: 800A0035Source: Microsoft JScript
runtime errorWould appreciate any
advice.Thanks,HHP=====================At 05:01 PM
07/12/2003, you wrote:
Open AB with the database
that you want to updateThen in windows explorer double click on the js
fileCheers,Graham<A
href="">http://groups.msn.com/asxsharetrading<A
href=""
eudora="autourl">http://groups.msn.com/fmsaustralia
-----Original Message-----From: harveyhp [<A
href="" eudora="autourl">mailto:harveyhp@xxxxxxx]
Sent: Monday, 8 December 2003 8:39 AMTo:
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Import Industry
AssignmentsI am setting up a new database. The Sector and
Industry categories are set up. Next is to import the stock
Symbols, Names and Industry Assignments as described in Newsletter
04-2000. I have created a sub-folder within the Amibroker folder
which contains "industries.js" and a correctly formatted
"industry_data.txt" file of the symbols, names and industry
numbers. So far so good. My question is: How do I ensure
that when I run "industries.js" the data is imported into the new
database and not into another existing
database?Thanks,HHP===================------------------------
Yahoo! Groups Sponsor ---------------------~--> BuyInk Cartridges or
Refill Kits for your HP, Epson, Canon or Lexmark Printerat MyInks.com.
Free s/h on orders $50 or more to the US & Canada.<A
href="">http://www.c1tracking.com/l.asp?cid=5511<A
href=""
eudora="autourl">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->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 <A
href="">http://docs.yahoo.com/info/terms/
Yahoo! Groups
Sponsor ADVERTISEMENT<A
href=""><IMG
height=250 alt="click here"
src=""
width=300 NOSEND="1"><IMG height=1 alt=[]
src=""
width=1 NOSEND="1">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.
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
ADVERTISEMENT
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.
|