Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use getPairs to discover available Ostium markets, prices, leverage limits, and market state.
getPairs()
const { pairs } = await client.getPairs(); for (const pair of pairs) { console.log( pair.pairId, `${pair.pairFrom}/${pair.pairTo}`, pair.maxLeverage, pair.overnightMaxLeverage, pair.midPx, pair.isMarketOpen, ); }
pairId
openTrade()
isDayTrade