BFX Lending Bot
BFX lending bot runs automatic funding in Bitfinex. (AWS based)
Prerequisites
Prepare Required Tools and Configurations
-
Install required tools
brew install awscli aws-cdk
-
Create a AWS IAM user account with
AWSLambdaFullAccess
,IAMFullAccess
andAWSCloudFormationFullAccess
permission policy. -
Create access keys in security creadential tab.
-
Configure local environment with awscli.
aws configure
-
Initialize CDK toolkit
cdk bootstrap
Define Bot Configurations
-
Create a Bitfinex account and create access keys.
-
Copy
.env.example
to.env
and fill the env variables.# Bitfinex API access keys API_KEY= API_SECRET= # config SYMBOL=fUSD EACH_OFFER=200 LOWEST_OFFER=100 BASE_RATE=0.04 JUMP_RATE=0.06 KEEP_MONEY=0
-
Support multiple currencies.
# config SYMBOL=fUSD,fUST EACH_OFFER=500,500 LOWEST_OFFER=400,200 BASE_RATE=0.03,0.04 JUMP_RATE=0.06,0.06 KEEP_MONEY=2000,0
Usage
Deploy whole stack to AWS cloud with a single command.
$ yarn deploy
Execute under development mode (typescript)
$ yarn dev
Support
It will be nice if you can support me by using the promo code to register Bitfinex.
Promo Code: u_ymELCkS