updated trader code to increment stock values