Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

Buy or sell futures contracts
We struck a deal. I sold an asset to some body on june 1 . However he says, he would pay me any time on or before august 1st . This puts me in a dilemma.  What if price goes down by august 1st and i would have to accept lower payment from him.? If price goes up till august 1st, then obviously i make money since ,even though item is sold,price is yet to be fixed between parties. However i know anytime on or before august 1st, i would get paid the price quoted on that particular day. This price could be high in my favor, or low against me. And, this uncertainty is causing me sleepless nights. i went to futures market exchange. My item (sugar,gold,wheat,shares etc..anything). i short sell a futures which just happens to be equivalent to the quantity of my amount i sold to the acquirer of my item. I shorted at $ 100 , with expiry on august 1st. Now fast orward and august 1st comes. price is $ 120 quoted . lets Get paid from the guy who was supposed to pay on or before august 1st. He  pays 120 $. his bad luck, he should have paid us 100 $ on june 1st instead of waiting for august 1st . His judgement of price movement faulted. WE earned 20 $ extra than we expected to earn on june 1st (100$) . However the futures short of 100$ is now 120$ and you must exit your position by purchasing it at back. sell at 100$ and buy at 120$ = loss of 20$ . Thus 20 $ gained from selling item is forwarded to exchange . Thus we had hedged our position on june 1st and exit the hedge by august 1st. i hope this helps