Skip to content

This project aims to prove the concept of a arbitrage watcher that migrate to webhook (eg. Discord).

License

Notifications You must be signed in to change notification settings

kapong/arbitrage_watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrage Watcher

Version License: Unlicense

This project aims to prove the concept of a arbitrage watcher that migrate to webhook (eg. Discord).

Prerequisite

  • Docker
  • build-essential

Configuration

Users can configure the watcher through the environment file (.env).

  • EXPECTED_PROFIT is the expected profit threshold. Setting this value to 5.00, the watcher will trigger if the arbitrage profit goes up to 5%, 10%, 15%, and so on. (deprecated; Please use expectedProfile and expectedProfileStep in Swap class instead)
  • WATCHING_INTERVAL is the interval time (in minutes) that the watcher tries to query the price on-chain.
  • DISCORD_WEBHOOK can be obtained on Discord, by go to Text-Channels > Edit-Channel > Integrations > Webhooks.

Usage

make all

Example output

This is an example output on Discord.

Discord Bot Example

Future work

  • Increase pairs, this is the first version that supports only LUNA/bLUNA pair on TerraSwap. In the future, we need to support several DEXes and Token Pairs as much as possible.
    • LUNA/bLUNA
    • LUNA/UST
  • Configuration using yaml file

License

Copyright © 2021 imalic3. This project is Unlicense licensed.

About

This project aims to prove the concept of a arbitrage watcher that migrate to webhook (eg. Discord).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published