Update trader.rb

Some changes typo of code