HomeSolutionsTechnologiesPartnersMy Account

Examples

This page illustrates what solutions can be build by using the features of TTWS.

Stocks

Use Case Example

Financial Web Service - Request:

http://[ttws-server]/ttws-net/?action=getSymbols&id=tts-824756&
symbolInfo=name isin stockExchangeName typeNameEng currency&showQuote=1&
quoteInfo=last change changePercent volume bid bidSize ask askSize 

Financial Web Service - Response:

<Result errorNumber="0">
  <SymbolList xsi:type="Symbols" totalRecords="1">
    <Symbol name="General Electric Co" isin="US3696041033" 
            stockExchangeName="NYSE" typeNameEng="Stock" 
            currency="USD" id="tts-824756">
      <Quote last="20.27" change="0.23" changePercent="1.14271" volume="27146125" 
             bid="20.26" bidSize="29600" ask="20.27" askSize="14700"/>
    </Symbol>
  </SymbolList>
</Result>

Bonds

Use Case Example

Financial Webservice - Request:

http://ttwsxml.ttweb.net/ttws-net/?action=getBonds&id=tts-14463374&
bondSymbolInfo=name isin id coupon issuerName expirationDate bondTypeName bondCategoryName typeID wpknr tickerSymbol currency 
               stockExchangeName stockExchangeID expirationValue couponTypeName couponFrequency nextCouponDate issuerID 
			   faceValue faceValueCurrency floater emissionVolume firstDay typeID&showBondNumbers=1&
bondNumbersInfo=yieldToMaturity accruedInterest basisPointValue convexity duration elasticity modifiedDuration&showQuote=1&
quoteInfo=last change changePercent dateTime open high low historicClose bid ask delay volume tradeVolume turnoverValue historicYTD 
          ytdLow ytdLowDate prevYearLow prevYearLowDate ytdHigh ytdHighDate prevYearHigh prevYearHighDate historic1M historic1Y 
		  performance1W performance1M performance3M performanceYTD performance1Y performance3Y performance5Y oneYearHigh yearHighDate
		  oneYearLow yearLowDate volatility1M volatility1Y&resultLanguageID=2&resultAltLanguageID=2

Financial Web Service - Response:

<Result errorNumber="0">
  <BondList xsi:type="BondSymbols" totalRecords="1">
    <BondSymbol name="BRIT. TELECOM. 08/15 MTN" isin="XS0372358902" id="tts-14463374" coupon="6.5000" 
	            issuerName="British Telecom" expirationDate="2015-07-07T00:00:00" bondTypeName="Bond" 
				bondCategoryName="" typeID="7" wpknr="A0TW7P" tickerSymbol="XS0372358902" currency="EUR" 
				stockExchangeName="Stuttgart" stockExchangeID="1179" expirationValue="100.0000" couponTypeName="" 
				couponFrequency="12" nextCouponDate="2011-07-07T00:00:00" issuerID="202" faceValue="50000.0000" 
				faceValueCurrency="EUR" floater="No">
      <BondNumbers yieldToMaturity="0.0364" accruedInterest="3.5931" basisPointValue="4.2106" convexity="118.1572" 
	               duration="3.9107" elasticity="0.1350" modifiedDuration="3.7757"/>
      <Quote last="111.59" change="-0.17" changePercent="-0.152112" dateTime="2011-01-26T12:00:13" open="111.59" 
	         high="111.59" low="111.59" historicClose="111.76" bid="111.60" ask="111.97" delay="15" tradeVolume="0" 
			 historicYTD="112.1200" ytdLow="111.5700" ytdLowDate="2011-01-20T00:00:00" prevYearLow="106.1600" 
			 prevYearLowDate="2010-02-19T00:00:00" ytdHigh="112.3900" ytdHighDate="2011-01-03T00:00:00" 
			 prevYearHigh="114.0300" prevYearHighDate="2010-11-09T00:00:00" historic1M="111.9300" historic1Y="108.9200" 
			 performance1W="-0.3483" performance1M="-0.3038" performance3M="-0.8353" performanceYTD="-0.4727" 
			 performance1Y="2.4513" oneYearHigh="114.0300" yearHighDate="2010-11-09T00:00:00" oneYearLow="106.1600" 
			 yearLowDate="2010-02-19T00:00:00" volatility1M="3.4601" volatility1Y="5.1956"/>
    </BondSymbol>
  </BondList>
</Result>

Funds

Use Case Example

Financial Web Service - Request:

