A simple script to record funding payments from FTX
-
Copy a .env file from .env.example
-
Get and fill your API secret and API key from FTX (Recommended to create a read-only API key)
-
Get and fill your Google Service account email and private key from Google Cloud Console
-
Enable Google Sheets API in your Google Cloud Console
-
Create a Google spreadsheet and grant edit right to your service account email
-
For quick start, run yarn && yarn start
-
Done!
You can also get previous funding payments through passing arguments. For example:
yarn start [-y|--year] 2020 [-m|--month] 8 [-s|--subAccount] hello
MIT