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.
Update take profit, stop loss, or limit-order price on Ostium with the Builder SDK.
await client.modifyOrder({ pairId, idx, takeProfit: '72000' });
await client.modifyOrder({ pairId, idx, stopLoss: '62000' });
await client.modifyOrder({ pairId, idx, price: '64500' });
interface Response { txHash: `0x${string}`; smartAccountAddress?: `0x${string}`; }