Compute minimum investment for grid (public endpoint, no authentication required)
- Provider
- OKX API V5
- Input summary
- {"name":"lever","type":"string","required":false,"description":"Leverage Only applicable to `contract grid`"}, {"name":"maxPx","type":"string","required":true,"description":"Upper price of price range"}, {"name":"minPx","type":"string","required":true,"description":"Lower price of price range"}, {"name":"instId","type":"string","required":true,"description":"Instrument ID, e.g. `BTC-USDT-SWAP`"}, {"name":"basePos","type":"boolean","required":false,"description":"Whether or not open a position when the strategy activates Default is `false` Neutral contract grid should omit the parameter Only applicable to `contract grid`"}, {"name":"gridNum","type":"string","required":true,"description":"Grid quantity"}, {"name":"runType","type":"string","required":true,"description":"Grid type `1`: Arithmetic, `2`: Geometric","enum":["1","2"]}, {"name":"topUpAmt","type":"string","required":false,"description":"Top up amount, only applicable to spot grid"}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available