What makes your bot profitable #77
yuichiroaoki
started this conversation in
Ideas
Replies: 1 comment
-
Hello @yuichiroaoki ! Is there anything besides increasing gas prices that increases the chance the transaction gets into the next block? No matter how much gas I add my transactions take 2-3 blocks to get confirmed. I posted a question here, but it looks like this repo is more active. Thank you very much! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reasons why your bot is profitable
80%: High market volatility
15%: Execution speed
5%: Target trading routes/pairs
Some tips
Setting Gas Price Dynamic
You can get the current gas price with ethers.js.
You should add some value to the current gas price for your tx to get included faster.
ex.
Note: This way your bot will consume a lot of Matic when the market is volatile and gas price are high.
Running a Polygon Node
You can get price faster and there's no rate limits.
cost: $470 USD / month (using GCP)
Ref. https://docs.polygon.technology/docs/integrate/full-node-deployment/
Beta Was this translation helpful? Give feedback.
All reactions