produvia / kryptos

Kryptos AI is a virtual investment assistant that manages your cryptocurrency portfolio
http://twitter.com/kryptos_ai
MIT License
48 stars 8 forks source link

Cryptocompare #26

Open slavakurilyak opened 6 years ago

slavakurilyak commented 6 years ago

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

  1. CoinList
  2. Price
  3. PriceHistorical
  4. CoinSnapshot
  5. CoinSnapshotFullByID
  6. Social Stats
  7. HistoMinute
  8. HistoHour
  9. HistoDay
  10. MiningContracts
  11. MiningEquipment
  12. TopPairs
  1. CoinList
  2. Price
  3. PriceMulti
  4. PriceMultiFull
  5. PriceHistorical
  6. CoinSnapshot
  7. CoinSnapshotFullById
  8. HistoMinute
  9. HistoHour
  10. HistoDay
  1. Coin List
  2. Price
  3. Historical Price
  4. Day
  5. Hour
  6. Average
  7. Exchanges
  1. CoinList
  2. CoinSnapshot
  3. MiningContracts
  4. MiningEquipment
  5. Exchanges
  6. Volumes
  7. Pairs
  8. Minute
  9. Hour
  10. Day
  1. Twitter
  2. Reddit
  3. Facebook
  4. 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

slavakurilyak commented 6 years ago

As per my suggestion, stefs304 updated cryCompare to include more API calls:

  1. CoinList
  2. Price
  3. PriceMulti
  4. PriceMultiFull
  5. PriceHistorical
  6. GenerateAvg
  7. DayAvg
  8. CoinSnapshot
  9. CoinSnapshotFullById
  10. HistoMinute
  11. HistoHour
  12. HistoDay
  13. TopPairs (part of price module)
  14. SocialStats (part of social module)
  15. MiningEquipment (part of social module)

It's time to implement Cryptocompare's SocialStats!

slavakurilyak commented 6 years ago

@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: