Skip to content

Bitfinex Lending Bot automates the funding on Bitfinex 自動放貸機器人

Notifications You must be signed in to change notification settings

huaying/bitfinex-lending-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitfinex Lending Bot

The project is written in React (create-react-app) and nodejs (expressjs).

Screen Shot 2020-03-14 at 8 51 21 PM

Prerequisite

yarn, docker, docker-compose

Installation

  • Create a new file .env under the current directory and put your key, secret and timezone here.
API_KEY=xxx
API_SECRET=xxx

TZ=Asia/Taipei
  • Copy server/custom-config.example.js to server/custom-config.js, we can playground with the numbers in this config.

  • Run yarn to install required packages

Run the bot

If you just want to start the bot and automatically lend your money out, you only need to start the backend service. It will check your remaining/submit funding offers every 3 minutes.

docker-compose up 

Run the auto submit once

Although the bot checks and submits offers regularly, you can run the script directly.

yarn auto-submit

Start the ui (optional)

yarn start

Deploy to your own server:

api: docker-compose up -d and serve it in a proxy server such as nginx

ui: REACT_APP_API_URL='https://yourserverurl.com' yarn build

About

Bitfinex Lending Bot automates the funding on Bitfinex 自動放貸機器人

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published