kryptos
kryptos copied to clipboard
Cryptocompare
Goal
As a developer, I want to use Cryptocompare API to create new datasets, so that I can find correlations for price movements of cryptocurrency.
How To
- Consider using requests library to pull data via Cryptocompare API, which allows for the following requests:
- CoinList
- Price
- PriceHistorical
- CoinSnapshot
- CoinSnapshotFullByID
- Social Stats
- HistoMinute
- HistoHour
- HistoDay
- MiningContracts
- MiningEquipment
- TopPairs
- Consider using stefs304's cryCompare library, which currently supports:
- CoinList
- Price
- PriceMulti
- PriceMultiFull
- PriceHistorical
- CoinSnapshot
- CoinSnapshotFullById
- HistoMinute
- HistoHour
- HistoDay
- Consider using lagerfeuer's cryptocompare library, which currently supports:
- Coin List
- Price
- Historical Price
- Day
- Hour
- Average
- Exchanges
- Consider using ttsteiger's cryptocompy library, which currently supports:
- CoinList
- CoinSnapshot
- MiningContracts
- MiningEquipment
- Exchanges
- Volumes
- Pairs
- Minute
- Hour
- Day
- Consider focusing on Cryptocompare's SocialStats, which supports:
- Github
Here is an example of a returned response for Social Stats:
"Twitter": {
"followers": 98788,
"following": "98",
"lists": 1891,
"favourites": "71",
"statuses": 12616,
"account_creation": "1313643968",
"name": "Bitcoin",
"link": "https://twitter.com/bitcoin",
"Points": 108255
},
"Reddit": {
"subscribers": 176594,
"active_users": 381,
"community_creation": "1284042626",
"posts_per_hour": "5.06",
"posts_per_day": "121.49",
"comments_per_hour": "44.82",
"comments_per_day": 1075.7,
"link": "https://www.reddit.com/r/bitcoin/",
"name": "Bitcoin",
"Points": 179888
},
"Facebook": {
"likes": 25816,
"is_closed": "false",
"talking_about": 93,
"name": "Bitcoin P2P Cryptocurrency",
"link": "https://www.facebook.com/bitcoins/",
"Points": 26746
},
"CodeRepository": {
"List": [{
"stars": 7918,
"language": "C++",
"forks": 5439,
"open_total_issues": "402",
"subscribers": 1013,
"size": "100332",
"url": "https://github.com/bitcoin/bitcoin",
"last_update": "1449226680",
"last_push": "1449225545",
"created_at": "1292771803",
"fork": "false",
"source": {
"Name": "",
"Url": "",
"InternalId": -1
},
"parent": {
"Name": "",
"Url": "",
"InternalId": -1
},
"open_pull_issues": "79",
"closed_pull_issues": "4820",
"closed_total_issues": "6753",
"open_issues": "323",
"closed_issues": "1933"
}],
"Points": 21835
}
Inspiration
Thanks to @agalea91 for introducing me to Cryptocompare
As per my suggestion, stefs304 updated cryCompare to include more API calls:
- CoinList
- Price
- PriceMulti
- PriceMultiFull
- PriceHistorical
- GenerateAvg
- DayAvg
- CoinSnapshot
- CoinSnapshotFullById
- HistoMinute
- HistoHour
- HistoDay
- TopPairs (part of price module)
- SocialStats (part of social module)
- MiningEquipment (part of social module)
It's time to implement Cryptocompare's SocialStats!
@treethought Let's implement Cryptocompare's SocialStats (see cryCompare), which can be used by @bukosabino as features for machine learning (#80). This dataset is quite unique since it allows us to see social statistics for any cryptocurrency.
Bitcoin social statistics include:
- Twitter: https://twitter.com/bitcoin
- Reddit: https://www.reddit.com/r/bitcoin/
- Facebook: https://www.facebook.com/bitcoins/
- Github: https://github.com/bitcoin/bitcoin