ptyagi

ptyagi / SantimentDataCollector / 1.0.1

README.md

Overview

Trading of any asset requires good quality data as well as the data that has some predictive power.

Santiment is a dApp on Ethereum network which fetches data for ERC20 tokens and same can be fetched from their servers using their API.

The data they provide are OHLCV, blockchain data, social media sentiments, and development activity on github for any ERC20 token.

This program extracts that data for further use in predicting a trading signal by any program.

Applicable Scenarios and Problems

There is no restriction.

Usage

Input

As input it requires to provide the token name, days, and interval like ["tokenname",days,"interval"] List of token names is given below:

"ethereum","binance-coin","omisego","augur","maker","mithril","kucoin-shares","wax","bancor","loopring","decentraland","digixdao","dentacoin","crypto-com","funfair","storj","sonm","sirin-labs-token", "mobilego","huobi-token","indorse-token","aragon","power-ledger","tenx","kyber-network","salt","civic","singularitynet","santiment","singulardtv","0x","aeternity","basic-attention-token","bytom","golem-network-tokens","chainlink","populous","status","waltonchain","aion" etc

Output

Once you give the input to the program and run it -it will output the datetime indexed data for that token, selected day range, and interval in following format ["Ticker","Date","open","close","high","low","volume","marketcap","outInDifference","activeAddresses","burnRate","activity","mentionsCount","networkGrowth]

Examples

input = ["ethereum",5,"1d"] Output= [["Ticker","Date","open","close","high","low","volume","marketcap","outInDifference","activeAddresses","burnRate","activity","mentionsCount","networkgrowth"],["ethereum","02/23/2019",148.047799558,158.79542978,159.125870299,148.003848971,4519468458,16077073727.782894,8155.389121204108,0,0,67,0,"0"],["ethereum","02/24/2019",158.790510027,135.852653564,165.549627498,135.852653564,5957715043,16179118900.468992,50737.21252555524,199777,0,110,208,"15757"],["ethereum","02/25/2019",135.499726931,139.822855499,142.530228136,135.389668624,4914392068,14657000937.70428,-105303.44610414476,206958,0,709,101,"17022"],["ethereum","02/26/2019",139.747874143,137.978941583,139.976439288,136.579610916,3794034120,14507927306.177387,14239.726438940725,207312,0,821,111,"18353"],["ethereum","02/27/2019",138.029574485,136.138953278,141.397524825,131.602922222,4469093505,14475172942.94542,140937.61749575098,210671,0,847,138,"17561"]]