Use this RECIPE
Although these will not result in a massive difference in the above calculations, there are a few things you should consider:
The stable-coin swap is 1:1 - you may get greater than, equal to or less than sent stablecoins in different cases - high slippage might occur if exchanges are in millions. 1 DAI = 1 USDC = 1 USDT = $1. Your maximum input leverage is 4x, which will make the position risky at 75%.