Margin adjustment can’t be done with the SetOption function as far as I am aware.
CBT has a MarginLoan object but my understanding is that it’s read only and therefore could not be adjusted.
Stretch alone is a simpler way:
Stretch = IIF(Conditon, 0.3, 0.5);