Update trade_api.rb

redefine get nonce method