You're right, the manual description was wrong. asset("SPY") deselects the contract, or alternatively this line:

g->contract = 0;

We'll implement deselecting the contract by contract(0,0,0) in the next update.