Around 2000: What Were the Trading Host, Seat, Middleware, and Exchange Actually Doing?#
If the development of China’s securities IT infrastructure during the 1990s could be summarized in one sentence, it would be:
China’s securities market was moving from “computerized branches” to “networked securities firms.”
By around 2000, however, the difficult question was no longer simply how to computerize a brokerage branch.
The real question had become:
Where does an order enter a securities firm, which servers and communication layers does it pass through, which trading channel or seat does it use, and how does it finally reach the Shanghai or Shenzhen Stock Exchange?
To understand the generation of securities software represented by KCBP, KCXP, AS, AR, and HARE, we first need to separate four concepts that are often mixed together:
the trading host, the trading seat, middleware, and the stock exchange.
1. First, the Key Point: These Four Things Were Not the Same#
The simplest architecture looks like this:
Investor
↓
Securities Branch
↓
Central Securities Trading System
↓
Trading Middleware
↓
Trading Gateway / Seat Connection
↓
Stock ExchangeThere are actually several distinct layers:
① Investor / Securities Branch
② Securities Firm's Core Trading System
③ Trading Middleware
④ Trading Seat / Exchange Connectivity
⑤ Stock ExchangeHistorical descriptions often blur these layers.
That is why it is easy to encounter statements such as:
“Was a trading seat just a server?”
Or:
“Was the trading host the exchange?”
Or:
“Was KCBP itself the trading host?”
None of these descriptions is sufficiently precise.
2. Start With One Simple Order#
Suppose an investor wants to buy:
Stock: 600000
Quantity: 1,000 shares
Price: RMB 10.00The investor does not normally send the order directly to the Shanghai Stock Exchange.
At the most basic level:
Investor
↓
Securities Branch
↓
Securities Firm
↓
Trading Seat
↓
ExchangeBut this is far too simple from an IT perspective.
A more realistic conceptual architecture would look like:
Investor
↓
Branch Terminal
↓
Branch Access System
↓
Centralized Trading System
↓
Trading Host
↓
Middleware
↓
Trading Gateway
↓
Trading Seat
↓
Shanghai Stock ExchangeAfter execution, the direction reverses:
Shanghai Stock Exchange
↓
Trading Seat
↓
Trading Gateway
↓
Middleware
↓
Trading Host
↓
Centralized Trading System
↓
Securities Branch
↓
InvestorThis is the data flow that matters.
3. What Was a Securities Branch?#
Let’s start at the investor-facing end.
In the early 1990s, a securities branch was already a relatively complete computer system:
Customer
↓
Branch Counter
↓
Branch Server
↓
Branch DatabaseThe branch handled functions such as:
- customer information;
- cash accounts;
- securities accounts;
- order entry;
- executions;
- printing;
- account inquiries;
- certain risk-control functions;
- parts of settlement and reconciliation.
Therefore:
An early securities branch was essentially a small local computing center.
4. What Happened to the Branch After Centralized Trading?#
As centralized trading infrastructure developed, branches gradually lost part of their role as independent computing centers.
The architecture increasingly became:
Customer
↓
Securities Branch
↓
Network
↓
Central SystemThe branch increasingly became:
a front-end node of the securities firm.
Its primary responsibilities were increasingly:
Input
↓
Transmission
↓
Displayrather than performing the entire transaction-processing chain locally.
5. What Was the Centralized Trading System?#
Imagine a securities firm with:
Branch 001
Branch 002
Branch 003
...
Branch 100The old architecture looked more like:
Branch 001 → Local System
Branch 002 → Local System
Branch 003 → Local SystemCentralized trading changed this into:
Branch 001 ─┐
Branch 002 ─┤
Branch 003 ─┤
... ├──→ Central Trading System
Branch 100 ─┘The central system increasingly became responsible for:
Customers
Accounts
Cash
Securities
Orders
Executions
Risk
Transaction StatusTherefore:
Centralized trading fundamentally meant concentrating transaction-processing capabilities and data.
6. So What Exactly Was the “Trading Host”?#
The Chinese term 交易主站, commonly translated as trading host or main trading station, can easily be misunderstood by modern engineers.
It was not simply:
“the main server.”
In the historical context of China’s securities industry, the trading host generally referred to:
the central transaction-processing node within the securities firm’s trading network.
Conceptually:
Central Trading Host
│
┌────────────────┼────────────────┐
↓ ↓ ↓
Branch 001 Branch 002 Branch 003At the same time:
Central Trading Host
↓
Trading Connectivity
↓
ExchangeSo the trading host sat between:
the securities firm’s branch network and the external exchange network.
7. The Trading Host Was Not the Exchange#
This is the first principle to remember:
Securities Firm Trading Host ≠ Shanghai Stock ExchangeThe trading host belonged to:
Securities Firmwhile the exchange belonged to:
Market InfrastructureThe relationship was therefore:
Securities Firm
↓
Trading Host
↓
Trading Connectivity
↓
Shanghai Stock Exchangeor:
Securities Firm
↓
Trading Host
↓
Trading Connectivity
↓
Shenzhen Stock Exchange8. Then What Was a “Trading Seat”?#
The trading seat was another concept entirely.
A rough modern analogy is:
a trading seat represented a securities firm’s qualification and access identity for trading on the exchange.
It should not simply be interpreted as:
One ServerNor as:
One Network CableNor as:
One Securities BranchConceptually:
Securities Firm
↓
Trading Qualification
↓
Trading Seat
↓
Exchange9. Why Are Historical Trading Seats So Easy to Misunderstand?#
Because early trading seats had a very strong physical meaning.
Inside an exchange trading hall, there could literally be:
┌────┬────┬────┬────┐
│Seat│Seat│Seat│Seat│
└────┴────┴────┴────┘A trader sat there.
A telephone was nearby.
A trading terminal was nearby.
Orders arrived from branches.
The trader entered those orders into the exchange’s trading system.
Thus, historically:
A trading seat was both an institutional concept and a physical trading position.
10. Trading Seats Gradually Became Electronic#
As trading technology evolved:
Physical Seat
↓
Electronic Trading Seat
↓
Logical Trading ChannelThe seat became less like an actual chair and more like:
Trading Qualification
+
Identity
+
Market Access
+
Trading ConnectivityThus, under centralized trading:
Multiple Branches
↓
Central Trading System
↓
One or More Trading Seats
↓
Exchange11. One Seat Could Serve Many Branches#
This is one of the most important ideas in understanding centralized trading.
For example:
Branch A ─┐
Branch B ─┤
Branch C ─┤
Branch D ─┼──→ Central Trading System
Branch E ─┘ ↓
Seat
↓
Shanghai ExchangeTherefore:
A securities branch was not the same thing as a trading seat.
Instead:
Orders from many branches could be aggregated by the centralized trading system and sent through a trading seat.
This was one of the defining characteristics of the centralized model.
12. This Created a Very Important Many-to-Few Architecture#
On the investor-facing side:
Many Branches
+
Many Investors
+
Many OrdersOn the exchange side:
Fewer Trading Seats
+
Fewer Standardized Exchange ConnectionsThe resulting topology looked like:
┌→ Seat 1 → SSE
Many Branches → Central System ─→ Seat 2 → SZSE
└→ Other ChannelsIn abstract terms:
Many
↓
Centralized Processing
↓
FewThis was the characteristic topology of centralized securities trading networks.
13. Why Did Middleware Appear?#
Now another problem appears.
If the central trading system directly handled:
Shanghai Stock Exchange
Shenzhen Stock Exchange
Banks
Registration
Clearingthe internal architecture would become increasingly complicated.
For example:
Core System
├── Shanghai Exchange Interface
├── Shenzhen Exchange Interface
├── Bank Interface
├── Registration Interface
└── Clearing InterfaceThis creates significant coupling.
The architecture therefore increasingly moved toward:
Core Trading System
↓
Middleware
↓
External Systems14. What Did Middleware Actually Do?#
A useful way to understand securities middleware is:
It acted as a translation, routing, and reliable-transport layer between the securities firm’s internal business systems and external market systems.
For example, the core system might generate an internal order:
Customer: 10001
Security: 600000
Quantity: 1000
Price: 10.00The middleware would transform this into:
A message format understood by the Shanghai exchange connection.For the Shenzhen market:
Core System
↓
Middleware
↓
Shenzhen ProtocolFor the Shanghai market:
Core System
↓
Middleware
↓
Shanghai ProtocolTherefore:
The core business system did not need to understand every external market protocol itself.
15. Middleware Performed at Least Four Major Functions#
We can summarize its role as:
① Message
② Routing
③ Protocol
④ Reliability1. Message#
Handling:
Orders
Executions
Cancels
Acknowledgements
Rejects2. Routing#
Determining:
Shanghai?
Shenzhen?
Bank?
Registration?
Clearing?3. Protocol#
Converting:
Internal Message
↓
External Protocol4. Reliability#
Handling:
Disconnection
Retransmission
Duplicates
Message Loss
Ordering
RecoveryTogether, these functions explain the real value of securities middleware.
16. Why Were Messages So Important?#
Suppose an order has the following lifecycle:
Order 100001
↓
Submitted
↓
Accepted
↓
Partially Executed
↓
Fully ExecutedOr:
Order 100001
↓
Submitted
↓
RejectedOr:
Order 100001
↓
Submitted
↓
Cancel Request
↓
Cancel ConfirmedTherefore, a trade was not simply one event.
It was:
a state machine.
17. What Was an Order From the IT System’s Perspective?#
From the investor’s perspective:
Buy 1,000 sharesFrom the trading system’s perspective:
Order ID
Customer ID
Account ID
Market
Security ID
Price
Quantity
Timestamp
Session
Sequence
StatusAnd then additional events appeared:
Order
↓
Acknowledgement
↓
Execution
↓
Cancel
↓
Cancel AcknowledgementThus:
A securities trading system was fundamentally a high-reliability financial messaging system.
18. Why Was Securities Middleware Different From Ordinary Enterprise Middleware?#
A normal enterprise system might tolerate:
The message arrives a little later.A securities trading system cannot casually tolerate:
We don't know the status of the order.For example, the investor believes:
“I cancelled my order.”But the exchange actually processed:
The order was executed.This creates a serious business problem.
Therefore the trading system must precisely maintain:
Order Status
Execution Status
Cancellation Status19. The Most Dangerous Situation: A Network Failure#
Suppose:
Order 100001has already been sent.
Then:
Network Connection LostThe securities firm no longer knows:
Did the exchange receive it?If the firm simply sends the order again:
Order 100001it may create:
Duplicate OrderTherefore the system needs mechanisms such as:
Sequence Numbers
+
Message IDs
+
Acknowledgements
+
Recovery
+
DeduplicationThis is one reason securities middleware was much more sophisticated than a simple socket connection.
20. Middleware Became a Reliable Financial Message Bus#
Conceptually:
Middleware
│
┌─────────────┼─────────────┐
↓ ↓ ↓
Order Execution Cancel
│ │ │
└─────────────┼─────────────┘
↓
Trading Channel
↓
ExchangeIt was not merely:
Socket → SocketInstead:
Business Message
↓
Routing
↓
Protocol Conversion
↓
Reliable Transport
↓
State Management
↓
Recovery21. This Clarifies the Relationship Between the Trading Host and Middleware#
This is another important distinction.
We should not simply say:
Trading Host = MiddlewareA better conceptual model is:
Trading Host
└── Central transaction-processing environment
Middleware
└── Software layer responsible for messaging,
routing, protocol adaptation, reliability, etc.Therefore:
The trading host is an architectural/node concept, while middleware is a software-layer concept.
They exist at different conceptual dimensions.
22. A Trading Host Could Contain Multiple Components#
A simplified model might look like:
┌──────────────────────────────┐
│ Trading Host │
│ │
│ ┌──────────────────────────┐ │
│ │ Customer / Account │ │
│ ├──────────────────────────┤ │
│ │ Order Processing │ │
│ ├──────────────────────────┤ │
│ │ Risk Control │ │
│ ├──────────────────────────┤ │
│ │ Trading Messages │ │
│ ├──────────────────────────┤ │
│ │ Middleware / Communication│ │
│ └──────────────────────────┘ │
└──────────────────────────────┘Therefore, seeing a product described as running on a “trading host” does not mean:
The product itself was the entire trading host.
23. Where Should KCBP and KCXP Be Placed?#
Now we can finally place the products discussed in earlier articles into the architecture.
At a conceptual level:
Securities Branch
↓
Centralized Trading System
↓
KCBP / KCXP-type Middleware Layer
↓
Trading Connectivity
↓
Trading Seat
↓
ExchangeThe underlying problem they addressed was:
After centralized trading became widespread, how could a securities firm reliably connect its internal trading business to external market infrastructures?
Therefore, KCBP and KCXP should not be viewed merely as isolated software modules.
They reflected a much larger architectural transition in China’s securities industry.
24. Why Did Both Kingstar and Hundsun Build Similar Products?#
Because both vendors faced essentially the same historical environment:
More Branches
+
Growing Trading Volumes
+
Centralized Trading
+
Shanghai Exchange Interfaces
+
Shenzhen Exchange Interfaces
+
Bank Connectivity
+
Registration and Clearing ConnectivityThe industry therefore needed solutions for:
Connectivity
+
Messaging
+
Routing
+
Protocol Conversion
+
ReliabilityThis helps explain why products such as:
Kingstar
KCBP / KCXP
Hundsun
AS / ARappeared in roughly the same historical period.
The interesting question is not simply:
“Why did both companies build middleware?”
The deeper question is:
Why did the two vendors draw different boundaries around similar problems?
25. Now the Meaning of “Trading Seat” Becomes Much Clearer#
The overall architecture can now be visualized as:
Customer
↓
Securities Branch
↓
Central Trading System
↓
Middleware
↓
Trading Seat
↓
ExchangeEach layer has a different responsibility.
Securities Branch#
Responsible for:
Customer AccessCentral Trading System#
Responsible for:
Securities Business ProcessingMiddleware#
Responsible for:
Messaging
Routing
Protocol Conversion
ReliabilityTrading Seat#
Represents:
Trading Qualification
+
Exchange Access Identity
+
Trading ConnectivityExchange#
Responsible for:
Centralized Market Trading
and MatchingThis distinction is fundamental.
26. Now Consider an Execution Report#
Suppose:
Order 100001is executed on the Shanghai Stock Exchange.
The exchange generates:
Execution ReportThe message travels:
Shanghai Stock Exchange
↓
Trading Seat
↓
Trading Channel
↓
Middleware
↓
Central Trading System
↓
Customer Account
↓
Securities BranchThe investor eventually sees:
Executed:
1,000 shares
Price:
RMB 10.00But internally, a much longer chain has taken place:
Exchange Execution
↓
Message Generation
↓
Message Transmission
↓
Message Parsing
↓
Routing
↓
Account Update
↓
Position Update
↓
Branch Notification27. What If the Execution Report Is Lost?#
This takes us directly back to the core value of middleware.
Suppose the exchange has already executed:
1,000 sharesbut the network connection fails between:
Exchange → Securities FirmThe securities firm must be able to:
Detect Missing Messages
↓
Reconnect
↓
Recover Missing Data
↓
Restore Sequence
↓
Update StateTherefore:
The most dangerous problem in a trading system was not simply that the network failed.
It was failing without knowing what had happened.
28. This Is Why Reconciliation Became Essential#
At the end of the trading day, the securities firm had to answer:
How many trades does the exchange say occurred?and:
How many trades does the securities firm's system believe occurred?They must match.
For example:
Securities Firm:
100,000 executions
Exchange:
100,000 executionsEverything is consistent.
But:
Securities Firm:
100,000
Exchange:
99,999something must be investigated.
Therefore:
Trading
↓
Clearing
↓
Reconciliationbecame part of the complete transaction lifecycle.
29. This Was the Real Financial-System Loop#
A normal Internet application might look like:
Request
↓
ResponseA securities transaction is closer to:
Order
↓
Exchange
↓
Execution
↓
Clearing
↓
Settlement
↓
Position
↓
ReconciliationThat is why securities IT systems have historically demanded much stronger consistency and recoverability than ordinary business applications.
30. Why Did Securities Firms Need Primary and Backup Systems?#
Centralized trading created another problem.
If there was:
One Central Trading Nodeand it failed:
All Branches
↓
Cannot TradeTherefore systems increasingly required:
Primary
↓
Backupand later:
Primary Trading Host
↕
Backup Trading HostEventually:
Production Center
↓
Disaster Recovery Centeralong with:
Database Replication
+
Transaction Logs
+
Message Logs
+
State Recovery31. Centralization Created a New Kind of Risk#
This is one of the paradoxes of centralized trading:
Centralization solved management and consistency problems, but increased the impact of central failures.
Under the old branch-centric model:
Branch A failsmight mean:
Only Branch A is unavailable.Under centralized trading:
Central Trading Host failscould mean:
100 branches become unable to trade.Therefore securities IT began placing enormous emphasis on:
High Availability
+
Redundancy
+
Disaster Recovery
+
State Recovery32. This Is Why Securities IT Became a Large Distributed-System Problem#
Although technologies such as:
Microservices
Kafka
Kubernetes
Cloud
API Gatewaydid not exist in their modern form at the time, many of the underlying architectural problems already existed:
Large Number of Clients
↓
Central Services
↓
Messaging Middleware
↓
Multiple External SystemsThe system also had to provide:
High Throughput
+
Low Latency
+
High Reliability
+
Ordering
+
Failure Recovery
+
Data ConsistencyIn this sense:
China’s securities IT industry entered the world of large-scale distributed financial systems quite early.
33. Why Did Low Latency Become Increasingly Important?#
The early manual market operated on a timescale of:
Minutes
or longerThen:
SecondsLater:
MillisecondsAs competition increased, the path:
Order
↓
Exchangebecame increasingly performance-sensitive.
Therefore every layer mattered:
Branch
↓
Central Trading Host
↓
Middleware
↓
Trading Gateway
↓
ExchangeEach unnecessary operation added latency.
Securities middleware therefore evolved from:
“It can communicate.”
toward:
“It can communicate reliably and quickly.”
34. This Is What Made Securities Middleware Different#
A normal enterprise messaging system might primarily require:
ReliabilityA securities trading system demanded:
Reliability
+
Ordering
+
Recovery
+
Traceability
+
Low Latency
+
ReconciliationThat is why securities middleware developed such strong industry-specific characteristics.
35. The Entire Around-2000 Architecture#
A simplified conceptual architecture looks like this:
Investor
│
▼
┌──────────────┐
│ Securities │
│ Branch │
└──────┬───────┘
│
▼
┌────────────────────┐
│ Centralized │
│ Trading System │
│ │
│ Customer / Account │
│ Order / Risk │
│ Position / State │
└─────────┬──────────┘
│
▼
┌────────────────────┐
│ Trading Host │
│ │
│ Central Processing │
└─────────┬──────────┘
│
▼
┌────────────────────┐
│ KCBP / KCXP-type │
│ Middleware Layer │
│ │
│ Messaging │
│ Routing │
│ Conversion │
│ Session / Recovery │
│ Reconciliation │
└─────────┬──────────┘
│
┌────────┴────────┐
▼ ▼
SSE Seat SZSE Seat
│ │
▼ ▼
SSE SZSEImportant:
This is a conceptual architecture, not a claim about the exact production topology deployed by every securities firm in a particular year.
Different vendors, securities firms, and product generations could draw the boundaries differently.
36. The Entire History in One Timeline#
Around 1986:
The Counter Was the Trading CenterAround 1990:
The Exchange Became the Market CenterMid-1990s:
Branches Began to Become NetworkedLate 1990s:
Securities Firms Built Centralized Trading SystemsAround 2000:
Central Trading System
↓
Trading Host
↓
Middleware
↓
Trading Seat
↓
ExchangeChina’s securities industry had therefore entered an era of:
Networking, centralization, and electronic trading.