Skip to content

Deflex bot to make passive income by filling open limit orders and cancelling expired limit orders.

Notifications You must be signed in to change notification settings

deflex-fi/deflex-order-filling-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deflex Limit Order Filling Bot

Earn passive income by filling open limit orders and cancelling expired limit orders. Orders are filled with liquidity from Pact and Algofi.

Prerequisites

  • Install npm
  • Own an Algorand wallet with at least a couple of ALGO
  • Make sure there is no process running on port 3001

Running the bot

  1. Clone this repository and change directory:
  • git clone https://github.com/deflex-fi/deflex-order-filling-bot && cd deflex-order-filling-bot
  1. Set the BACKEND_SIGNER_KEY variable in .env.local to the 25-word mnemonic of your Algorand wallet, separated by underscores.
  2. (Optional) Set the other variables in .env.local, if you'd like to use a custom Algod/Indexer client.
  3. Install node dependencies:
  • npm install
  1. Start next dev server:
  • npm run dev
  1. (In a separate terminal, same directory) Run the bot:
  • npm run fill-orders

About

Deflex bot to make passive income by filling open limit orders and cancelling expired limit orders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published