...
The following section describes the services offered by each party involved.
Scenario Description
- Client creates an account with a trader and receives a user ID. The Trader registers the Client with the stock exchange using client information.
- The Client obtains a CDS account using which he is allowed to trade. The Client can only buy and sell shares on the market through the Trader who registered him/her.
- The Trader places the client's buying and selling orders in the stock exchange.
- The trader also registers feed targets to the Exchange.
- To access any of the services from the stock exchange, the Trader needs to first login to the Exchange using the Trader's username and password.
- The Clients get stock quotes (company name, symbol, selling price, high, low), and portfolio information from the Trader. He also deposits money in his account through the Trader.
- The User (shareholder) can directly gain market information such as total traded shares, average price, and average size of trade from the stock exchange.
- Trader provides market data updates to the stock exchange.
...
From the terminal go to
<AS_HOME>\samples\Trader
directory.Execute one of the following commands to run the client:
OS Command MS Windows run-client.bat [ -qos (rm | secure | securerm)] [-te <TraderService URL>] [-ee <ExchangeService URL> ] Unix/Linux run-client.sh [ -qos (rm | secure | securerm)] [-te <TraderService URL>] [-ee <ExchangeService URL> ]
Terms used
TraderService URL is the End Point Reference (EPR) of the TraderClient. This can be obtained from the Management Console.
...