Margin trading is generally allowed in Islamic law, as long as it does not involve riba (usury) or speculation.