-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to filter by market cap? #147
Comments
The only way I've found is to use the dexscreener or coingeko api to get the maket cap value, but they don't seem to be fast enough. When a new pool is created, up to 30 seconds (approximately), nothing is returned. It doesn't work when you want to buy and filter in the first seconds of creating a new pool |
Hello, Very quick result, look at the end of this json
|
@Ismola try this, https://github.com/outsmartchad/solana-trading-cli/blob/typescript-main/src/raydium/token-filters/marketcap.ts, it fetch the token supply and the price of the current pool/token to calculate the pool's market cap, it's fast enough since it fetch using normal rpc. |
No description provided.
The text was updated successfully, but these errors were encountered: