PureBytes Links
Trading Reference Links
|
What I
do is put any program I write in the AB directory. That way I know what it
is.
<FONT face=Arial color=#0000ff
size=2>
What
lang are you using?
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>d
<FONT
face=Tahoma size=2>-----Original Message-----From:
uenal.mutlu@xxxxxxxxxxx [mailto:uenal.mutlu@xxxxxxxxxxx] Sent:
Tuesday, April 15, 2003 3:24 PMTo:
amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] Q: AB fullpath
and DB type EOD
Thanks dingo.
AB puts its entries under <FONT
face=Arial>[HKEY_CURRENT_USER\Software\TJP\Broker]
in the registry, but
unfortunately I couldn't find an appropriate key for the
AB directory. Taking on of the
subdirs there and removing the last part
should do the trick.
The DB test is geninue! :-) Thx.
UM
----- Original Message -----
<BLOCKQUOTE
>
<DIV
>From:
dingo
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, April 15, 2003 4:51
PM
Subject: RE: [amibroker] Q: AB fullpath
and DB type EOD
1.
The AB directory: AFAIK there is no way to determine this via OLE/Com.
If the language you are using supports api calls then you can search for the
path in the registry.
<FONT face=Arial color=#0000ff
size=2>
2.
Is the DB eod: Take a symbol (IBM, GE) and
retrieve some quotes for it. Then traverse the quotes comparing
adjacent date/times. If the diff is 1 day then it is
EOD.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>d
<FONT
face=Tahoma size=2>-----Original Message-----From:
uenal.mutlu@xxxxxxxxxxx [mailto:uenal.mutlu@xxxxxxxxxxx] Sent:
Tuesday, April 15, 2003 3:06 AMTo:
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Q: AB fullpath
and DB type EODHi, I've got two programming
questions:In a script or via OLE/COM how would I get the
absolute path (ie. the full path) to the AmiBroker
directory?How would I check if the currently used DBis of type
EOD?ThxUMSend
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.
|