cryptoqween.github.io

by cryptoqween

CryptoCompare API tutorials

194 Stars 111 Forks Last release: Not found 45 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.
  2. ccc-streamer-utilities.js file should be included in your project to get utility functions and fields.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.