Open
string
required
BTC/USD, or just BTC, in any case.'long' | 'short'
required
Amount
required
Amount of
payToken put in as collateral.string
required
USDC, ETH (sent as native ETH), WETH or a market token such as BTC.Amount
required
Position size in USD, or leverage. Pass exactly one.
Amount
required
Percent, 0.01 to 5.
Close
size the whole position closes.
Cancel a pending request
A request that sees no keeper outcome within 60 seconds throwsExecutionTimeout, which can withdraw it:
zeus.trade.cancelRequest(requestKey) does the same for any pending request of the wallet once the contract’s public delay has passed.