Calculation of cash deposit

Calculation of cash deposit
Used margin(USD)