https://github.com/huaying/bitfinex-lending-bot
Bitfinex Lending Bot automates the funding on Bitfinex 自動放貸機器人
https://github.com/huaying/bitfinex-lending-bot
bitfinex bot funding javascript lending-bot lending-strategies nodejs
Last synced: 5 months ago
JSON representation
Bitfinex Lending Bot automates the funding on Bitfinex 自動放貸機器人
- Host: GitHub
- URL: https://github.com/huaying/bitfinex-lending-bot
- Owner: huaying
- Created: 2020-02-17T17:45:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:59:44.000Z (over 2 years ago)
- Last Synced: 2025-04-03T16:40:15.195Z (6 months ago)
- Topics: bitfinex, bot, funding, javascript, lending-bot, lending-strategies, nodejs
- Language: JavaScript
- Homepage:
- Size: 4.15 MB
- Stars: 47
- Watchers: 4
- Forks: 16
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitfinex Lending Bot
The project is written in React (create-react-app) and nodejs (expressjs).
## 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=xxxTZ=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`