poly-flashloan-bot icon indicating copy to clipboard operation
poly-flashloan-bot copied to clipboard

A big delay from the bot to the contract

Open xabozhu opened this issue 2 years ago • 2 comments

https://polygonscan.com/address/0xf651b785aa4aac0edcf2220ad88a9d2b52f640ff Here is my contract and here were all the opportunities my bot found, but there was a big delay in between, anyone knows how to shorten it? image These are the opportunities it found today, but when it goes to the contract, each of them had an around 20 mins delay. image This is the opportunity it found 4 days ago, also had an around 20 mins delay.

xabozhu avatar May 05 '22 19:05 xabozhu

Yes, it's because 1 inch is used to aggregate opportunities, but it routes through to many protocols looking for a decent buying price to be useful for arbitrage.

Basically the bot is not profitable in its current state and is unlikely to be updated. Check previous issues for more info.

On Thu, May 5, 2022, 8:56 PM xabozhu @.***> wrote:

https://polygonscan.com/address/0xf651b785aa4aac0edcf2220ad88a9d2b52f640ff Here is my contract and here were all the opportunities my bot found, but there was a big delay in between, anyone knows how to shorten it? [image: image] https://user-images.githubusercontent.com/16949851/167014989-dcf9b43d-13fe-4796-a0fd-128bfe42dfe9.png These are the opportunities it found today, but when it goes to the contract, each of them had an around 20 mins delay. [image: image] https://user-images.githubusercontent.com/16949851/167015223-236ecd25-d014-428e-ad77-83c781dc1cf7.png This is the opportunity it found 4 days ago, also had an around 20 mins delay.

— Reply to this email directly, view it on GitHub https://github.com/yuichiroaoki/poly-flashloan-bot/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKNRTQMHMEXM7H2KZKDK2TVIQRW5ANCNFSM5VGDLLXQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sshimaninja avatar May 07 '22 13:05 Sshimaninja

do

Yes, it's because 1 inch is used to aggregate opportunities, but it routes through to many protocols looking for a decent buying price to be useful for arbitrage. Basically the bot is not profitable in its current state and is unlikely to be updated. Check previous issues for more info. On Thu, May 5, 2022, 8:56 PM xabozhu @.> wrote: https://polygonscan.com/address/0xf651b785aa4aac0edcf2220ad88a9d2b52f640ff Here is my contract and here were all the opportunities my bot found, but there was a big delay in between, anyone knows how to shorten it? [image: image] https://user-images.githubusercontent.com/16949851/167014989-dcf9b43d-13fe-4796-a0fd-128bfe42dfe9.png These are the opportunities it found today, but when it goes to the contract, each of them had an around 20 mins delay. [image: image] https://user-images.githubusercontent.com/16949851/167015223-236ecd25-d014-428e-ad77-83c781dc1cf7.png This is the opportunity it found 4 days ago, also had an around 20 mins delay. — Reply to this email directly, view it on GitHub <#75>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKNRTQMHMEXM7H2KZKDK2TVIQRW5ANCNFSM5VGDLLXQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

do you know how to fix it in the code? i don't know how to change the bot code, I can easily read them but dont know where exactly to modify, so it will scan directly from the defi pool instead of 1inch

xabozhu avatar May 08 '22 05:05 xabozhu