jupiter-python-sdk icon indicating copy to clipboard operation
jupiter-python-sdk copied to clipboard

The token is not tradable

Open CRY-D opened this issue 1 year ago • 10 comments

Ah, it's me again ;) I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.

However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable :100:.

Screenshot_20240322_025903

CRY-D avatar Mar 22 '24 02:03 CRY-D

Hello, I have the same issue, have you found any alternative?

jglrmm avatar Apr 04 '24 22:04 jglrmm

Hello, if I'm not mistaken, once the token met the criterias (token metadata, $250 liquidity buy/sell, price impact below 30%), it will be listed automatically within few minutes. So that's probably why there is a delay.

Source: https://docs.jup.ag/docs/get-your-token-onto-jup#tokens-with-sufficient-liquidity-and-on-chain-metadata-are-automatically-listed

0xTaoDev avatar Apr 08 '24 15:04 0xTaoDev

Ah, it's me again ;) I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.

However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable 💯.

Screenshot_20240322_025903

Jupiter doesn't trade new pairs. You have to use the Raydium SDK.

AL-THE-BOT-FATHER avatar Apr 09 '24 06:04 AL-THE-BOT-FATHER

Is there a python Raydium API/SDK? I haven't found one.

aleph0ne avatar Apr 20 '24 17:04 aleph0ne

Is there a python Raydium API/SDK? I haven't found one.

Check this out.

https://github.com/leq6c/soldexpy

This guy has a good start on doing Raydium swaps, but unfortunately the code is super slow, even with a good RPC. This wouldn't be suitable for an production level code, in fact he expressly says that it is experimental.

If this code could be improved upon, it could be great.

AL-THE-BOT-FATHER avatar Apr 21 '24 05:04 AL-THE-BOT-FATHER

Noticed that some of the tokens are available on their private api host: https://edge-quote-api.jup.ag while the same tokens are deemed not tradable on https://quote-api.jup.ag

nandubatchu avatar May 15 '24 10:05 nandubatchu

Noticed that some of the tokens are available on their private api host: https://edge-quote-api.jup.ag while the same tokens are deemed not tradable on https://quote-api.jup.ag

Yes, but can't send ".swapPost" to this url. Got: 'Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 33807 of 1353845 compute units', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked'

alekskravchenko avatar May 29 '24 20:05 alekskravchenko

When I build transaction including two swap instructions and sol transfer instruction: I used jupiter swap instructions api. "Program log: Instruction: Route" "Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39" "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 18729 of 778155 compute units" "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"

vladmeer avatar Jul 18 '24 04:07 vladmeer

if you run into "Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39" error, that means that you are missing the necessary token accounts to swap to and from.

this can happen if you are skipping setupInstructions if you are using /swap-instructions.

sssionggg avatar Jul 18 '24 17:07 sssionggg

https://station.jup.ag/guides/general/get-your-token-on-jupiter#how-to-get-your-pool-routed-on-jupiter

Just read it here, I just wondered if there are ways to bypass these criteria?

0xtrou avatar Dec 15 '24 03:12 0xtrou