Prepare: close a leveraged long
close_longUnsigned transaction closing all or part of the wallet's leveraged long on a stock: the stock is sold, the debt repaid, and the rest comes back in USDG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| percent | No | How much of the position to close, 1 to 100 (default 100) |