In addition, if you buy (that is, buy up), then 322750-306612.5 =16137.5 is the amount of your loss. If you don't have any funds except the contract deposit at this time, this is the extra deposit you need. If there are other funds, such as 10000, then the additional amount is16137.5-10000 = 6137.5.
(It should be noted that you get the contract value by paying the deposit, but the profit and loss are amplified in real time. )