|
|
|
Tsert-XTractor©®
The Tsert Extractor
toolkit, Tsert-XTractKit©®
provides a simple interface to help a developer
with the extraction of information from any wire service.
The transmitted data can be in raw form (text or binary), or any other
format defined by our protocol description
language.
The decoded information can then be converted into a given set of
formats, such as HTML, XML, our Tsert XML DTD, etc.
The Tsert
DTD, for the extractor, simply maps the transmitted data into a
simple uniform way of representing the said data. The developer can
then use methods in our
toolkit to extract any part of that information, or feed that XMLed encoded
data to any application that can then display the information. The
extracted information can be stock data, news headlines,
etc.
The classes and methods
of the Tsert Extractor toolkit are generic enough that other
protocols,
such as TCP/IP, ISDN, Frame Relay, etc. can be specified and tested.
The way wire services
package their information is referred to as a protocol. A
protocol usually consists of a set of frames.
A frame, also called Protocol Data Unit (PDU), is a single block of
information specifying a single message, e.g. stock
data for a particular company provided by stock exchanges. Each
frame has one or more fields,
each field may have one or more
subfields.
For example,
using the following information taken from
the sgxTraders wire service.
| A 5-min nikkei
data in TradeStation format |
| "Date","Time","O","H","L","C" |
01/06/1997,0755,19320,19325,19260,19270
01/06/1997,0800,19250,19285,19230,19280
01/06/1997,0805,19270,19270,19200,19230 |
We get the
following protocol:
| Protocol |
Frame/Pdu |
| TradeStation |
Nikkei |
| Field Name |
Type |
Delim |
| Date |
string |
"," |
| Time |
string |
"," |
| Open |
string |
"," |
| High |
string |
"," |
| Low |
string |
"," |
| Current |
string |
"," |
Our
tookit provides the developer with a helper
application to help him or her,
define protocols
which describe the
data transmitted by their selected wire services.

Back to Top
|
|