CoinDCX automatically gives you the additional margin, and charges interest @ 0.05% per day, when the position is open for more than 24 hours. The final interest is calculated by the number of hours with the following formula :-


Interest Charged = (Interest Rate * hours * Loan amount ) / 100 Where Loan amount = (Order Total - Initial margin)