How to set up a long and short position in the contract?