Sign inSign up

henry2423/ftx-line-notify

By henry2423

•Updated over 5 years ago

Summarize FTX funding payment information

Image
0

329

henry2423/ftx-line-notify repository overview

⁠ftx funding payments collection bot

⁠Description

Get your ftx funding payments information and send you through Line Notify bot. You will have your funding payment info hourly and daily summary.

image

⁠All you have to prepare:
  1. Line Notify API Key⁠:到網站申請一組API_KEY,並連結到你要接收通知的聊天室 (在這裡⁠產生你的API Token)
  2. FTX API Key⁠:需要一組能夠讀取到套利子帳戶的API KEY,唯獨權限即可。
  3. Heroku Account⁠:創建一個 Heroku 帳號來 host自己的 bot
⁠One Click Deployment with Heroku
Deploy ⁠
  1. Click the Deploy to Heroku button.
  2. You will see a Create New App page. image
  3. Decide your App name, can be anything, just to be unique.
  4. Type in FYX api key, secret and the subaccount you want to monitor.
  5. Type in Line api key. image
  6. Hit the Deploy app button, should see the green check if deploy succeed. image
  7. Go to Manage App -> Resource -> Enable the Free Dynos manually. image

⁠Run the Docker image manually
  1. Install Docker⁠.
  2. Pull the docker image from Docker Hub⁠.
$ docker pull henry2423/ftx-line-notify:latest
  1. Run the image with the following command
$ docker run \
-e line_api_key='your_line_api_key' \
-e ftx_api_key='your_ftx_api_key' \
-e ftx_api_secret='your_ftx_api_secret' \
-e ftx_sub_account='your_ftx_sub_account' \
-d henry2423/ftx-line-notify:latest
  1. The bot will be triggered automatically based on the cronjobs file settings.
⁠Contribution

Tag summary

Content type

Image

Digest

Size

20.1 MB

Last updated

over 5 years ago

docker pull henry2423/ftx-line-notify