added get_trade_history method