• This repository has been archived on 02/Jul/2020
  • Stars
    star
    194
  • Rank 200,219 (Top 4 %)
  • Language
    HTML
  • Created almost 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CryptoCompare API tutorials

This version of the streaming API is not supported anymore and is being sunset in the coming days

Please move to the V2 streaming API as soon as possible.

Read the documentation here

Deprecated

These examples show how you can use the CryptoCompare API.

Read official UPDATED documentation here.

Content

Streamer API

  1. Trade streamer example
  2. Current streamer example

Notes

  1. The Total Volume in USD is calculated using:
[(total volume across all coins in BTC - total volume for BTC/USD pair) * current BTC/USD Price] + direct volumeto BTC-USD

This is to give a closer approximation of the total volume in USD as the price will change over the period giving a different value. It is important to note that this is the best approximation for the total volume in USD but is NOT an exact solution.

  1. ccc-streamer-utilities.js file should be included in your project to get utility functions and fields.