Documente Academic
Documente Profesional
Documente Cultură
__________________________________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Contents
I. INTRODUCTION ........................................................................6
II. TECHNICAL OVERVIEW. ............................................................8
III. DATA FLOW. .........................................................................15
IV. TEST SCRIPTS AND CERTIFICATION PROCEDURE...............20
APPENDIX A……………...………………………………………24
Page 3/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Page 4/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
DOCUMENT HISTORY
Version Date Description of the change Author/Comments
Number
1 2 3 4
WSE Project Team / Official version
2.0 December 2005 -
M.Smetek / based on WARSET spec.
2.01 14.02.06 - Added errors description: Appendix A
Page 5/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
I. Introduction
I.1. Purpose.
The purpose of this document is to describe some of the basic usage questions
concerning the Warsaw Stock Exchange Trading System – Dev. Environment
and development of own applications.
The rules of trading at the Warsaw Stock Exchange are determined in: Rules and
Regulations of the Stock Exchange, Detailed Rules of Trading as well as resolutions
of the Surveillance and Management Board of the Stock Exchange.
Page 6/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
DEFINITIONS:
CAP – access server that compresses, encrypts and stores data passing between
the Customer and WSE Trading System. The server being the connecting unit to the
WARSET system,
HUB subscriber – Logical access to a CAP - member profile. The orders flow is
routed to and from the trading engines via a central point, called the HUB.
DIFF subscriber – Logical access to a CAP – market data profile. The market flow
is received from the trading engines via DIFF module.
Page 7/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Note: WSE reserves that this Chapter contains only the basic information
regarding the technical conditions of the connection for DEV
Environment. The detailed information and technical specifications can
be a subject of separate instructions issued by WSE to the Customer.
The technical parameters specific to individual installations or
connections shall be defined prior to the installation according to the
arrangements made between the IT Department of WSE and the
Customer.
The parameters specific to individual installations or connections shall
be defined prior to the installation under the working procedure between
the IT Department of WSE and Customer.
ISDN connection.
NOTE:
A. Basic rules.
1. Customer incurs the costs of the subscription fee (on his side) and installation
(on his side) of the ISDN connection to WSE. ISDN connection will be
activated by Customer’s router.
2. The connections to the Test Environment are made to the back-up computer
center of WSE located in PKiN, at Pl. Defilad 1 Street, in Warsaw. This
connection is made by the appropriately configured CISCO router and one
digital ISDN channel (B) 64 Kb.
3. The configuration or reconfiguration of the Customer access router will have to
be made in coordination and consultation with WSE IT Department, which will
present recommended Cisco router configuration as the model, example part
of the Customer router configuration. WSE reserves the right to require
Page 8/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
B.Technical description
On its part WSE applies the communication safeguards aimed at ensuring its own
security and preventing the unauthorized access to the data.
In order to reduce Customer’s risk of losing the data, unauthorized access to the
data, interfering into the transmitted data and other unauthorized access, Customer
is obliged to ensure the filtering, separation and ensuring the maximum security of
the transmission on its side.
• Customer’s router used to connect to WSE must support NAT (Network Address
Translation),
• Customer’s router must support CHAP protocol, which will be used for
authentication purposes. Passwords for CHAP authentication will be provided by
WSE,
• Customer must dedicate one ISDN channel (ISDN logical interface) for exclusive
communication with WSE Test Environment. This channel (ISDN logical interface)
must not be used by any other device, application or data stream. Also, this
dedicated ISDN logical interface on a Customer’s router has to be configured as
calling interface exclusively. Incoming ISDN connection attempts should be
rejected by logical ISDN interface mentioned.
• ISDN CLIP service ( Calling Line Identity Presentation) must be set to ON.
Dedicated, constant ISDN number of Customer presented to WSE router should
be transmitted by Customer’s ISDN telephone exchange as open and officially
Page 9/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
In order to prevent problems with functioning of the ISDN connection after longer
periods of link idle time, Customer is obliged to test (at least once a week) the
connection – simple test should concern sending (by PING utility) about 50 packets
100 bytes long, from Customer’s application server to CAP server on WSE site,
which should activate the ISDN link for duration time defined in the configuration.
4. IP addresses
The IP addresses used for ISDN connections will be defined by WSE during detailed
technical arrangements between Customer and the IT Department of WSE. The
Customer’s Applications server address will be accessed by WSE through NAT
configured on the Customer’s router. The actual address of Customer’s Applications
server in the internal network of Customer does not have to be known to WSE.
C. Acceptance procedure.
The acceptance procedure concerns the evaluation of the technical means and
measures and their compliance with the WSE requirements.
The basis to determine the compliance of the technical means provided by Customer
with the WSE IT system concerns:
• performing the installation tests,
• failure-free and collision-free operation of the technical means provided by
Customer with the WSE IT system.
This principle applies especially to determining the practical incompliance due to:
The Client application connects to the WARSET via CAP - Certified Access
Point server, which uses the MMTP protocol. The CAP provides a member firm
with a single access point to the WARSET architecture and the Warsaw central
trading services.
Page 10/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Public data (market data) messages are sent using a point-to-point connection
via CAP (using MMTP protocol over TCP/IP via “out path” - PACRDFMMTP) to
the member’s CAP and then to the member's market data application.
Client application should process messages that are described in the related
document.
Page 11/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Client application should process messages that are described in the related
document.
“ SLE messages”
II.2.3. Main characteristics of the MMTP protocol.
The Client application always initiates the connection. In MMTP protocol terms, the
subscriber is the MMTP client. The following terms will be used in this document:
- MMTP client for the HUB subscriber or DIFF subscriber,
- MMTP server for the access point,
MMTP
Client
ACCESS
POINT
MMTP OUT MMTP IN
To optimize performance, two separate paths are used for data exchange:
Page 12/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Furthermore, both the MMTP IN and MMTP OUT paths are bi-directional. For
example, the MMTP server can reply to a message from the MMTP client on the
MMTP IN path.
Page 13/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
- Network preparation,
- Management, maintenance and monitoring CAP servers at WSE Access
Point in WSE site,
- Management, maintenance and monitoring of network connections.
Depending on the Customer organisation, WSE Helpdesk Office will provide service
support for clients.
Page 14/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
MMTP/Tech
API Client
Application
RDF
Market
Market Data Data MMTP/Data&Tech
PACRDFMMTP
Application CA_OUT
M MMTP/ Tech
Page 15/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Page 16/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Public data (market data) messages are sent using a point-to-point connection
via CAP (on the “out path” via PACRDFMMTP) to the Customer's market data
application (CA).
Customer Application (CA) should process messages that are described in the
related document.
The data messages exchanged between CA and WARSET are the following:
Page 17/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
of an "Annulation order"
message from a subscriber
The system can eliminate
orders for a variety of
reasons: the orders have
reached their validity date,
Surveillance has requested
all orders on a particular
stock be deleted, etc
0143 - Retransmitted CAP CA (CA_OUT) Surveillance request to
orders. (PAC_OUT) retransmit a subscriber's
order book
0144 - Error message. CAP CA (CA_OUT) any invalid incoming
(PAC_OUT) message
0172 - Confirmation of the CAP CA (CA_OUT) valid order entry, order
order creation, modification (PAC_OUT) modification, or order
or cancellation
cancellation
0175 - Confirm global CAP CA (CA_OUT) - Surveillance command to
cancellation of all orders (PAC_OUT) cancel all orders in the
from a subscriber.
book from a subscriber
- Subscriber command to
cancel all orders in the
book from the subscriber
0191 - Confirmation of CAP CA (CA_OUT) request for quote
command to enter a (PAC_OUT)
request for quote.
0230 -Trade declaration CA (CA_IN) CAP (PACIN) -
entry
0231 - Trade cancellation CA (CA_IN) CAP (PACIN) -
0234 - TCS Want to match CAP CA (CA_OUT) TCS trade entry
trade (PAC_OUT)
0430 – Notice of TCS CAP CA (CA_OUT) TCS trade entry
trade entry (PAC_OUT)
0431 - Notice of TCS CAP CA (CA_OUT) TCS trade entry
trade entry to the other (PAC_OUT)
subscriber.
0432 - Notice of TCS CAP CA (CA_OUT) TCS trade cancellation by
trade cancellation by (PAC_OUT) subscriber
subscriber
0433 - Notice of TCS CAP CA (CA_OUT) TCS trade cancellation by
trade cancellation to the (PAC_OUT) subscriber
other subscriber.
0434 – TCS Trade CAP CA (CA_OUT) TCS trade entry
execution notice (PAC_OUT)
0435 - Notice of TCS CAP CA (CA_OUT) -
declaration cancellation by (PAC_OUT)
the system
0436 - Notice of TCS CAP CA (CA_OUT) -
trade cancellation by the (PAC_OUT)
system to the other
subscriber.
0437 - TCS group stat CAP CA (CA_OUT) TCS stock group state
Page 18/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
“ SLE messages”
►For detailed documentation on the public data, refer to:
Page 19/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
• Test and certification phase will be done within the WSE Development
Environment.
• WSE will participate during this phase. A dedicated person from Help Desk
Section will monitor the WSE Development Environment system for the
duration of the test and certification phase and will be responsible for
executing any “WSE initiated” activity.
• WSE will ensure environment for Test Scripts purpose at Member’s request.
• Test Scripts will be executed in the WARSET Dummy Market available in the
WSE Test Environment – meaning that WSE selects securities (for
“Continuous trading (quotations)” – i.e. Shares of WIG20 index, MidWIG
shares, other shares, Bonds, etc.; for “Single price quotations with two fixings”
for “Packet transactions”, etc) and convenes with Member to use them during
this phase.
• Certification Procedure takes place in the WSE Test Environment and Member
will be authorized to have an access to all of the WSE Test Markets.
• WSE reserves the right to abandon the Certification Procedure in case of
occurrence of any errors, which cause any irregularities.
• The occurrence of any errors will cause to start certification phase from the
beginning.
• WSE reserves the right to disconnect Member’s Application from WARSET
and abandon any authorization in case of the threat to the stock market
system.
• Test scripts will be provided at least 2 weeks before commencement date.
Page 20/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
CA server level:
• The Customer should have its own CA backup server on an other server box.
• The Customer should be able to restore a reliable operating environment
following a system failure.
• The Customer should be able to trace the messages back at each of the following
stages:
- transmission of messages to WARSET,
- reception of messages from WARSET.
• The archiving procedures should include timestamps all events to be precisely
dated. The timestamp should be accurate to within 1/100 of second,
• It is strictly recommended to have data backup procedures and standby plan.
Page 21/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Page 22/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
The certification procedure concerns the evaluation of the Customer’s means and
their technical and functional compliance with the WSE requirements.
The basis to determine the compliance of the Customer’s Application with the
WARSET system concerns:
• performing the installation tests and the “Test scripts”
• failure-free and collision-free co-operation with the WARSET system during the
two weeks at least.
WSE shall assess the WSE Member’s MMTP connectivity and technical means of
Member only to the following extent:
- meeting the general conditions regarding the technical equipment of the
Member as indicated under the respective rules concerning the access to
WARSET system,
- “Test scripts” - tests performed in relation to connecting the Member
Application to WARSET system, compliance of the equipment with the
requirements set by WSE under other documents.
NOTE:
Please note that a Customer is responsible to perform any self-assessment to
guaranty software capabilities to ensure integrity, stability and performance of the
market service.
Page 23/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Appendix A
Page 24/25
Warsaw Stock Exchange Schedule 2
__________________________________________________________________________________________
Page 25/25