XML Stock Quotes - Multiple Stock Quotes in a Single Query
For those of you who run a stock-related sites where you profile multiple stocks or just want to be able to give your visitors access to market data without someone else's branding plastered all over it, this is the module for you.
Pull up to 25 symbols at a time, with no query limits - whether your site gets 100 hits a month or 1 Million, there is no limit to the number of times you can pull data from this feed, making it the best option for XML stock quotes you'll find on the web. Check out the rundown below or see it live on our demo server.
Top-Level Data
- status
A two-character code, either OK to indicate there were no errors, or ER to indicate there was an error and data will not be returned.
- message
A text description of the error, if applicable. If there is no error, the message will simply be "none".
- symbolcount
The number of symbols returned in the pull. Sometimes this can be less than the number of symbols supplied, for example if an invalid symbol is submitted to the feed, it will just be ignored and the data on the remaining valid symbols will be returned
Second-Level Data (The information that's returned for each symbol you query)
- symbol
The ticker symbol of the company queried.
- lasttrade
The last time this stock was traded.
- lasttradeprice
The price of the last trade.
- volume
The number of shares traded so far today.
- open
The first price of the day.
- dayshigh
The highest price of the day.
- dayslow
The lowest price of the day.
- prevclose
The last trade price from the previous day.
- bid, ask, bidsize, asksize
The current bid and ask prices and their sizes.
|
Live Sample
Loading...
|