#10 is normally used for short runs of 30 amps. With 150 feet though, I'd opt at least for #8, and maybe even #6. Go to any standard wire table to find the ohmage of the wire size. Then you can calculate the voltage loss at 30 amps and see if you can tolerate that.