Prepare: close a pair
close_pairUnsigned transactions to close the wallet's newest open pair of these two stocks: the pair's own part of the short closed (a basket leg or a short of its own on the same stock stays open, listed in stays_open), the long's lent stock taken back (what is free now, if part is on loan). If something else already closed part of the pair's short, this closes what is left and the note says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| long | Yes | A stock on Borro by its ticker, like NVDA or AAPL (markets lists every one) | |
| short | 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 |