Closed gilrosenthal closed 7 years ago
quick question, whats the advantage over pulling data directly from Poloniex API versus relying on Cryptowatch? Thanks!
According to https://cryptowat.ch/docs/api#prices, they can be outdated by a few seconds, and if this is going to be turned into a trading bot, real-time quotes are insanely important, can't hurt to have them now!
I was thinking it must be something like that...good choice!
Thanks :) Code looks perfect! Will merge now.
Just looked at the results from poloniex and realised that cryptowatch didn't list all of the coins available on poloniex so it was actually very good to use its own API. I will try do this for all the coins listed on cryptowatch and stop using the cryptowatch API.
@gilrosenthal @Primly the cryptowatch API is only a few sec out of date on the aggregate endpoint https://api.cryptowat.ch/markets/prices. Any market specific endpoint like https://api.cryptowat.ch/markets/poloniex/ethbtc/price is updated in real time.
Using the Poloniex API, I added another market to the data sources with their data. I also removed them from the cryptowatch API source, so that we don't get conflicting data. Cheers!