Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following section describes the services offered by each party involved.

Scenario Description

  1. Client creates an account with a trader and receives a user ID. The Trader registers the Client with the stock exchange using client information.
  2. 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.
  3. The Trader places the client's buying and selling orders in the stock exchange.
  4. The trader also registers feed targets to the Exchange.
  5. 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.
  6. 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.
  7. The User (shareholder) can directly gain market information such as total traded shares, average price, and average size of trade from the stock exchange.
  8. Trader provides market data updates to the stock exchange.

...

  1. From the terminal go to <AS_HOME>\samples\Trader directory.

  2. Execute one of the following commands to run the client:

    OSCommand
    MS Windowsrun-client.bat [ -qos (rm | secure | securerm)] [-te <TraderService URL>] [-ee <ExchangeService URL> ]
    Unix/Linuxrun-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.

...