Description
The QuoteDataBean stores information about a quote for a stock. It is a part of one or more service calls within the StockTrader Business Service contract.
The Stonehenge StockTrader Sample Application does not make provision for the concept of a trading day. This means that the open price will remain constant, the volume will continually increment without resetting, and the high value and low value represent lifetime highs and lows.
Members
Name |
Type |
Description |
---|---|---|
symbol |
String |
Gets the symbol of the stock for which the quote has been generated. |
companyName |
String |
Gets the name of the company for which the stock exists. |
price |
Floating Point Number |
Gets the current value of a single share of the stock. |
open |
Floating Point Number |
Gets the value of a single share of the stock at the market opening time. |
low |
Floating Point Number |
Gets the lowest value a single share of the stock has reached. |
high |
Floating Point Number |
Gets the highest value a single share of the stock has reached. |
change |
Floating Point Number |
Gets the amount represented by the change between the opening value of the stock and the current value of the stock. |
volume |
Floating Point Number |
Gets the total amount of shares that have changed hands. |
Definition in XSD
<xs:complexType name="QuoteDataBean"> <xs:sequence> <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="companyName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="price" type="xs:decimal" /> <xs:element minOccurs="0" name="open" type="xs:decimal" /> <xs:element minOccurs="0" name="low" type="xs:decimal" /> <xs:element minOccurs="0" name="high" type="xs:decimal" /> <xs:element minOccurs="0" name="change" type="xs:double" /> <xs:element minOccurs="0" name="volume" type="xs:double" /> </xs:sequence> </xs:complexType>
Description/Prefix |
Namespace |
---|---|
Target Namespace |
http://trade.samples.websphere.ibm.com |
tns |
http://trade.samples.websphere.ibm.com |
xs |
http://www.w3.org/2001/XMLSchema |