{"id":12367,"date":"2023-10-04T22:13:18","date_gmt":"2023-10-04T21:13:18","guid":{"rendered":"https:\/\/www.simtrade.fr\/blog_simtrade\/?p=12367"},"modified":"2024-03-25T18:00:16","modified_gmt":"2024-03-25T18:00:16","slug":"how-to-get-crypto-data","status":"publish","type":"post","link":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/","title":{"rendered":"How to get crypto data"},"content":{"rendered":"<h1>How to get crypto data<\/h1>\n<p><a href=\"https:\/\/www.linkedin.com\/in\/snehasish-chinara\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"padding: 5px\" title=\"\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\" alt=\" Snehasish CHINARA\" width=\"133\" align=\"right\" \/><\/a><\/p>\n<p>In this article, <a href=\"https:\/\/www.linkedin.com\/in\/snehasish-chinara\/\" target=\"_blank\" rel=\"noopener\"> Snehasish CHINARA<\/a> (ESSEC Business School, <i>Grande Ecole<\/i> Program &#8211; Master in Management, 2022-2024) explains how to get crypto data.<\/p>\n<h2>Types of data<\/h2>\n<h3>Number of coins<\/h3>\n<p>The information on the number of coins in circulation for a given currency is important to compute its market capitalization. Market capitalization is calculated by multiplying the current price of the cryptocurrency by its circulating number of coins (supply). This metric gives a rough estimate of the cryptocurrency&#8217;s total value within the market and its relative size compared to other cryptocurrencies. A lower circulating supply often implies a greater level of scarcity and rarity.<\/p>\n<p>For cryptocurrencies (unlike fiat money), the number of coins in circulation is given by a mathematical formula. The number of coins may be limited (like the Bitcoin) or unlimited (like Ethereum and Dogecoin) over time.<\/p>\n<p>Cryptocurrencies with limited supplies, such as Bitcoin&#8217;s maximum supply of 21 million coins, can be perceived as more valuable due to their finite nature. Scarcity can contribute to investor interest and potential price appreciation over time. A lower circulating supply might indicate the potential for future adoption and value appreciation, as the limited supply can create scarcity-driven demand, especially if the cryptocurrency gains more utility and usage.<\/p>\n<p>Bitcoin\u2019s blockchain also relies on a key equation to steadily allow new BTC to be introduced. The equation below gives the total supply of bitcoins:<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_Equation_Total_supply_Bitcoins.png\" alt=\"Total supply of bitcoins\" width=\"500\" \/><\/p>\n<p>Figure 1 below represents the evolution of the supply of Bitcoins.<\/p>\n<p style=\"text-align: center\">Figure 1. Evolution of the supply of Bitcoins<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13612\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_-Number_of_Bitcoin_in_Circulation-300x160.png\" alt=\"\" width=\"553\" height=\"295\" srcset=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_-Number_of_Bitcoin_in_Circulation-300x160.png 300w, https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_-Number_of_Bitcoin_in_Circulation-1024x547.png 1024w, https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_-Number_of_Bitcoin_in_Circulation-768x410.png 768w, https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_-Number_of_Bitcoin_in_Circulation.png 1384w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><br \/>\nSource: computation by the author.<\/p>\n<h3>Market price of a coin<\/h3>\n<p>The market price of a cryptocurrency in the market holds crucial insights into how well the cryptocurrency is faring. Although not the sole factor, the market price significantly contributes to evaluating the cryptocurrency&#8217;s performance and its prospects. The market price of a cryptocurrency is a dynamic and intricate element that reflects a multitude of factors, both intrinsic and extrinsic. The gradual rise in market value over time indicates a willingness among investors and traders to offer higher prices for the cryptocurrency. This signifies a rising interest and strong belief in the project&#8217;s potential for the future. The market price reflects the collective sentiment of investors and traders. Comparing the market price of a cryptocurrency to other similar cryptocurrencies or benchmark assets like Bitcoin can provide insights into its relative strength and performance within the market. A rising market price can indicate increasing adoption of the cryptocurrency for various use cases. Successful projects tend to attract more users and real-world applications, which can drive up the price.<\/p>\n<p>The value of cryptocurrencies in the market is influenced by a variety of elements, with each factor contributing uniquely to their pricing. One of the most significant influences is market sentiment and investor psychology. These factors can cause prices to shift based on positive news, regulatory changes, or reactive selling due to fear. Furthermore, the real-world implementation and usage of a cryptocurrency are crucial for its prosperity. Concrete use cases such as Decentralized Finance (DeFi), Non-Fungible Tokens (NFTs), and international transactions play a vital role in creating demand and propelling price appreciation. Meanwhile, adherence to basic economic principles is evident in the supply-demand dynamics, where scarcity due to limited issuance, halving events, and token burns interact with the balance between supply and demand.<\/p>\n<p>With the number of coins in circulation, the information on the price of coins for a given currency is also important to compute its market capitalization.<\/p>\n<p>Figure 2 below represents the evolution of the price of Bitcoin in US dollar over the period October 2014 \u2013 August 2023. The price corresponds to the \u201cclosing\u201d price (observed at 10:00 PM CET at the end of the month).<\/p>\n<p style=\"text-align: center\">Figure 2. Evolution of the Bitcoin price<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_Evolution_Bitcoin_price.png\" alt=\"Evolution of the Bitcoin price\" width=\"500\" \/><br \/>\nSource: computation by the author (data source: Yahoo! Finance).<\/p>\n<h3>Trading volume<\/h3>\n<p>Trading volume is crucial when assessing the health, reliability, and potential price movements of a cryptocurrency. Trading volume refers to the total amount of a cryptocurrency that is bought and sold within a specific time frame, typically measured in units of the cryptocurrency (e.g., BTC) or in terms of its equivalent value in another currency (e.g., USD).<\/p>\n<p>Trading volume directly mirrors market liquidity, with higher volumes indicative of more liquid markets. This liquidity safeguards against drastic price fluctuations when trading, contrasting with low-volume scenarios that can breed volatility, where even a single substantial trade may disproportionately shift prices. Price alterations are most reliable and meaningful when accompanied by substantial trading volume. Price movements upheld by heightened volume often hold greater validity, potentially pointing to more pronounced market sentiment. When price surges parallel rising trading volume, it suggests a sustainable upward trajectory. Conversely, low trading volume amid rising prices may hint at a forthcoming correction or reversal. Scrutinizing the correlation between price oscillations and trading volume can uncover potential divergences. For instance, ascending prices coupled with dwindling trading volume may suggest a weakening trend.<\/p>\n<p>Figure 3 below represents the evolution of the monthly trading volume of Bitcoin over the period October 2014 \u2013 July 2023.<\/p>\n<p style=\"text-align: center\">Figure 3. Evolution of the trading volume of Bitcoin<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/img_Evolution_Bitcoin_trading_volume.png\" alt=\"Evolution of the trading volume of Bitcoin\" width=\"500\" \/><br \/>\nSource: computation by the author (data source: Yahoo! Finance).<\/p>\n<h2>Bitcoin data<\/h2>\n<p>You can download the Excel file with Bitcoin data used in this post as an illsutration.<\/p>\n<p><a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/10\/doc_SimTrade_Bitcoin_data.xlsx\"><img decoding=\"async\" class=\"aligncenter\" style=\"padding: 3px\" title=\"Download the Excel file with Bitcoin data\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2021\/05\/img_SimTrade_Btn_Download_Excel_file_US.png\" alt=\"Download the Excel file with Bitcoin data\" width=\"200\" align=\"center\" \/><\/a><\/p>\n<h2>Python code<\/h2>\n<p>You can download the Python code used to download the data from Yahoo! Finance.<\/p>\n<p>Python script to download Bitcoin historical data and save it to an Excel sheet:<\/p>\n<p>import yfinance as yf<br \/>\nimport pandas as pd<\/p>\n<p># Define the ticker symbol and date range<br \/>\nticker_symbol = &#8220;BTC-USD&#8221;<br \/>\nstart_date = &#8220;2020-01-01&#8221;<br \/>\nend_date = &#8220;2023-01-01&#8221;<\/p>\n<p># Download historical data using yfinance<br \/>\ndata = yf.download(ticker_symbol, start=start_date, end=end_date)<\/p>\n<p># Create a Pandas DataFrame<br \/>\ndf = pd.DataFrame(data)<\/p>\n<p># Create a Pandas Excel writer object<br \/>\nexcel_writer = pd.ExcelWriter(&#8216;bitcoin_historical_data.xlsx&#8217;, engine=&#8217;openpyxl&#8217;)<\/p>\n<p># Write the DataFrame to an Excel sheet<br \/>\ndf.to_excel(excel_writer, sheet_name=&#8217;Bitcoin Historical Data&#8217;)<\/p>\n<p># Save the Excel file<br \/>\nexcel_writer.save()<\/p>\n<p>print(&#8220;Data has been saved to bitcoin_historical_data.xlsx&#8221;)<\/p>\n<p># Make sure you have the required libraries installed and adjust the \u201cstart_date\u201d and \u201cend_date\u201d variables to the desired date range for the historical data you want to download.<\/p>\n<h2>APIs<\/h2>\n<p>Calculating the total number of Bitcoins in circulation over time<br \/>\nAccess \u2013 Bitcoin Blockchain data<br \/>\nBy running a Bitcoin node or by using blockchain data providers like Blockchain.info, Blockchair, or a similar service.<\/p>\n<p>Extract Block Data: Once you have access to the blockchain data, you would need to extract information from each block. Each block contains a record of the transactions that have occurred, including the creation (mining) of new Bitcoins in the form of a &#8220;Coinbase&#8221; transaction.<\/p>\n<p>Calculate Cumulative Supply: You can calculate the cumulative supply of Bitcoins by adding up the rewards from each block&#8217;s Coinbase transaction. Initially, the block reward was 50 Bitcoins, but it halves approximately every four years due to the Bitcoin halving events. So, you&#8217;ll need to account for these halving in your calculations.<\/p>\n<p>Code \u2013 python<\/p>\n<p>import requests<\/p>\n<p># Replace &#8216;YOUR_API_KEY&#8217; with your CoinMarketCap API key<br \/>\napi_key = &#8216;YOUR_API_KEY&#8217;<\/p>\n<p># Define the endpoint URL for CoinMarketCap&#8217;s API<br \/>\nurl = &#8216;https:\/\/pro-api.coinmarketcap.com\/v1\/cryptocurrency\/quotes\/latest&#8217;<\/p>\n<p># Define the parameters for the request<br \/>\nparams = {<br \/>\n&#8216;symbol&#8217;: &#8216;BTC&#8217;,<br \/>\n&#8216;convert&#8217;: &#8216;USD&#8217;,<br \/>\n&#8216;CMC_PRO_API_KEY&#8217;: api_key<br \/>\n}<\/p>\n<p># Send the request to CoinMarketCap<br \/>\nresponse = requests.get(url, params=params)<\/p>\n<p># Parse the response JSON<br \/>\ndata = response.json()<\/p>\n<p># Extract the circulating supply from the response<br \/>\ncirculating_supply = data[&#8216;data&#8217;][&#8216;BTC&#8217;][&#8216;circulating_supply&#8217;]<\/p>\n<p>print(f&#8221;Current circulating supply of Bitcoin: {circulating_supply} BTC&#8221;)<\/p>\n<p>## Replace &#8216;YOUR_API_KEY&#8217; with your actual CoinMarketCap API key.<\/p>\n<h2>Why should I be interested in this post?<\/h2>\n<p>Cryptocurrency data is becoming increasingly relevant in these fields, offering opportunities for research, data analysis skill development, and even career prospects. Whether you&#8217;re aiming to conduct research, stay informed about the evolving financial landscape, or simply enhance your data analysis abilities, understanding how to access and work with crypto data is an asset. Plus, as the cryptocurrency industry continues to grow, this knowledge can open new career paths and improve your personal finance decision-making. In a rapidly changing world, diversifying your knowledge with cryptocurrency data acquisition skills can be a wise investment in your future.<\/p>\n<h2>Related posts on the SimTrade blog<\/h2>\n<p>\u25b6 Alexandre VERLET <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/cryptocurrencies\/\" target=\"_parent\" rel=\"noopener\">Cryptocurrencies<\/a><\/p>\n<p>\u25b6 Youssef EL QAMCAOUI <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/decentralized-finance-defi\/\" target=\"_parent\" rel=\"noopener\">Decentralised Financing <\/a><\/p>\n<p>\u25b6 Hugo MEYER <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/regulation-cryptocurrencies\/\" target=\"_parent\" rel=\"noopener\">The regulation of cryptocurrencies: what are we talking about?<\/a><\/p>\n<h2>Useful resources<\/h2>\n<h3>APIs<\/h3>\n<p>CoinMarketCap <a href=\"https:\/\/coinmarketcap.com\/api\/\" target=\"_blank\" rel=\"noopener\"> Source of API keys and program<\/a><\/p>\n<p>CoinGecko <a href=\"https:\/\/www.coingecko.com\/en\/api\" target=\"_blank\" rel=\"noopener\"> Source of API keys and Programs <\/a><\/p>\n<p>CryptoNews <a href=\"https:\/\/cryptonews-api.com\" target=\"_blank\" rel=\"noopener\"> Source of API keys and Programs <\/a><\/p>\n<h3>Data sources<\/h3>\n<p>Yahoo! Finance <a href=\"https:\/\/finance.yahoo.com\/quote\/BTC-USD\/history?p=BTC-USD\" target=\"_blank\" rel=\"noopener\">Historical data for Bitcoin<\/a><\/p>\n<p>Coinmarketcap <a href=\"https:\/\/coinmarketcap.com\/currencies\/bitcoin\/\" target=\"_blank\" rel=\"noopener\">Historical data for Bitcoin<\/a><\/p>\n<p>Blockchain.com <a href=\"https:\/\/www.blockchain.com\/explorer\/charts\" target=\"_blank\" rel=\"noopener\"> Market Data and charts on Bitcoin history <\/a><\/p>\n<h2>About the author<\/h2>\n<p>The article was written in October 2023 by <a href=\"https:\/\/www.linkedin.com\/in\/snehasish-chinara\/\" target=\"_blank\" rel=\"noopener\">Snehasish CHINARA<\/a> (ESSEC Business School, <i>Grande Ecole<\/i> Program &#8211; Master in Management, (2022-2024).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to get crypto data In this article, Snehasish CHINARA (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2022-2024) explains how to get crypto data. Types of data Number of coins The information on the number of coins in circulation for a given currency is important to compute its market capitalization. Market capitalization &#8230; <a title=\"How to get crypto data\" class=\"read-more\" href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\" aria-label=\"Read more about How to get crypto data\">Read more<\/a><\/p>\n","protected":false},"author":100,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[84,163,478],"class_list":["post-12367","post","type-post","status-publish","format-standard","hentry","category-financial-techniques","tag-bitcoin","tag-cryptocurrencies","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to get crypto data - SimTrade blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to get crypto data\" \/>\n<meta property=\"og:description\" content=\"How to get crypto data In this article, Snehasish CHINARA (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2022-2024) explains how to get crypto data. Types of data Number of coins The information on the number of coins in circulation for a given currency is important to compute its market capitalization. Market capitalization ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\" \/>\n<meta property=\"og:site_name\" content=\"SimTrade blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fr-fr.facebook.com\/simtrade.fr\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-04T21:13:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-25T18:00:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\" \/>\n<meta name=\"author\" content=\"Snehasish CHINARA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@simtrade\" \/>\n<meta name=\"twitter:site\" content=\"@simtrade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Snehasish CHINARA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\"},\"author\":{\"name\":\"Snehasish CHINARA\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/84fe86ae0dc4900b5b2dd1e9ec085717\"},\"headline\":\"How to get crypto data\",\"datePublished\":\"2023-10-04T21:13:18+00:00\",\"dateModified\":\"2024-03-25T18:00:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\"},\"wordCount\":1468,\"publisher\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\",\"keywords\":[\"Bitcoin\",\"Cryptocurrencies\",\"Python\"],\"articleSection\":[\"Financial techniques\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\",\"name\":\"How to get crypto data - SimTrade blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\",\"datePublished\":\"2023-10-04T21:13:18+00:00\",\"dateModified\":\"2024-03-25T18:00:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\",\"contentUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png\",\"width\":554,\"height\":736},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to get crypto data\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#website\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\",\"name\":\"SimTrade blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\",\"name\":\"SimTrade\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg\",\"contentUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg\",\"width\":940,\"height\":126,\"caption\":\"SimTrade\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/fr-fr.facebook.com\/simtrade.fr\/\",\"https:\/\/x.com\/simtrade\",\"https:\/\/www.linkedin.com\/company\/sim-trade\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/84fe86ae0dc4900b5b2dd1e9ec085717\",\"name\":\"Snehasish CHINARA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g\",\"caption\":\"Snehasish CHINARA\"},\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/author\/schinara\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to get crypto data - SimTrade blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/","og_locale":"en_US","og_type":"article","og_title":"How to get crypto data","og_description":"How to get crypto data In this article, Snehasish CHINARA (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2022-2024) explains how to get crypto data. Types of data Number of coins The information on the number of coins in circulation for a given currency is important to compute its market capitalization. Market capitalization ... Read more","og_url":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/","og_site_name":"SimTrade blog","article_publisher":"https:\/\/fr-fr.facebook.com\/simtrade.fr\/","article_published_time":"2023-10-04T21:13:18+00:00","article_modified_time":"2024-03-25T18:00:16+00:00","og_image":[{"url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png","type":"","width":"","height":""}],"author":"Snehasish CHINARA","twitter_card":"summary_large_image","twitter_creator":"@simtrade","twitter_site":"@simtrade","twitter_misc":{"Written by":"Snehasish CHINARA","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#article","isPartOf":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/"},"author":{"name":"Snehasish CHINARA","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/84fe86ae0dc4900b5b2dd1e9ec085717"},"headline":"How to get crypto data","datePublished":"2023-10-04T21:13:18+00:00","dateModified":"2024-03-25T18:00:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/"},"wordCount":1468,"publisher":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png","keywords":["Bitcoin","Cryptocurrencies","Python"],"articleSection":["Financial techniques"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/","name":"How to get crypto data - SimTrade blog","isPartOf":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png","datePublished":"2023-10-04T21:13:18+00:00","dateModified":"2024-03-25T18:00:16+00:00","breadcrumb":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#primaryimage","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png","contentUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2023\/07\/img_SimTrade_Photo1_Snehasish_Chinara.png","width":554,"height":736},{"@type":"BreadcrumbList","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/how-to-get-crypto-data\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simtrade.fr\/blog_simtrade\/"},{"@type":"ListItem","position":2,"name":"How to get crypto data"}]},{"@type":"WebSite","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#website","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/","name":"SimTrade blog","description":"","publisher":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.simtrade.fr\/blog_simtrade\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization","name":"SimTrade","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg","contentUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg","width":940,"height":126,"caption":"SimTrade"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/fr-fr.facebook.com\/simtrade.fr\/","https:\/\/x.com\/simtrade","https:\/\/www.linkedin.com\/company\/sim-trade"]},{"@type":"Person","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/84fe86ae0dc4900b5b2dd1e9ec085717","name":"Snehasish CHINARA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6924bf402d01fc5cce42d84a86d664af9e2c205223a36ba506ed1d5f2a46978b?s=96&d=mm&r=g","caption":"Snehasish CHINARA"},"url":"https:\/\/www.simtrade.fr\/blog_simtrade\/author\/schinara\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/12367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/comments?post=12367"}],"version-history":[{"count":3,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/12367\/revisions"}],"predecessor-version":[{"id":13808,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/12367\/revisions\/13808"}],"wp:attachment":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/media?parent=12367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/categories?post=12367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/tags?post=12367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}