transfer_between_spot_and_perp
Move funds between spot and perpetual accounts on HyperLiquid. Specify the amount and transfer direction to manage trading capital.
Instructions
Transfer funds between spot and perpetual accounts
Args: amount: Amount to transfer to_perp: Transfer to perpetual account (True) or to spot account (False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| to_perp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||