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.
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
- 'PATH' of bitfinexHistory.txt in bitfinexLeaderboard.js file
- 'yourBotToken' , your discord Bots token in discMain.js file
Simply type '!whale' in the discord channel