快好知 kuaihz


stock symbol造句
1. Historical Quote: The consumer passes in a stock symbol and a date; the provider returns a complex quote for the indicated stock and date. 2. This web service takes as input a stock symbol (for example, IBM or YHOO) and returns a time-delayed stock quote in US dollars. 3. For example, buy and sell orders for a stock symbol need to be processed in order. 4. This method uses the stock symbol to build a URL to get the price information from the finance.yahoo.com Web site. 5. Simple Quote: The consumer passes in a stock symbol; the provider returns the current price for the indicated stock. 6. What if the stock symbol isn't valid or is for a stock not supported by the provider's exchange? 7. Repeat the previous step for each stock symbol in the table. 8. If a user happens to send an invalid stock symbol to the getQuote method, the Yahoo stock service returns a string saying that an error has occurred. 9. Complex Quote: The consumer passes in a stock symbol; the provider returns the current price and the current day's high, low, and volume for the indicated stock. 10. In any event, the mock implementation should definitely not try to handle every possible stock symbol or access a database with real-time data. 11. For example, suppose a user opens the w3 Home page (served by the first EAR), clicks Edit in the MarketReport portlet (invoking the second EAR), and adds a new stock symbol. 12. In this example, the card A takes as input a stock symbol and outputs the stock quote in US dollars, and card B outputs the currency conversion rate from US dollars to Japanese yen. 13. For example, consider a simple Web service for getting a stock quote: The consumer passes in a stock symbol and gets back the stock's current price. 14. Again using an expression, the symbol field in Card A is modified to use as its input the stock symbol sent as a query parameter in the HTTP request, as shown in Figure 11. 15. If one is not seen, the dummy value of -999.99F is sent back to the method consumer, which interprets the dummy value as a call for an invalid stock symbol. 16. To use the stock quote scraper, I simply invoke the script with the stock symbol of interest, as shown in Listing 4. 17. The function returns information in XHTML format about the stock symbol, company name, high sales price, and currency for all firms referenced in the credit default swaps returned from DB2. 18. First, you'll be a Web service developer, using Rational Developer to create a Web service that returns the last trading price for a particular stock symbol. 19. Then, you call the proxy's getQuote(String) method, passing the stock symbol whose trading price you want. 20. For example, the key could be a unique user ID, a stock symbol or, in our case, a zip (postal) code. 21. You cannot get the facts simply by typing a stock symbol into Yahoo Finance.