Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 1.08 KB

README.md

File metadata and controls

22 lines (12 loc) · 1.08 KB

bitfinex leaderboard Tracker

Tracks the position of two publicly known traders on BFX

Uses Bitfinex Exchange API to get information about the leaderboard, which allows to track trader positions and profits. The code is very unorganized as I wanted to get it done asap, to know what two specific traders are doing during these times. Additionally it posts the results into a desired discord server.

The logic is simple:

If the bitcoin price increases and so do their profits, they must be long. If the absolute value of their profits doesn't increase by the same percentage amount the price did, they have reduced their position and it's time to pay attention

Requirements to get started

  1. 'PATH' of bitfinexHistory.txt in bitfinexLeaderboard.js file
  2. 'yourBotToken' , your discord Bots token in discMain.js file

Simply type '!whale' in the discord channel

image

required modules: discord.js, discord.js-commando , request , fs ,readline