kits backofficeintegspecs
DESCRIPTION
kitsTRANSCRIPT
The Karachi Stock Exchange Limited
KiTS BackOffice Integration Specification
Version 1.1
AUGUST 2015
Table of Contents
1.1 Database Views ............................................................................................................................... 3
1.1.1 GTW_CDC View ..................................................................................................................... 3
1.1.2 GTW_ClientInfo View .............................................................................................................. 3
1.1.3 GTW_TraderInfo View ............................................................................................................ 4
1.1.4 GTW_OpenOrder View ........................................................................................................... 4
1.1 Database Views
Please find below outlines the details of database views required for BackOffice
integration with Karachi Internet Trading System (KiTS).
1.1.1 GTW_CDC View
The GTW_CDC view will host the following properties in the specified order:
S. No Property Name Type Field Name
1 Account ID/ Client Code /
UIN
Text (PK) PARTY_KCODE
2 Company/Symbol Text (PK) ITEM_SYMBOL
3 Quantity Number QTY
4 AvgPrice NUMBER(8,4) RATE
1.1.2 GTW_ClientInfo View
The GTW_ClientInfo view will host the following properties in the specified order:
S. No Property Name Type Field Name
1 Account ID/ Client Code /
UIN
Text (PK) PARTY_KCODE
2 Account Title/ Name Text PARTY_NAME
3 CDC ID Text PARTY_CDC_ID
4 Dealer/ Trader Code Text AGENT_CODE
5 NIC No. Text PARTY_NIC_NO
6 Email Address Text PARTY_EMAIL
7 Phone No Text ARTY_PHONE_NO
8 Cell No Text PARTY_MOBILE_NO
9 Street Address Text PARTY_ADDRESS
10 Ledger Balance NUMBER(15,2) BALANCE
11 Sharia Compliant Text(1/0) SHARIA_COMPLAINT
1.1.3 GTW_TraderInfo View
The GTW_TraderInfo view will host the following properties in the specified order:
S. No Property Name Type Field Name
1 Dealer/ Trader Code Text TRADER_CODE
2 Dealer/ Trader Name Text TRADER_NAME
3 Mobile No Text MOBILE_NO
4 Email Address Text EMAIL_ADDRESS
1.1.4 GTW_OpenOrder View
We need Open Orders view to assess the open position of the client for the coming
trading day. The details of the view will be as follows:
S. No Property Name Type Field Name
1 Account ID/ Client Code/
UIN
Text (PK) PARTY_KCODE
2 Company/ Symbol Text (PK) ITEM_SYMBOL
3 Quantity Number QTY
4 Rate NUMBER(8,4) RATE
5 Amount NUMBER AMOUNT
6 OPEN_DATE DATE OPEN_DATE
7 Average Rate NUMBER(8,4) AVG_RATE