Skip to content

Price monitor and log for backtest - Failed to get curve state: is it because of slow RPC or just a technical delay? #104

Open
@VeryBoredPanda

Description

@VeryBoredPanda

Hi,
Thank you for keeping this project updated.
I'm creating a script to monitor and log prices of tokens found with logsubscribe so I can do some backtest with entry and exit strategies.
At the moment i'm using RPC call to buy but PumpPortal Lightning Transaction API to sell because it allows me to sell the second after I buy when with RPC call I need to wait at least 13 seconds (could be the free plan rpc problem but with old version of the bot even with Chainstack Growth plan + Trader node there was 10-15 sec delay before RPC could see tokens in the ATA).
Anyway when I try to monitor the prices, for the first ~13secs I get error:

"Failed to get curve state: Account Bonding curve adress here not found"

and then after that time I finally see the prices.
Is it because I use a free rpc at the moment or is it a technical delay from pump.fun?
With old version using blocksubscribe I could monitor prices from the moment token was found, but I was using paid Chainstack plans at that time.
I'm almost sure it's RPC related but wanted to double check with you and be 100% sure before buying a paid plan.

Thank you

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions