PureBytes Links
Trading Reference Links
|
Hello,
you can use the following ABtool function to get data
(here incl. Bid and Ask)
from yahoo:
xxHttpFileGet("/temp.csv", "<A
href=""><FONT
face=Arial>http://quote.yahoo.com/d/quotes.csv?s=DELL&e=.csv&f=sd1t1ohgl1vba<FONT
face=Arial>");
The fields have the following
meaning:
<FONT
face=Arial>Ticker,date,time,O,H,L,LastTradePrice,Vol,Bid,Ask
The content of the received file (here "/temp.csv") looks like
this:
<FONT
face=Arial>"DELL","7/3/2003","1:09pm",32.12,32.50,31.95,32.05,8172307,31.99,32.19
By adding more tickers like "DELL+MSFT+IBM" you can get
data for multiple tickers.
You can then use xxTableImport() to read the
data into an ABtool in-memory table
for further processing,
for example to transfer it to an AB array, or to a
persistent
array, for plotting etc.
Using a similar schema you can send the request
also to QT's local http server.
You can find QT's Http API at their web
site.
UM
<A
href="">www.xxsystems.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Mr Valley
To: <A title=abtool@xxxxxxxxxxxxxxx
href="">ABTool ; <A
title=amiquote@xxxxxxxxxxxxxxx
href="">AmiQuote ; <A
title=amibroker@xxxxxxxxxxxxxxx
href="">Amibroker
Sent: Sunday, July 06, 2003 6:01 AM
Subject: [abtool]
GetTimeSales(DELL,09:45:00,09:47:00)
In AB, Can we call
the GetTimeSales(DELL,09:<FONT
color=#ff00ff>45:00,<FONT
color=#ff00ff>09:47:<FONT
color=#ff00ff>00) Time/Sales function from the QT plugin to get
Bid / Ask data?
Or can we grab
from ISLD.com book viewer and plotting AB to calculate the ratio between Bid
and Ask?
Or how else can it
be done, reliably?
<SPAN
class=000205503-06072003>
Mr.
Valley
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.
|