CoinDCX automatically gives you the additional margin, and charges interest @ 0.05% per day, when the position is open for more than 24 hours.
For calculation of the interest rates please check the below link. 

https://coindcx.com/intro-to-margin-trading