SIXP SIX Trader Information Protocol - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

SIXP SIX Trader Information Protocol

Description:

It consists of a server, a protocol, and client APIs. ... Lines of text separated with crlf Tables. Ex. stock quotes. A number of columns and rows ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 35
Provided by: Thom378
Category:

less

Transcript and Presenter's Notes

Title: SIXP SIX Trader Information Protocol


1
SIXPSIX Trader Information Protocol
2
Introduction
  • SIXP is the new way to get information from SIX
    Trader to your system. It consists of a server,
    a protocol, and client APIs.

3
Presentation 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.

4
Overview of SIXP
  • What is SIXP for?
  • A server, a protocol and client APIs.
  • Data organization.

5
Overview of SIXP
  • What is SIXP for?
  • A server, a protocol and client APIs.
  • Data organization.

6
What is SIXP for?
7
Overview of SIXP
  • What is SIXP for?
  • A server, a protocol and client APIs.
  • Data organization

8
Server, protocol, client APIs
SIXP Client
Tcp/ip
9
Overview of SIXP
  • What is SIXP for?
  • A server, a protocol and client APIs.
  • Data organization.

10
Data organization
  • Data in tables.
  • Ex. stock quotes, news headlines
  • Text pages.
  • News articles

11
SIXP - the Protocol
  • Three layers.
  • Requests responses.
  • The request commands.
  • Subscriptions.

12
SIXP - the Protocol
  • Three layers.
  • Requests responses.
  • The request commands.
  • Subscriptions.

13
Three layers
Application layer defines data types
API
Transport layer sends data to and from server
Network layer hides underlying network
14
SIXP - the Protocol
  • Three layers.
  • Requests responses.
  • The request commands.
  • Subscriptions.

15
Requests responses
  • Establish session
  • Send request
  • Receive response

16
SIXP - the Protocol
  • Three layers.
  • Requests responses.
  • The request commands.
  • Subscriptions.

17
The request commands
  • LOGIN
  • User name and password
  • LOGOUT
  • GET
  • The name of the item
  • SUBSCRIBE
  • Same as GET but subscribes to updates
  • UNSUBSCRIBE

18
SIXP - the Protocol
  • Three layers.
  • Requests responses.
  • The request commands.
  • Subscriptions.

19
Subscriptions
  • Send SUBSCRIPTION request

Maybe more unsolicited responses!
  • Receive response
  • Receive unsolicited responses
  • Send UNSUBSCRIBE request
  • Receive response

20
Data 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

21
Naming convention
  • SIXRL -SIX Resource Locator.
  • rt/stock/quote?Mkt"SSE
  • /rt/stock/order?Mkt"SSE"
  • Meta information.
  • rt/stock/quotefs

22
The Java API
  • A presentation by Rolf Brewitz.

23
The NT/COM API
  • Objects.
  • Programming example.
  • Programming details.

24
The NT/COM API
  • Objects.
  • Programming example.
  • Programming details.

25
The NT/COM APIObject overview.
26
The NT/COM APIObject dynamics.
Network layer
27
The NT/COM APIObject dynamics subscribing.
Network layer
28
The NT/COM APIObject event handling.
Outgoing interface/connection point
Response
29
The NT/COM API
  • Objects.
  • Programming example.
  • Programming details.

30
The 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
31
The NT/COM API
  • Objects.
  • Programming example.
  • Programming details.

32
The NT/COM APIProgramming details.
  • Threading model.
  • both
  • NTs alertable state.

33
Overview 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.

34
Summary
  • Find info at http//sixtrader.vinga.se
Write a Comment
User Comments (0)
About PowerShow.com