You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a limit order using jupiter SDK in solana with the above parameters .
const { tx, orderPubKey } = await limitOrder.createOrder({
owner: walletKeyPair.publicKey,
inAmount: new anchor.BN(sellAmount.toString()),
outAmount: new anchor.BN(buyAmount.toString()),
inputMint: new PublicKey(sellAddress),
outputMint: new PublicKey(buyAddress),
expiredAt: transactionExpiry, // Example: new BN(new Date().valueOf() / 1000)
base: base.publicKey,
});
My outAmount was 18749259 USDC but what I received was 18730510 USDC which is less than my outAmount . Does jupiter SDK automatically apply a slippage internally ? If yes how do I set it to 0%
Quoting the docs Limit orders ensure that you get what you quote with no slippage, which is especially useful during volatile periods.
This is not happening . https://docs.jup.ag/guides/limit-order/how-lo-work
Hello @hammersharkfish This will be review by the support team. Visit the live support page to initiate a chat with an agent for further assistance via live agent. Regards
I created a
limit order
usingjupiter SDK
in solana with the above parameters .My
outAmount
was18749259 USDC
but what I received was18730510 USDC
which is less than myoutAmount
. Does jupiter SDK automatically apply aslippage
internally ? If yes how do I set it to 0%Quoting the docs
Limit orders ensure that you get what you quote with no slippage, which is especially useful during volatile periods.
This is not happening .
https://docs.jup.ag/guides/limit-order/how-lo-work
https://docs.jup.ag/docs/limit-order/limit-order-with-sdk
The text was updated successfully, but these errors were encountered: