Bitfinex Long Vs Short script by @whalepoolbtc - https://whalepool.io
Tired of the mis information out there regarding people's analysis and understanding of the bitfinex long/short data - I create this script so people can better get an understanding of the numbers and what they mean.
It's not pretty, but it works.
If anyones feeling keen and enthusiastic, they could...
Put the tickers you want to fetch the data for into a dict/list, maybe build the list from an api queryPut in api requests into a function to handle/wait upon api limit errorsQuery the coinmarketcap api,https://api.coinmarketcap.com/v1/ticker/?limit=0
and add another column of data for total supply/circulating supply and the % of the tickers long/short delta relative to the total circulating supplyPlot some visualisations of the L/S dataFix the combination pairs, where by ETHUSD+ETHBTC can be added up togetherBuild currency values automatically from inputted ticker pairsAllow input of ticker pairs from command line arguments- ~~Output dump of data to csv/json file ~~
Save the data hourly to csv- Time and date chart
- Legend to help label charts
- If we have a small number of tickers, sleep timer can be quicker, if more tickers, sleep time delay longer
- Add flag to change logging level output
- Imgur auto upload plotted data for easy sharing
For more info join @whalepoolbtc on telegram
Easy copy/paste snippets Easy table for quick comparisson