I understand dynamic position sizing can somewhat be accomplished with SetHoldings(), but this would only set the position size relative to the buying power without taking into account our risk appetite for that trade or where our stop order would be for that position. 

Would it be possible to have a position size thats based on where the stop order is? 

In other words; for example, if I want to limit risk for each trade to an 1% of my equity, how does one accomplish that?