Phase Transition in a Bounded Rational Speculative and Hedging Model