Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 914 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 914 Bytes

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