muhammad-rabby / solana-arbitrage-bot

Automated Arbitrage Bot Using Jupiter on Solana
MIT License
35 stars 16 forks source link

429 Error #3

Open HkCuRZbh opened 1 week ago

HkCuRZbh commented 1 week ago

I'm having a lot of “429 Too Many Requests” problems like in the screenshot, please help me

429 error
muhammad-rabby commented 1 week ago

I'm having a lot of “429 Too Many Requests” problems like in the screenshot, please help me

429 error

This is the RPC rate limit. Try changing the default value of 100 for “minInterval” in src/constants/index.js to a larger value (in milliseconds).

Importantly, do not use the default RPC in the .env file, it is only there for testing purposes. If you use it in a real production environment it will greatly reduce your profitability and even lead to losses. You should change to a better RPC service.

HkCuRZbh commented 1 week ago

Problem solved! How much do you recommend using to run it, and which token pair is best to arbitrage?

muhammad-rabby commented 1 week ago

Problem solved! How much do you recommend using to run it, and which token pair is best to arbitrage?

It depends on your strategy as there are now over 280,000 tokens to choose from. Choosing to arbitrage USDC requires a larger amount of money for significant returns, other SPL tokens less, and I've used close to $80,000 over the past month or so to execute my personal strategy.

I would recommend that whatever strategy you adopt, set the amount very small when allocating to explore your own profitable strategy until you are fully familiar with it and then gradually increase it.

HkCuRZbh commented 1 week ago

Problem solved! How much do you recommend using to run it, and which token pair is best to arbitrage?

It depends on your strategy as there are now over 280,000 tokens to choose from. Choosing to arbitrage USDC requires a larger amount of money for significant returns, other SPL tokens less, and I've used close to $80,000 over the past month or so to execute my personal strategy.

I would recommend that whatever strategy you adopt, set the amount very small when allocating to explore your own profitable strategy until you are fully familiar with it and then gradually increase it.

I get it, thank you very much!🫡