Gentleman,, the missing piece of your puzzle is PORTFOLIO MARGIN,
i do not have standard reg t , if you do not know about pm,, heres a link for some explanation, https://en.wikipedia.org/wiki/Portfolio_margin ,, , further more, my 25 years at this game has led me to my approach...