changed the data structure for btce activeOrders and tradeHistory