getDoubleWinLeverage
Query the leverage for a Double Win RFQ product by specifying a custom price range. Returns leverage and expiry time needed to place a Stake order.
Instructions
Query the leverage for a Double Win RFQ product with user-selected price range.
Only applicable for RFQ products (isRfqProduct=true). For fixed-range products,
obtain leverage from Get Product Extra Info or the WebSocket topic earn.doublewin.offers.
Requires Earn permission on the API key.
Rate Limit: 1 req/s (UID)
Notes:
lowerPriceandupperPricemust satisfy:lowerPrice < initialPrice < upperPriceBoth prices must be exact multiples of
priceTickSize(from Get Product Info)The returned
leverageandexpireTimeare used when placing the Stake orderThe order must be placed before
expireTime; after expiration, re-query this endpoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | ||
| initialPrice | Yes | ||
| lowerPrice | Yes | ||
| upperPrice | Yes |