IBMStockTrader/trade-history

REST resources for trade data

yeekangc opened this issue · 2 comments

Expose data on trades per portfolio as REST resources:

  • Total number of trades
  • Trades within a certain timeframe
  • Book price for shares in a stock i.e. sum of "shares times price-at-purchase-time" across each trade
  • Total commissions charged

@kevinwlau

There are REST APIs in place to get the

  1. total commissions charged
  2. total return on investment
  3. number of shares for each stock in a portfolio
  4. total notional values for each stock in a portfolio (the book price for shares mentioned above)

Currently, from the original requirements, we do not have

  1. total number of trades
  2. trades within a timeframe