home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
c't freeware shareware 1999 February
/
CT_SW9902.ISO
/
pc
/
software
/
finanzen
/
boerse
/
stock100.exe
/
setup.fil
/
sources
/
yahcomfind.src
< prev
next >
Wrap
Text File
|
1999-03-10
|
2KB
|
146 lines
[Symbol]=yahcomfind
[Country]=1
[Name.German]=U.S. Kurse - Yahoo.Com
[Name.English]=U.S. Quotes via Yahoo.Com
[InfoShort.German]=U.S. Kurse in USD. Suche nach Ticker-Symbol. Kurse von Reuters. Biete gute Charts und Firmenprofile (engl.).
[InfoShort.English]=U.S. Quotes in USD. Search based on Ticker Symbol. Quotes provided by Reuters. Offers concise charts and company profile.
[InfoLong]=...
[SearchFor]=Ticker Symbol
[SearchTransform]=uppercase
[BasedOn]=http://quote.yahoo.com/
[Host]=quote.yahoo.com
[Doc]=q?s=$(SYMBOL)&d=t
[ParserScript]=...
set "decimal", "/"
set "thousand", ","
set "currency", "USD"
outputto "last"
onerror "<$(SYMBOL) not found>"
findline ":$(SYMBOL))"
onerror "<FAIL>"
outputto "urlchart"
say "http://quote.yahoo.com/q?s=$(SYMBOL)&d=b"
outputto "market"
findinline "b> ("
saynextword
outputto "urlprofile"
findline ">Profile<"
findinline "href=\""
sayuntil "\""
findline ">Last Trade"
moveline 2
skipchars "0123456789"
if ":"
outputto "time"
gotochar 1
sayuntil " "
say "|h:mx"
set "date", "<N/A>"
else
findinline " "
outputto "date"
saynextnumber
say "|D"
set "time", "<N/A>"
endif
outputto "last"
notags
findinline ";"; sayuntil "~";
outputto "change"
findline ">Change"
joinuntil "</td>"
findinline "("
saynextnumber
outputto "yesterday"
findline ">Prev Cls"
joinuntil "</td>"
notags
findinline "Cls "; sayuntil "~"
outputto "volume"
findline ">Volume"
joinuntil "</td>"
notags
findinline "lume"
sayuntil "~"
outputto "urldaychart"
findline "Big: "
findline "1d<"
moveline -1
say "http://quote.yahoo.com"
findinline "href=\""
sayuntil "\""
outputto "urlchart"
findline "1y<"
moveline -1
say "http://quote.yahoo.com"
findinline "href=\""
sayuntil "\""
outputto "low"
findline ">Day's Range"
joinuntil "</td>"
notags
findinline "ange"
sayuntil "-"
outputto "high"
findinline "-"
sayuntil "~"
outputto "bid"
findline ">Bid"
joinuntil "</td>"
notags
findinline "Bid "
ifnot "N/A"
sayuntil "~"
endif
outputto "ask"
findline ">Ask"
joinuntil "</td>"
notags
findinline "Ask "
ifnot "N/A"
sayuntil "~"
endif
outputto "open"
findline ">Open"
joinuntil "</td>"
notags
findinline "Open "
sayuntil "~"
outputto "low52weeks"
findline ">52-week Range"
joinuntil "</td>"
notags
findinline "ange"
sayuntil "-"
outputto "high52weeks"
findinline "-"
sayuntil "~"