-
Notifications
You must be signed in to change notification settings - Fork 91
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
Arbitrage bot #958
Comments
Perhaps we can fork a bot dropping the time estimate down to a day? It could be interesting to have a worker spawn on transaction events to the market. Webhook style. But maybe too complicated due to nodejs limitations |
Exactly. We need a simple "fork and run" solution because current version of the arbitrage bot will viable only until more sophisticated MEV bots add Dollar token pools to their platforms.
If there already exists a solution, then yes, time estimate can be reduced.
Current version of the arbitrage bot could be run on github cron schedule. So the flow for an end user would be:
|
/start |
Tip
|
@FibrinLab Did you check the expected flow here (the bot should be able to run as a github action)? |
Yes. Working on this |
@rndquu I understand this would need a new repo. Where do I make a draft pull request? |
|
In the future you should make a new repo using our ts-template and host on your own org. Next you work on a pull to your own org but link this task using a closing keyword. I don't want to make new repositories until work is completed because I had to delete eight "ts-templates" across our organization due to all the non completes last week. |
@rndquu Some updates, created draft pool with arbitrage contract modified to work with Ubq pool. Working on Cron job. |
/help |
Available Commands
|
/wallet 0x0013f4217f6a8B48A92f7EA5d811A5F8D8364B93 |
+ Successfully registered wallet address |
/start |
Tip
|
/start |
! This issue is already assigned. Please choose another unassigned task. |
https://github.com/surafeldev/arbitrage_bot I made this implementation for this task, let me know if there is any thing I have to consider |
@surafeldev You need to do a pull to your own default branch and link this issue so all of us including the bot can track progress |
as it is stated in the description I have created a separated Repo for the Bot, Do I need to create a PA from bot repo or this repo ? |
Yes you link this issue |
am just confused, How can I do that ? do I need to create separate branch and add the bots repo link with this issue |
#976 |
You're not using our template and you linked this wrong. I'm not optimistic about the success of this deliverable. |
I'll take a look at the template and rebuild the deliverable alongside it to ensure it meets the project's standards. I appreciate your guidance and will make the necessary adjustments. |
I couldn`t find the dollar token in Dex to implement the price feature; where can I find the secondary market API? or should I have to build it by expecting it will be implemented ? |
Passed the deadline and no activity is detected, removing assignees: @surafeldev. |
/help |
Available Commands
|
/wallet 0x226AAE6Db84dca652818400750b8BF96a077349e |
+ Successfully registered wallet address |
/start |
! This task does not reflect a business priority at the moment and cannot be started. This will be reassessed in the coming weeks. |
/start |
1 similar comment
/start |
In order to maintain Dollar token USD peg LibUbiquityPool provides the following arbitrage mechanic:
a) Mint 1 Dollar token for 1 USD of collateral in the LibUbiquityPool
b) Sell 1 Dollar token on a secondary market
a) Buy cheap Dollar token on a secondary market
b) Redeem Dollar token for collateral worth 1 USD in the LibUbiquityPool
On early project stage any large swap may affect the Dollar token price greatly and the pool (where the swap occurred) may remain unbalanced for a long time which in turn depegs the Dollar token.
As a part of this issue we should create an arbitrage bot (i.e.
nodejs
app) which could be run on VPS or any suitable PAAS (heroku, cloudflare, etc...) to catch arbitrage opportunities in order to keep the Dollar token USD pegged on early project stage.What should be done:
nodejs
app that will catch arbitrage opportunities for the Dollar tokenNotes:
The text was updated successfully, but these errors were encountered: