{"repo":"marianogappa/crypto-candles","free":true,"listed":false,"github":"https://github.com/marianogappa/crypto-candles","clone":"git clone https://github.com/marianogappa/crypto-candles.git","description":"Universal crypto candlestick iterator library & CLI","language":"Go","stars":23,"topics":["binance","bitfinex","bitstamp","candlesticks","cli","coinbase","crypto","cryptocurrency","ftx","kucoin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"crypto-candles Universal crypto candlestick iterator library &amp; CLI Original blogpost: 10 Gotchas for building a universal crypto candlestick iterator in Go - [x] Binance - [x] Binance USDM Futures - [x] Coinbase - [x] Kucoin - [x] Bitstamp - [x] Bitfinex - [x] Bybit - [x] Upbit - [x] OKX - [x] HTX (Huobi) - [x] Bitget - [x] MEXC - [x] Gate Library usage Outputs CLI usage Get binary from latest release or go install github.com/marianogappa/crypto-candles@latest Features Built-in in-memory LRU Caching Historical candlesticks shouldn't change, so this kind of data benefits from aggressive caching. This library has a configurable concurrency-safe in-memory cache (enabled by default) so that repeated requests for the same data will be served by the cache rather than going to the exchanges, thus mitigating rate-limiting issues. Caches are configurable per-candlestick interval. Built-in retries with back-off Requests to exchanges can fail for various reasons, some of which are retryable. The library will retry retryable requests with a back-off by default, and will deal with exchange-specific rate-limiting actions. Built-in patching of data holes Exchanges' historical candlestick data has holes (i.e. there are instants for which there's no candlestick information for certain market pairs on certain candlestick intervals). This is problematic for consumers, because it's tricky to differentiate the case where the exchange has no data from the case where the consumer hasn't consume","default_branch":null,"files":null,"tree":[],"storefront":"/r/marianogappa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marianogappa/crypto-candles/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}