CoinDCX automatically gives you the additional margin and charges interest @0.05% per day (~0.002% per hour). Additional margin is the amount a trader has borrowed from the exchange to fulfill a particular order. When the position is open for more than 1 Hour, the interest expense is calculated for an order based on the following formula:

Interest Charged = (Interest rate Per Hour * hours *additional margin) / 100

where Additional margin = (Order Value - Locked Balance for the order).

In case of a bracket order and if your order is partially settled, you will be only charged for the margin which is remaining on your open order, only for the duration, the order is open on Margin. In case you add more margin in an open position, the interest rate will only be charged on the updated (lesser) borrowed amount.