Title: SIXP SIX Trader Information Protocol
1SIXPSIX Trader Information Protocol
2Introduction
- SIXP is the new way to get information from SIX
Trader to your system. It consists of a server,
a protocol, and client APIs.
3Presentation schedule
- Presenting the presentation schedule.
- Overview of SIXP.
- Protocol, data formats and naming convention.
- Current information structure.
- The Java API.
- The NT/COM API.
- Overview of the future.
- Summary.
4Overview of SIXP
- What is SIXP for?
- A server, a protocol and client APIs.
- Data organization.
5Overview of SIXP
- What is SIXP for?
- A server, a protocol and client APIs.
- Data organization.
6What is SIXP for?
7Overview of SIXP
- What is SIXP for?
- A server, a protocol and client APIs.
- Data organization
8Server, protocol, client APIs
SIXP Client
Tcp/ip
9Overview of SIXP
- What is SIXP for?
- A server, a protocol and client APIs.
- Data organization.
10Data organization
- Data in tables.
- Ex. stock quotes, news headlines
- Text pages.
- News articles
11SIXP - the Protocol
- Three layers.
- Requests responses.
- The request commands.
- Subscriptions.
12SIXP - the Protocol
- Three layers.
- Requests responses.
- The request commands.
- Subscriptions.
13Three layers
Application layer defines data types
API
Transport layer sends data to and from server
Network layer hides underlying network
14SIXP - the Protocol
- Three layers.
- Requests responses.
- The request commands.
- Subscriptions.
15Requests responses
16SIXP - the Protocol
- Three layers.
- Requests responses.
- The request commands.
- Subscriptions.
17The request commands
- LOGIN
- User name and password
- LOGOUT
- GET
- The name of the item
- SUBSCRIBE
- Same as GET but subscribes to updates
- UNSUBSCRIBE
18SIXP - the Protocol
- Three layers.
- Requests responses.
- The request commands.
- Subscriptions.
19Subscriptions
- Send SUBSCRIPTION request
Maybe more unsolicited responses!
- Receive unsolicited responses
20Data formats
- Text pages.
- Ex. news articles
- Lines of text separated with ltcrlfgt
- Tables.
- Ex. stock quotes
- A number of columns and rows
- The columns are fixed by rows may come and go
21Naming convention
- SIXRL -SIX Resource Locator.
- rt/stock/quote?Mkt"SSE
- /rt/stock/order?Mkt"SSE"
- Meta information.
- rt/stock/quotefs
22The Java API
- A presentation by Rolf Brewitz.
23The NT/COM API
- Objects.
- Programming example.
- Programming details.
24The NT/COM API
- Objects.
- Programming example.
- Programming details.
25The NT/COM APIObject overview.
26The NT/COM APIObject dynamics.
Network layer
27The NT/COM APIObject dynamics subscribing.
Network layer
28The NT/COM APIObject event handling.
Outgoing interface/connection point
Response
29The NT/COM API
- Objects.
- Programming example.
- Programming details.
30The NT/COM APIProgramming example
ISIXPNl nl CreateObject(SIXP.SIXPNlTcp) nl.Add
ress sixpserver ISIXPTlDispatcher disp
CreateObject(SIXP.SIXPTlDispatcher) disp.Network
Layer nl disp.Start() ISIXPTlRequest req
disp.CreateRequest() req.Command LOGIN sixp
sixp 1.0 mycomputer req.Send(true) ISIXPTlRespons
e resp req.ResponseObject print resp.StatusCode
31The NT/COM API
- Objects.
- Programming example.
- Programming details.
32The NT/COM APIProgramming details.
- Threading model.
- both
- NTs alertable state.
33Overview of the future
- Full implementation of SIXP in server.
- News pages as xml.
- Access to SIX Trader History Collector database.
- Time series from Money Chart.
- NT API with support for OLE/DB and file monikers.
34Summary
- Find info at http//sixtrader.vinga.se