added a getOpenSales.

getTotTrades should get the number of completed trades.
getOpenSales should get the number of uncompleted/open trades that the user has requested.