Skip to content

yayayahahaha/ftx-tools

Repository files navigation

FTX Tools

make your ftx smart

How to use

  1. copy input.json.default to input.json and install npm pacakges
# npm install
npm install

# copy input.json.default to input.json
cp input.json.default input.json
  1. modfied input.json , paste your apiKey and secrectKey (generate your api key here)
{
  "apiKey": "{YOUR-API-KEY}",
  "secretKey": "{YOUR-SECRECT-KEY}"
}
  1. run npm run earn_current to get your earning count
# run `npm run earn_current` to get your earning count
npm run earn_current

result included all sub-accounts

  1. run npm run lending_offer to send lending offers
# run `npm run lending_offer` to send lending offers
npm run lending_offer

this script will send all remains USD to lending offer.
run npm run lending_offer -- --subAccount={YOUR-SUB_ACCOUNT-NAME} to work in subAccount

About

make your ftx smart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published