http://[TTWS-Server]/ttws-net/?action=getFundDetail&id=FU_100014600&
fundSymbolInfo=name fundCompany isin currency fundCategory yield id isin fundType fundGroupID&showFundQuote=1&
fundQuoteInfo=change changePercent repurchasePrice fundPrice dateTime Performance&showFundProfile=1&
fundProfileInfo=Dividends YearlyPerformance SharpeRatio Volatility Strategy TaxStatus ManagerReport OutPerformance 
                MaxLoss BestMonth WorstMonth&resultLanguageID=2&resultAltLanguageID=2

Financial Web Service - Response:

<Result errorNumber="0">
  <FundSymbolList xsi:type="FundSymbols" totalRecords="1">
    <FundSymbol name="Twin Win Fox" fundCompany="Morgan Stanley Lmtd." isin="DE000MS2UTN0" currency="EUR" 
	               fundCategory="Special Type" yield="reinvestment" id="FU_100014600" fundType="Alternative Investm." 
				   fundGroupID="9034">
      <FundQuote change="0.0100" changePercent="0.0099" repurchasePrice="100.9400" fundPrice="100.9400" dateTime="2011-01-21T00:00:00">
        <Performance ytd="-0.4929" oneYear="2.9160" threeYear="3.3269" oneMonth="0.0396" threeMonth="0.2483" sixMonth="1.7130" 
		                begin="1.1423" oneYearPA="2.9160" twoYearPA="13.3885" threeYearPA="1.0959" beginPA="0.2733"/>
      </FundQuote>
      <FundProfile>
        <Strategy></Strategy>
        <Volatility oneMonth="2.1437" threeMonth="2.2133" sixMonth="2.2925" ytd="2.4239" oneYear="3.2980" threeYear="18.6074" begin="16.2135"/>
        <SharpeRatio oneMonth="-0.2627" threeMonth="-0.0191" sixMonth="1.0450" ytd="-3.8207" oneYear="0.5716" threeYear="0.0035" 
		                begin="-0.0467" interest="1.0310"/>
        <BestMonth sixMonth="1.3935" ytd="0.0000" oneYear="1.5020" threeYear="11.3354" fiveYear="11.3354" begin="11.3354"/>
        <WorstMonth sixMonth="-0.4929" ytd="-0.4929" oneYear="-3.0236" threeYear="-28.9826" fiveYear="-28.9826" begin="-28.9826"/>
        <MaxLoss oneMonth="-0.5518" threeMonth="-0.7098" sixMonth="-1.1332" ytd="-0.5518" oneYear="-3.9936" threeYear="-37.7366"/>
        <ManagerReport></ManagerReport>
        <OutPerformance/>
        <YearlyPerformance perf2007="-0.5111" perf2008="-22.7217" perf2009="28.6950" perf2010="3.2784" perf2011="-0.4929"/>
        <TaxStatus/>
        <Dividends/>
      </FundProfile>
    </FundSymbol>
  </FundSymbolList>
</Result>

Indices

Use Case Example

Financial Web Service - Request:

http://[TTWS-Server]/ttws-net/?action=getSymbols&id=EuroStoxx50Price&symbolInfo=id name shortName typeID symbolGroupID TopFlopData&showQuote=1&
quoteInfo=changePercent last&resultLanguageID=2&resultAltLanguageID=2

Financial Web Service - Response:

<Result errorNumber="0">
  <SymbolList xsi:type="Symbols" totalRecords="1">
    <Symbol id="tts-730303" name="DJ EURO STOXX 50 EUR Price" shortName="EuroStoxx 50" typeID="0" symbolGroupID="8" decorativeName="EuroStoxx50Price">
      <Quote changePercent="0.782005" last="2980.91"/>
      <TopFlopData top="36" flop="9" neutral="1"/>
    </Symbol>
  </SymbolList>
</Result>

News

Use Case Example

Financial Web Service - Request:

http://[TTWS-Server]/ttws-net/?action=getNewsForSymbol&id=tts-825992&newsLanguage=2&numRecords=10&pageRecords=1&
newsInfo=id+Headline+dateTime+sourceName+sourceName&resultLanguageID=2&resultAltLanguageID=2

Financial Web Service - Response:

<Result errorNumber="0">
  <NewsList pageLength="10" currentPage="1" totalPages="6" totalRecords="52">
    <NewsArticle id="11159058" dateTime="2011-01-26T13:00:00" sourceName="Business Wire">
      <Headline>
      Avaya Chooses Hara Environmental and Energy Management Solution
      </Headline>
    </NewsArticle>
    <NewsArticle id="11141331" dateTime="2011-01-25T10:22:00" sourceName="Business Wire">
       <Headline>
       Coca-Cola Hellenic Formalises Its Existing Support for Red Cross and Red Crescent Societies
       </Headline>
    </NewsArticle>
	<!-- ... -->
</NewsList>
</Result>

Chart Gallery

The Financial Web Service is able to deliver ready made charts. The template mechanism is flexible and can be customized. Have a look on some example charts.