Upstox charges are applicable every day till you sell your MTF positions or until repayment of the borrowed amount. 

Example: You’ve taken ₹70,000 as Margin Trading Facility. 

Then you would pay ₹20/day (for the first ₹40,000)+ ₹20/day (for the other ₹30,000) which is a total charge of ₹40/day till you exit your MTF positions within 365 days on a temporary basis or repay the borrowed amount.

CDSL charges are applicable only once.