Prepare: leveraged long
open_longUnsigned transactions for a leveraged long on a stock in one open: USDG margin plus a flash-borrowed debt buy the stock, which is lent (it earns lending fees) and posted, and the debt is borrowed against it in the wallet's own name. Approve the margin and authorize LeverRouter on Morpho if needed, then open. Leverage up to 1.80x on SPY, QQQ and NVDA, 1.35x on the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | Yes | USDG margin from the wallet, in whole units as a decimal string, like "1.5" | |
| symbol | Yes | A stock on Borro by its ticker, like NVDA or AAPL (markets lists every one) | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| leverage | Yes | Leverage, more than 1, like 1.5 |