Renew margin lending amount.
- I have change the default lending coin to USD in https://github.com/dwy6626/ftx-lending-bot/commit/ffc7f74a9138a4191677127f96d874bd44885952, there might be more changes on master branch in future. you can use the released version (currently is v1.1) which is more stable.
Show usage:
python main.py -h
Example:
python main.py -a "My Sub-Account" -c "USDT" -r "1e-6"
please use Python 3.7+
pip install -r requirements.txt
copy .env.sample
to .env
and add your API key and secret
- clone this repo
- add
FTX_API
andFTX_API_SECRET
to repo > settings > secret. - modify the sub-account, coin and lending rate in
.github/workflows/cron.yml
Manual dispatch the workflow disable.yml
on GitHub website.
Because scheduled workflow are automatically disabled after 60 days inactivity, there is another workflow reenable.yml
run monthly to automatically re-enable the workflows
This workflow also provides manual dispatch on GitHub website for re-enabling.
Do not upload / commit your API key and secret to internet! Keep them in private.