<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by blockfacts.io on Medium]]></title>
        <description><![CDATA[Stories by blockfacts.io on Medium]]></description>
        <link>https://medium.com/@contact_34503?source=rss-d6af5ae41d38------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Ct0qQZnQ_zYM6Uk82WUzNg.png</url>
            <title>Stories by blockfacts.io on Medium</title>
            <link>https://medium.com/@contact_34503?source=rss-d6af5ae41d38------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:01:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@contact_34503/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[BlockFacts Crypto API — Product Documentation]]></title>
            <link>https://medium.com/@contact_34503/blockfacts-crypto-api-product-documentation-f1d34ca2977f?source=rss-d6af5ae41d38------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d34ca2977f</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[blockfacts.io]]></dc:creator>
            <pubDate>Mon, 23 Sep 2019 13:40:36 GMT</pubDate>
            <atom:updated>2019-10-25T08:22:32.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>BlockFacts Crypto API — Product Documentation</h3><p>We have just launched our beta phase and because we keep adding new features, we have decided to put our product documentation for <a href="https://blockfacts.io/">BlockFacts</a> on Medium, in order to update it regularly. Please feel free to subscribe and to ask for clarification or feature requests in the comment section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*8H-9NPQk_SFtYAgxNryF2g.png" /><figcaption>BlockFacts Unified Crypto API</figcaption></figure><p><strong>Content</strong></p><p>1 — Crypto Exchanges supported<br>2 — Crypto Assets &amp; Pairs supported<br>3— Crypto Data REST API Functionalities<br>4 — Crypto Data Web-socket API Functionalities<br>5 — Crypto Price Feed Normalisation Method<br>6 — Software Development Kits (SDKs)</p><ol><li><strong>Crypto data API — Supported Exchanges</strong></li></ol><p>We currently support the following exchanges (in alphabetical order) with our unified crypto API: <a href="https://binance.com/">Binance</a>, <a href="https://bitfinex.com/">Bitfinex</a>, <a href="https://bitmex.com/">BitMEX</a>, <a href="https://bitstamp.com/">Bitstamp</a>, <a href="https://pro.coinbase.com/">Coinbase Pro</a>, <a href="https://gemini.com/">Gemini</a>, <a href="https://kraken.com/">Kraken</a>, <a href="https://international.bittrex.com/">Bittrex</a> and <a href="https://poloniex.com/">Poloniex</a>. This offering will be expanded to around 10–15 exchanges in the very near time and we will update this post accordingly. Since we are a compliance-first provider, we will for the time being, unlike some other unified API providers, not support certain exchanges for our price normalisation which are not compliant with basic KYC principles, as the<a href="https://www.icaew.com/technical/legal-and-regulatory/anti-money-laundering/fifth-anti-money-laundering-directive"> 5th AMLD</a> (Anti-Money-Laundering directive) will come into force in 2020 and will require all crypto exchanges to follow strict KYC principles. Once such exchanges adhere to basic KYC principles, they will be eligible to being added to our <a href="https://docs.blockfacts.io/#exchanges-in-normalization">normalised price feeds.</a></p><p>Supported Exchanges and related pairs are available to view in our API via the <a href="https://docs.blockfacts.io/#exchange-endpoints">exchange endpoint.</a></p><p><strong>2. Crypto data API — Supported Crypto Pairs</strong></p><p>We currently support most of the Top-100 coins in various pairs, both fiat pair and crypto pairs. One key feature of our API is that crypto-to-fiat and crypto-to-crypto pairs are NOT being commingled for our normalised price feed.</p><p>Why is that? We believe commingling crypto-to-crypto pairs with crypto-to-fiat pairs for a normalised fiat price is problematic.</p><p>First of all, trading activity on exchanges without KYC practises in crypto-to-crypto pairs can skew the normalised price due to artificial activity. We have noticed that trading volume especially in such pairs is largely artificial and fabricated for various reasons, as noticed in the <a href="https://www.sec.gov/comments/sr-nysearca-2019-01/srnysearca201901-5164833-183434.pdf">Bitwise Report to the SEC</a>.</p><p><strong>An excerpt of the main supported coins (and tickers):</strong></p><p>These are the main top-100 coins we support. The full current status is always available via our API’s <a href="https://docs.blockfacts.io/#asset-endpoints">asset endpoint</a>.</p><p>Bitcoin (BTC), Ethereum (ETH), Ripple (XRP), Bitcoin Cash (BCH), Litecoin (LTC), Tether (USDT), EOS (EOS), Monero (XMR), Cardano (ADA), Stellar (XLM), Tron (TRX), Dash (DASH), Ethereum Classic (ETC), Tezos (XTZ), IOTA (IOTA), NEO (NEO), Chainlink (LINK), Cosmos (ATOM), Maker (MKR), USD Coin (USDC), Ontology (ONT), Crypto.com (CRO), NEM (NEM), ZCash (ZEC), Dogecoin (DOGE), Paxos (PAX), Decred (DCR), Basic Attention Token (BAT), Vechain (VET), TrueUSD (TUSD), Qtum (QTUM), Omise Go (OMG), Nano (NANO), Augur (REP), Lisk (LCK), Waves (WAVES), Algorand (ALGO), 0x (ZRX), DAI (DAI), Golem (GNT), Ardor (ARDR), District0x (DNT), Civic (CVC), Loom Network (LOOM), Decentraland (MANA), Melon (MLN), Gnosis (GNO)</p><p><strong>3. Crypto data REST API — Supported Functionalities</strong></p><p><strong>3.1. Current data (last price, traded volume, timestamps)</strong></p><p><strong>3.1.1 Last price</strong></p><p>The last price of any supported pair can be fetched though the API either directly through a chosen exchange or through the <a href="https://docs.blockfacts.io/#current-data">BlockFacts normalised price endpoint.</a> We provide a matrix response, which means many pairs and denominators may be entered in a single API request, such as BTC, ETH and USD, EUR as denominators.</p><p>Being compliance-first, we offer full look-through as to which trades and prices have been included in the price normalisation and which ones were excluded (because they represent outliers for the median algorithm). This information is queryable for any historic data in the future, in case the data feed would need to be verified for certain timeframes.</p><p><strong>3.1.2. Traded volume</strong></p><p>Volume data is taken from the exchanges and attached to the trade. Normalised prices don’t carry volume information, as volume is not a variable in the price normalisation. We consider VWAP prices as being ineffective for valuation and pricing purposes crypto markets due to the issue of “fake volume”.</p><p><strong>3.1.3. Timestamps</strong></p><p>To each data point we are attaching three timestamps: the timestamp sent by the exchange (according to the exchange’s time zone, normally in UTC) in EPOCH format, our server timestamp in EPOCH format in UTC timezone and normal format, human-readable timestamp in UTC.</p><p>This way, latency between the exchange time and data arriving to our servers can be measured.</p><p><strong>3.1.4. Specific Historic Data</strong></p><p>Through our <a href="https://docs.blockfacts.io/#specific-historical-data">specific trade data endpoint</a>, you can look up historic data by providing a date and time range. In case you would like to audit or receive historic prices, this feature makes it easy to pick out a very specific time interval any time in the past.</p><p><strong>3.1.5. Historic Trade Data</strong></p><p><a href="https://docs.blockfacts.io/#historical-data">Historic data</a> can be queried in bulk by picking a date and time and a lookback-interval.</p><p><strong>3.1.6. End-of-day Data and Derived Data</strong></p><p>Our <a href="https://docs.blockfacts.io/#end-of-day-data">End-of-Day Endpoint</a> contains information such as OHLCV of the chosen pair on a given date. We cut off our 24-hour interval at exactly midnight. So all daily data relates to a midnight-UTC 24-hour interval. In this way, any OHLCV information provided can be exactly compared to a previous day.</p><p>We noticed problems with comparing information on a 24-hour rolling basis as like a lot of services do offer, since the information is different depending on the time of day it is being observed and queried (f.ex. volume information).</p><p>For the BlockFacts End-of-Day data, all the data from whitelisted exchanges is aggregated.</p><p><strong>3.2. Order books</strong></p><p>Order book data is currently in development. We will offer live order book snaps and aggregated order books in v2 of our API — updates will be rolled out for free for clients.</p><p><strong>4. Crypto data Web-socket API — Supported Functionalities</strong></p><p><strong>4.1. Multiple Exchange Trade Feeds and Pairs</strong></p><p>We support receiving live exchange trade feeds from multiple exchanges and multiple pairs simultaneously by connecting to our web-socket API. The trades are pushed through our infrastructure with minimal latency, carry the (unaltered) exchange data and an added BlockFacts EPOCH time timestamp to measure latency.</p><p><strong>4.2. BlockFacts Normalised Price Feed</strong></p><p>You can subscribe to our normalised price feed for multiple pairs simultaneously and in addition to direct exchanges feeds. The BlockFacts Normalised Price is disseminated once per second at the start of the new second and gives full look-through as to which exchanges and trades have been included in the normalisation and which ones not (median, outlier removal).</p><p><strong>5. Crypto Price Feed Normalisation Method</strong></p><p>Various price feed providers utilise different normalisation methods. We believe since the crypto market is not regulated and there is evidence that trades have been fabricated to increase volumes on certain exchanges, that any volume-weighting normalisation method (such as VWAP) is problematic unless certainty is available that all those trades actually happend and happend with the right intent.</p><p>Time weighted (TWAP) normalisations are a good way of calculating prices for longer intervals, in order to filter out spikes, such as once per minute. Typically, these would be used as settlement prices but we don’t think they are as informative for making trading or pricing decisions.</p><p>We decided that our normalised price should be fast, informative and able to filter spikes at certain exchanges. That’s why we are utilising a simple median algorithm each second: If a trade happend in a given second on a whitelisted exchange, it is considered as contributing. The algorithm then calculates the median of the most middle three exchanges each second (or fewer, if fewer than three exchanges reported trades). This way, spurious prices are not included in the normalised calculation.</p><p>This method is a similar method to as how bond prices or prices of financial assets trading on multiple platforms such as multilateral trading facilities are being calculated.</p><p>In addition, we are employing a latency stopper: in case the latency of a contributing exchange is excessive (&gt;300ms) due to issues on the exchange side, prices are not being included in our normalisation. This feature protects against latency polluting the price normalisation with “outdated” data, such as it happend during DDoS attacks on exchanges or in case an exchange feed breaks for any reason.</p><p><strong>6. Software development kits (SDKs) for the BlockFacts crypto API</strong></p><p>We want to make it as convenient as possible for developers to test and integrate our data APIs. This is why we are already providing SDKs during our beta phase. We aim to support the main languages currently used in working with web-APIs and will continuously update our service. You can find all our SKDs on our <a href="https://github.com/blockfacts-io">Github</a> account.</p><p><strong>6.1. NodeJS SDK</strong></p><p>Documentation about our NodeJS SKD is available on <a href="https://github.com/blockfacts-io/blockfacts-nodejs-sdk">Github — BlockFacts NodeJS SDK</a>. The package can also be directly installed via <a href="https://www.npmjs.com/package/blockfacts-sdk">NPM</a>. You can also run it in your browser with the <a href="https://npm.runkit.com/blockfacts-io">NPM Runkit</a>.</p><p><strong>6.2. C# SDK</strong></p><p>Please see the documentation on our <a href="https://github.com/blockfacts-io/blockfacts-csharp-sdk">Github — Blockfacts C Sharp SDK</a></p><p><strong>6.3. Python SDK</strong></p><p>Please see the documentation on our <a href="https://github.com/blockfacts-io/blockfacts-python-sdk">Github — BlockFacts Python SDK</a></p><p><strong>6.4. Java SDK</strong></p><p>Please see the documentation on our <a href="https://github.com/blockfacts-io/blockfacts-java-sdk">Github — BlockFacts Java SDK</a></p><p><strong>6.5. Go SDK</strong></p><p>Coming soon.</p><p><strong>7. History</strong></p><p>23.09.2019 — initial version.<br>09.10.2019 — added SDKs and Bittrex and Poloniex exchange<br>25.10.2019 — added BitMEX exchanges and related derivatives products</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d34ca2977f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Join The Digital Asset Data Layer — BlockFacts Beta live!]]></title>
            <link>https://medium.com/@contact_34503/join-the-digital-asset-data-layer-blockfacts-beta-live-5a46dad4fd49?source=rss-d6af5ae41d38------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a46dad4fd49</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[digital-asset]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[blockfacts.io]]></dc:creator>
            <pubDate>Tue, 10 Sep 2019 07:31:01 GMT</pubDate>
            <atom:updated>2019-09-10T07:31:01.212Z</atom:updated>
            <content:encoded><![CDATA[<h3>Join The Digital Asset Data Layer — BlockFacts Beta live!</h3><p>We want to share with you that we’re building the unified data infrastructure layer for digital assets &amp; decentralised finance.</p><p><strong>And we think the best way to get a flavour of it is to provide you with a </strong><a href="https://blockfacts.io/sign-up"><strong>FREE API key.</strong></a></p><p>From today, you can receive access compliance-first digital asset data via our API. It just takes 1 minute to <a href="https://blockfacts.io/sign-up">sign up </a>and it will be free forever. In order to be included in the free beta-queue —<strong> it’s essential you </strong><a href="https://blockfacts.io/sign-up"><strong>sign up</strong></a><strong> by Sept 30, 2019.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aeZFMbMwdGGIfpXVAV36_w.png" /><figcaption>BlockFacts unified API gives access to market data (and normalised data) from the leading digital asset exchanges, and soon Blockchain data.</figcaption></figure><p><strong>You will receive:</strong></p><ul><li><strong>REST API with tick-data history </strong>for the largest crypto exchanges: verify tick level pricing, analyse trends, train algos etc.</li><li><strong>Websocket API</strong> <strong>streaming data </strong>or the largest crypto exchanges: run cross-exchange trading strategies with a single API price feed.</li><li><strong>Mean-Normalised BlockFacts data </strong>for key trading pairs: protect your trading and valuation against outliers and spurious prices.</li><li><strong>Compliance-First: Fully traceable, stored and auditable data</strong> with look-through onto tick-level. Normalisation methodology based on compliance metrics of exchanges. We include exchanges with robust KYC procedures as we see this as the best safeguard against manipulation on price and other metrics.</li><li><strong>Reliable redundant infrastructure: </strong>we have optimised our software and cloud architecture in a fully redundant manner to enable 24/7 availability without outages.</li><li><strong>and much more </strong>in our <a href="https://us11.mailchimp.com/mctx/click?url=http%3A%2F%2Fdocs.blockfacts.io&amp;xid=127418ce4f&amp;uid=43323097&amp;pool=&amp;subject=">API documentation</a></li></ul><p><strong>And in exchange:</strong></p><p>You will have full free access during beta and free-forever basic access thereafter for which we would like to ask you for a small favour:</p><ul><li>obtain your API key until Sept-30, where we reserve to close the free beta-queue;</li><li>recommend us to your friends and network;</li><li>in October-December, schedule a feedback call with us or leave feedback via our survey;</li><li>January: if you’re happy with the service, continue to support us through a partnership and one of the paid plans or keep your free-forever plan for basic usage.</li></ul><p>Over the course of the next months we will continuously add features to our API and service, such as additional exchanges, more data points, derived data and roll out our data dashboard. We will keep you informed of any updates.</p><p>In the meantime, please support us by following us on Twitter and sharing :)</p><p>Gus and the BlockFacts Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a46dad4fd49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Guide to Digital Asset Data and APIs]]></title>
            <link>https://medium.com/@contact_34503/the-ultimate-guide-to-digital-asset-data-and-apis-40cd2b23cd6c?source=rss-d6af5ae41d38------2</link>
            <guid isPermaLink="false">https://medium.com/p/40cd2b23cd6c</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[digital-asset]]></category>
            <dc:creator><![CDATA[blockfacts.io]]></dc:creator>
            <pubDate>Wed, 26 Jun 2019 08:51:47 GMT</pubDate>
            <atom:updated>2019-06-26T08:51:47.202Z</atom:updated>
            <content:encoded><![CDATA[<p>As the founder of <a href="https://blockfacts.io/">BlockFacts</a> where we provide Simplified &amp; Robust datafeeds for digital assets, I decided to write this blog post as a reminder of what I got myself into and as a guide for anybody who needs to work with or integrate cryptoasset data into their product.</p><p>I somehow would have wished something like this existed before I started the business, so that I would have known what I was getting myself into. A world of completely wild, unorganised data, where everybody is struggling to tell if the data they receive is actually correct, right or something you can work with. A hydra, where once you’ve conquered one head another one pops up.</p><p><strong>But now it has happened, we have launched our closed beta and decided to “Marie-Kondo” the world of cryptoasset data with </strong><a href="https://blockfacts.io/"><strong>BlockFacts</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*JjvvRStwQvGYKR70ndV65w.png" /><figcaption>API datafeeds for crypto currencies</figcaption></figure><p>This guide will hopefully help you decide which data you actually need for your business and how to obtain it in an easy and reliable way.</p><p>I am going to start with <strong>four fundamental questions that will help you define your use case:</strong></p><ol><li><strong>What kind of data do you actually need?</strong></li><li><strong>What level of professionalism and data integrity do you require?</strong></li><li><strong>What timeliness of datafeeds do you need?</strong></li><li><strong>What API protocol is the ideal way for you to work with?</strong></li></ol><p>Leading to ways of obtaining the data and working with it: either</p><p><strong>5. Accessing the data from exchanges, for free</strong></p><p>or</p><p><strong>6. Using a professional service, such as </strong><a href="https://blockfacts.io/"><strong>BlockFacts</strong></a><strong>, which offers a free-forever hobbyist version and a paid-for professional subscription</strong></p><h3>1 — What kind of data do you need?</h3><p>Sometimes this question is the hardest. It might be anything you can get your hands on. Prices, volumes, on-chain data such as wallet transfers, reference data about exchanges, sentiment data from Twitter, it’s endless. In the initial scope of <a href="https://blockfacts.io/">BlockFacts</a>, I was planning to make all this data (and more) available via a single API and a single platform, and at a professional level, with data checked, verified, audited, etc. I soon found out that the scope is simply out of reach. Too much.</p><p>This is probably the most fundamental question you need to understand if you are building your product or service. You would need to understand the range of data required for your product, the range of assets and the speed you need that data.</p><p>For <a href="https://blockfacts.io/">BlockFacts</a>, we eventually settled to launch our closed beta this September what we think is at the moment the biggest headache for institutional and professional users: independent, real-time price market data with full integrity. And a platform with basic information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*HV9ln7uOp_nIY2vf.png" /><figcaption><a href="https://blockfacts.io/">BlockFacts</a> Digital Asset Data platform, currently in Team-only Alpha version</figcaption></figure><p><strong>1a — market data (i.e. price, volume, data)</strong></p><p>In case you primarily need price and market data, there are many outlets that provide this data. Depending on your requirements with regards data integrity, there might be various sources of where you can obtain your data — for free with restrictions. If you are a hobbyist you can obtain free data from a lot of services including <a href="https://blockfacts.io/">blockfacts.io</a> or market cap sites.</p><p>In general, for simply tracking prices for personal use in an excel sheet or something alike, these services are suitable. You will receive a free API key upon signup and can normally make up to 10,000 calls. Real-time streaming data or cleaned prices (normalised data) will typically be up to additional subscription fees.</p><p><strong>1b — on-chain (Blockchain) data</strong></p><p>In case you require detailed information about transactions, wallets and movements on a particular blockchain, there are services that have built extensive information about this for the largest blockchains or are tracking specific key metrics of a certain blockchain such as hashrates, coin supply, etc. and more ind-depth data such as full-origin trail of coins. Tokenanalyst, Messari, Coinmetrics, Chainalysis just to name a few.</p><p>In general, select data will be available for free but most of the data can only be subscribed to in individual agreements with the company.</p><p><strong>1c — historical data</strong></p><p>Most historical data (end of day) can be obtained through individual exchange APIs so it is easy to build a basic history of end-of-day data. However, if you require detailed intraday or tick-data, for example for back testing or research projects, there are very few services which have this data available for times reaching back to very early stages of the cryptocurrency market. One of the few services which have stored historical tick data such as before 2013 is Kaiko.</p><p><strong>1d — market information and intelligence</strong></p><p>If you are looking for a general market overview of cryptocurrencies, their basic fundamental data, performance data, and reference data (exchanges), you will be able to find most of the information for free on market cap sites.</p><p>The drawbacks of these platforms are that, in general, the data displayed is not thoroughly explained and that these sites (because of lots of advertising) are not exactly ideal if you want to showcase cryptoassets in a professional context.</p><p>A notable transparent and ad-free exception is Messari which provides a market information site for free on the top 100 assets — I have myself used onchainFX from Messari before building <a href="https://blockfacts.io/">BlockFacts</a> as it was the first service that was truly ad free and showcased accurate data.</p><p>In case you would like to have private access to such market information with a portfolio and watchlist function and transparent changelogs, we provide access to this information through our research platform (and we are planning to make all this data available via our API soon).</p><h3><strong>2 — What level of professionalism do you require?</strong></h3><p>Once you clearly understand what kind of data you require you will need to understand to what level of professionalism you would require this data to live up to. For hobby projects, in general, it is up to anyone personally what level of detail they require.</p><p>However, in a professional context, where any products (such as purchases or sales of cryptocurrency) are being priced based on a datafeed, the product owner should asks himself questions to what risks a datafeed can pose to their clients (and to themselves in terms of operational and potentially regulatory risk):</p><p>Just to name a few points which you should think about before commissioning a datafeed for a professional service:</p><p><strong>Methodology: </strong>In case the datafeed is providing derived data such as a single real-time price for cryptocurrencies:<strong> </strong>is a data methodology defined and available for this derived data?</p><p>Any kind of derived data, meaning data which is created by combining multiple data sources, should be built with a clear and transparent methodology. For example, if prices from different exchanges are being converted into a normalised or standardised price, the provider should have a clearly outlined methodology why they are doing this and how.</p><p>It’s fair to debate how any methodology would be of advantage or disadvantage in different market conditions, but the only real and valid critique is derived data not having any methodology (which until very recently, seemed to have been the norm for most market cap sites).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*YoYRye4ztiD5N8U8RnvLYg.png" /><figcaption>At <a href="https://blockfacts.io/">BlockFacts</a> we are publishing easy-to-ready reports on a number of topics and will make a report on our data normalisation methodology available when launching our beta.</figcaption></figure><p><strong>Audit-trail and history:</strong></p><p>Strange spikes in prices are common in the cryptoasset ecosystem. So you want to be sure these spikes actually happened and are not a mere data error. Hence, any kind of data should be made available ex-post for audit purposes. If you are working with price feeds, these should be available to you upon request, historically.</p><p><strong>Changelog</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/68/0*mavShQOIcZZbWGPu.png" /><figcaption>Changelogs for constituents</figcaption></figure><p>Does your data-provider publish a historical changelog to changes made to their datafeed and methodology? I have witnessed instances where price data in Korean Won as integrated and removed from a US-Dollar based datafeed — without any announcements. So ideally, if you don’t want to wake up to something awkward, any vendor should announce changes in advance and keep a historic changelog for audit purposes.</p><p><strong>Redundancy</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/90/0*E0pkXKc0jaoDEH74.png" /><figcaption>Redundant infrastructure</figcaption></figure><p>Regardless of the other points mentioned, one key point to consider is the redundancy of your datafeed connection. Having built a digital bank before <a href="https://blockfacts.io/">BlockFacts</a>, I know how important it is to make sure clients have access to the service 24/7 without interruption. Any professional provider should thus be able to give you assurances on redundancy of any live-data stream, meaning that all components of the software and hardware architecture have been designed without a single point of failure. Status monitoring and alerts should supplement this offering.</p><h3><strong>3 — What timeliness of datafeeds do you need?</strong></h3><p><strong>3a — Periodic updates for fundamental data</strong></p><p>If you are monitoring or valuing a portfolio of cryptoassets or are conducting research about a certain cryptoassets, it is most likely that you can live with the data being made available and updated periodically such as once every hour and at the close of business / end-of-day.</p><p>In this case an access to a research platform and REST API access to price and fundamental data would prove sufficient. Many researchers I know are thus working with free resources available as discussed under 1) unless they require very specific on-chain information which is offered on subscription.</p><p><strong>3b — Real time data</strong></p><p>Most services dealing with selling and trading cryptoassets do need access to real-time information in order to correctly price their offerings. In such cases, redundancy and accuracy of the datafeed is a very important consideration, also provided such services are already or might soon fall into a regulated perimeter.</p><p>Real-time also does not equal real-time: why most service will be sufficiently happy to receive one update per second, anybody running a trading operation will require intra-second updates of orderbook or trade information.</p><p>Since any data vendor is another man-in-the-middle, and thus increases latency of exchange data, traders are best to connect directly to the exchanges datafeeds with low latency such as Bitfinex and BitMEX. However, traders can also benefit by integrating an independent service such as <a href="https://blockfacts.io/">BlockFacts</a> as a price validation feed in order to protect their algorithms from spikes occurring on specific exchanges.</p><p><strong>3c — Datafeed latency</strong></p><p>For any real-time service, such as trading, pricing and risk management, the latency of the datafeed is one of the key considerations of procurement. In case data is taken directly from exchanges, this minimises the latency because there are no additional services in the middle.</p><p>In such set-up, it is important to provision one’s servers as close as possible to the relevant exchange in order to minimise latency of the data transmission to the server. In traditional markets, high frequency trading outfit have gone as far as to co-locate their servers directly at exchanges to achieve latency of less than 5ms. In the cryptocurrency world, such arrangements are rare, but they have been started to being offered by Bitfinex for example.</p><p>However, even though transmission latency can be minimised by choosing a close server location, exchange feed latency can not be provisioned for. In volatile markets, crypto-exchanges can exhibit significant latency in sending out data via their API — any company or individual relying on a connection to a single exchange both to access data and to trade, can suffer by delayed arrival of the data. Thus it is wise being connected to multiple exchanges and/or to services which provide normalised data-feeds and would exclude data from any normalisation which exhibits abnormal latency.</p><p>At <a href="https://blockfacts.io/">BlockFacts</a>, we have positioned our data-collection servers as close as possible to the relevant exchange API servers, in order to minimise transmission latency and exclude exchange data from our normalisation procedure in case it exhibits abnormal latency. In order to be transparent to anybody, we both provide exchange data timestamps as well as timestamps of our own.</p><h3><strong>4 — What API protocol access do you need?</strong></h3><p>The API protocol access you need largely depends on the timeliness you need the data to arrive. In general, anything which is not needed as a data-stream or push or in second-intervals can be queried by using a REST API connection. A REST API connection is also the once connection which is commonly offered by every service.</p><p><strong>Hobbyist, Fundamental Researcher, Portfolio Tracking — REST API</strong></p><p>For most hobbyist, research and portfolio valuation purposes obtaining data via a REST API connection is sufficient. A REST API allows you to place a call to the API endpoint which will return the data queried, normally in JSON format. This can easily be integrated into an excel spreadsheet or into an app or website.</p><p>If you for example, work on an app or website which should display digital asset prices once per day, a REST API connection would suffice.</p><p><strong>Business — Websocket Connection</strong></p><p>If you are a business, you most likely don’t want to compromise on data quality or rely on a single exchange which can be your single point of failure. If you are, for example, offering to buy or sell cryptoassets to your clients with a fixed markup, you want to be sure that the quality of the datafeed you have connected is the best available on the market.</p><p>This would mean not only having real-time data with minimal latency, but also data which is clean of any kind of shenanigans which do happen at single cryptoasset exchanges such as sudden price drops and spikes. Your best bet is thus to go with a professional service. A few companies — including <a href="https://blockfacts.io/">BlockFacts</a> — have started to offer these kind of services, where they allow you to have access to multiple cryptoasset exchange datafeeds through a single API, so that you don’t need to connect to Kraken, Bitstamp, Coinbase and the like individually.</p><p>Moreover, <a href="https://blockfacts.io/">BlockFacts</a> and a select few others also offer a normalised (=cleaned, average or median) price feed which protects against any outliers single exchanges might display due a sudden spike.</p><p>As a business, you would be best off to connect to an independent provider who is managing all the behind the scenes IT and data integrity for you — so you don’t need to worry about outages, updates or anything else.</p><p><strong>Trader — Websocket or FIX API</strong></p><p>If you are a trader and have or would like to program a trading bot which would implement market making or other trading strategies directly on an exchange for you, you would naturally require datafeeds with minimal latency. You would thus like to access the data through a websocket or FIX protocol connection and you can make compromises on data quality, provided it is faster.</p><p>We have done extensive testing on exchange latency and found out that it can vary according to connection. Most traders thus seem to rely on data coming straight from Bitfinex or BitMEX, as these two APIs have not only proven to be robust but also fast.</p><p>The main disadvantage of the FIX protocol is the additional cost needed to implement it.</p><h3><strong>5 — Accessing the data from exchanges, for free</strong></h3><p>Now you clearly understand what kind of data you need for your use case, at what speed you need it and that you can live with a lower level of professionalism, you decided to build a REST API connection to one of the free services from professional vendors such as <a href="https://blockfacts.io/">BlockFacts</a> or from a market cap site.</p><p><strong>5a — Connecting to a REST API, for free</strong></p><p><strong>I</strong>n principal, connecting to a REST API is quite straightforward. You sign up with the vendor or market cap site and receive your free personal API key (or use a public API endpoint).</p><p>To make sure everything works as intended, you can download Postmaster and experiment with firing a few queries to the endpoint. Once you feel comfortable everything works as intended, you can integrate the API into your software.</p><p>Most vendors even help you by providing prebuilt Software-Development-Kits (SDKs) for the most common programming languages, so you integrate their data feed into your program through copying a code snippet. The main thing is bearing in mind the limitations which usually come with free accounts and to set your querying intervals in sync with the limits, to make sure you can obtain the data continuously as needed.</p><p><strong>5b — Connecting to a Websocket API, for free</strong></p><p>Consolidated data vendors would most likely not allow access to websocket APIs for free because the associated bandwidth is costly, especially if multiple assets are queried at the same time. However, exchanges offer access to their websocket APIs for free so anybody can actually integrate a streaming exchange data feed for free in order to build their products and also use the API connection to place automated orders and trades.</p><p>To connect to the exchange’s free websocket API, you generally need to be registered at the exchange and a fully verified user. Exchanges offer you a personal API key with which you can subscribe to the websocket channel. Integration varies from exchange to exchange and some might offer detailed and straightforward documentation for integration while with others you might need to operate on a trial-and-error basis.</p><p><strong>5c — Headaches with multiple exchanges and Websocket APIs</strong></p><p>In case you decided to build your own connection to one or multiple exchanges and their websocket APIs, such as obtaining a live-price feed for a business purpose, there a few points which can cause some headaches.</p><p>Provided you just need two or three assets and are happy with a single exchange feed, this is likely manageable. If you like to fetch more than ten assets, it can quickly become a full-time development and monitoring job. Why?</p><p><strong>Each exchange has their own API structure</strong></p><p>What our developers found to be the most painful in dealing with the cryptoasset market is that there is no leading exchange or a universal point of entry (unless you are connecting to a service such as <a href="https://blockfacts.io/">BlockFacts</a>. That’s one of the reasons we’ve built it!). This problem is not unique to the cryptoasset asset class, but since the market is not as developed, services which you can build on for the data side are just in the process of being built.</p><p>So you can’t really build a program which would be re-usable to connect to multiple exchanges without any adaptation. Each exchange requires separate, custom code development of some sort.</p><p><strong>Tickers are not universal</strong></p><p>The idea that tickers are something universal comes from the stock market where leading exchanges exist which set tickers for stocks traded there. In the crypotoasset world, everybody makes their own choice — issuers of coins try to push exchanges to adopt a certain ticker for their asset, but it doesn’t really work. So you can end up with building API connections to say three exchanges who all have a different ticker, even for assets like Bitcoin (it could be BTC, XBT or even XXBT).</p><p><strong>Chainspilts add to the ticker problem</strong></p><p>In case your followed the whole saga of Bitcoin Cash splitting into Bitcoin ABC and Bitcoin SV you know where I am coming from. Up until today, the tickers, are not universal for Bitcoin Cash ranging from BCH to BCHABC and immediately after the chainsplit there was a massive chaos with regards to who is adopting which ticker, if and how Bitcoin SV would be available for trading etc.</p><p><strong>API structures are anything but universal</strong></p><p>If you are looking to fetch data from multiple exchanges to have some backup in case one exchange feed goes down, you will find out that there is no logical agreement in the properties of the different exchange APIs. For example, the property of the last traded print or “price” can be called “price” at one exchange API and “last” at another. If you want to distinguish the maker from taker side, you find yourself in a myriad of properties for this notion. And so forth.</p><p><strong>Latency is non-stationary</strong></p><p>We have not seen latency to be a show stopping problem to anything, simply because the cryptoasset market is not in real high-frequency territory. However, single exchanges’ latency can change rapidly because of market events. For example, a push of many orders at once such as during a quick price surge or drop can cause the latency of the datafeeds of single exchanges to increase — you will receive that data much later than needed. This is a problem if you are only connected to a single exchange and all of a sudden, data arrives late.</p><p><strong>Other random events</strong></p><p>While testing a particular exchange, tickers suddenly changed and we received no response with the ticker that worked seconds ago. It turned out days later that they retired their websocket API and replaced it with v2. Somehow during this window, they seemed to have made some tests with the v1 sandbox.</p><h3><strong>6 — Using a professional service like BlockFacts</strong></h3><p>In case you have decided that for your use case the freely available data is either not sufficiently fast available, not robust enough or would simply amount to too much of a headache to obtain continuously and reliable, your best bet is to integrate a professional service from the start.</p><p>In this case, you would probably like to evaluate the service you are going to use in detail, because once you have set it up and connected, you likely don’t want to go back and change. So make sure you’ve got all stakeholders on board.</p><p>At <a href="https://blockfacts.io/">BlockFacts</a> we take all of the following points more than seriously</p><ul><li>A clear and robust data methodology for our normalised price-data feed which places a strong emphasis on the trustworthiness of an exchange</li><li>A fully redundant, scalable and load-balanced software and hardware architecture eliminating single points of failure at every level</li><li>Audit trail and availability of historic data upon request</li><li>Changelog and pre-announcement of any changes in the methodology on our client-portal</li><li>Simplicity of integration with prebuilt SDKs and a simple and efficient API architecture and design</li><li>Availability for our clients through video calls and demos</li></ul><p>You can <a href="https://blockfacts.io/sign-up">sign up</a> for our closed-beta phase which is starting in September as of now to get completely free access to our REST and Websocket real-time streaming price API.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40cd2b23cd6c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We’re live for pre-beta signup]]></title>
            <link>https://medium.com/@contact_34503/were-live-for-pre-beta-signup-473254d5e156?source=rss-d6af5ae41d38------2</link>
            <guid isPermaLink="false">https://medium.com/p/473254d5e156</guid>
            <category><![CDATA[digital-asset]]></category>
            <category><![CDATA[blockfacts]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[blockfacts.io]]></dc:creator>
            <pubDate>Fri, 21 Jun 2019 09:07:03 GMT</pubDate>
            <atom:updated>2019-06-21T09:07:03.696Z</atom:updated>
            <content:encoded><![CDATA[<p>After nine months of product building, we are nearly there and are happy to announce we have opened up our website <a href="https://blockfacts.io/">blockfacts.io</a> to sign-ups for our closed Beta Phase which is scheduled to start this September.<br> <br> <strong>At BlockFacts, we’re building the next generation financial data provider</strong> <strong>for clean digital asset data</strong> — with the most simplified way of receiving and consuming robust and methodological digital asset data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*aiBJObV2lFvkF2Sw_5mOJg.png" /><figcaption>Simplifying data for digital assets</figcaption></figure><p>For our pre-beta launch in September, the following awaits you:</p><ul><li>Websocket streaming prices of the largest digital assets with minimal latency, ideal for trading, risk management, pricing and valuation</li><li>Optimised for complete redundancy and 24/7 availability with pre-built SDKs for integration in 2 minutes</li><li>REST API with tick level access to historical data</li></ul><p>Currently we are completing our internal testing and we will rely on your advice in how to optimise the user experience of the API and report any bugs or issues you encounter!<br> <br>In the meantime, see what else we have in the pipeline enjoy reading some of our research papers and keep in touch!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=473254d5e156" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>