{"id":103538,"date":"2021-09-17T13:35:30","date_gmt":"2021-09-17T17:35:30","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=103538"},"modified":"2022-11-21T09:48:03","modified_gmt":"2022-11-21T14:48:03","slug":"stock-market-data-and-analysis-in-python-part-v","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/","title":{"rendered":"Stock Market Data And Analysis In Python \u2013 Part V"},"content":{"rendered":"\n<p><em>See&nbsp;<a href=\"\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-i\/\">Part I<\/a>&nbsp;for instructions on how to get&nbsp;<code>pandas_datareader<\/code>&nbsp;or&nbsp;<code>yfinance<\/code>&nbsp;module to retrieve the data, and&nbsp;<a href=\"\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-ii\/\">Part II<\/a>&nbsp;to learn how to get stock market data for different geographies. In <a href=\"\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-iii\/\">Part III<\/a>&nbsp;and <a href=\"\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-iv\/\">Part IV<\/a>, review the tutorial on how to analyse the stock market data for all the stocks which make up the S&amp;P 500.<\/em><\/p>\n\n\n\n<p><strong>Using Quandl to get Stock Market Data (Optional)<\/strong><\/p>\n\n\n\n<p>Quandl has many data sources to get different types of stock market data. However, some are free and some are paid.&nbsp;<strong>Wiki<\/strong>&nbsp;is the free data source of Quandl to get the data of the end of the day prices of&nbsp;<strong>3000+ US equities<\/strong>. It is curated by Quandl community and also provides information about the dividends and split.<\/p>\n\n\n\n<p>Quandl also provides paid data source of minute and lower frequencies.<br><br>To get the stock market data, you need to first install the quandl module if it is not already installed using the&nbsp;<strong>pip command<\/strong>&nbsp;as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>!pip install quandl<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><a href=\"https:\/\/gist.github.com\/quantra-go-algo\/80cb89e673a5e181499807cd72fdb0b4#file-install-quandl-py\">Install quandl.py<\/a>&nbsp;hosted with \u2764 by&nbsp;<a href=\"https:\/\/github.com\/\">GitHub<\/a><\/code><\/pre>\n\n\n\n<p>You need to get your own API Key from quandl to get the stock market data using the below code. <\/p>\n\n\n\n<p>After you get your key, assign the variable QUANDL_API_KEY with that key. Then set the start date, end date and the ticker of the asset whose stock market data you want to fetch.<br><br>The quandl&nbsp;<code>get<\/code>&nbsp;method takes this stock market data as input and returns the open, high, low, close, volume, adjusted values and other information.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Import quandl package\nimport quandl\n\n# To get your API key, sign up for a free Quandl account.\n# Then, you can find your API key on Quandl account settings page.\nQUANDL_API_KEY = 'REPLACE-THIS-TEXT-WITH-A-REAL-API-KEY'\n\n# This is to prompt you to change the Quandl Key\nif QUANDL_API_KEY == 'REPLACE-THIS-TEXT-WITH-A-REAL-API-KEY':\n    raise Exception(\"Please provide a valid Quandl API key!\")\n \n# Set the start and end date\nstart_date = '1990-01-01'\nend_date = '2018-03-01'\n\n# Set the ticker name\nticker = 'AMZN'\n\n# Feth the data\ndata = quandl.get('WIKI\/'+ticker, \n                  start_date=start_date, \n                  end_date=end_date, \n                  api_key=QUANDL_API_KEY)\n\n# Print the first 5 rows of the dataframe\ndata.head()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><a href=\"https:\/\/gist.github.com\/quantra-go-algo\/f9a8b3854cfe303e3a78e0c3e8c4c0e8#file-get_data_quandl-py\">get_data_quandl.py<\/a>&nbsp;hosted with \u2764 by&nbsp;<a href=\"https:\/\/github.com\/\">GitHub<\/a><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Date<\/th><th>Open<\/th><th>High<\/th><th>Low<\/th><th>Close<\/th><th>Volume<\/th><th>Ex-Dividend<\/th><th>Split Ratio<\/th><th>Adj. Open<\/th><th>Adj. High<\/th><th>Adj. Low<\/th><th>Adj. Close<\/th><th>Adj. Volume<\/th><\/tr><\/thead><tbody><tr><th>1997-05-16<\/th><td>22.38<\/td><td>23.75<\/td><td>20.50<\/td><td>20.75<\/td><td>1225000.0<\/td><td>0.0<\/td><td>1.0<\/td><td>1.865000<\/td><td>1.979167<\/td><td>1.708333<\/td><td>1.729167<\/td><td>14700000.0<\/td><\/tr><tr><th>1997-05-19<\/th><td>20.50<\/td><td>21.25<\/td><td>19.50<\/td><td>20.50<\/td><td>508900.0<\/td><td>0.0<\/td><td>1.0<\/td><td>1.708333<\/td><td>1.770833<\/td><td>1.625000<\/td><td>1.708333<\/td><td>6106800.0<\/td><\/tr><tr><th>1997-05-20<\/th><td>20.75<\/td><td>21.00<\/td><td>19.63<\/td><td>19.63<\/td><td>455600.0<\/td><td>0.0<\/td><td>1.0<\/td><td>1.729167<\/td><td>1.750000<\/td><td>1.635833<\/td><td>1.635833<\/td><td>5467200.0<\/td><\/tr><tr><th>1997-05-21<\/th><td>19.25<\/td><td>19.75<\/td><td>16.50<\/td><td>17.13<\/td><td>1571100.0<\/td><td>0.0<\/td><td>1.0<\/td><td>1.604167<\/td><td>1.645833<\/td><td>1.375000<\/td><td>1.427500<\/td><td>18853200.0<\/td><\/tr><tr><th>1997-05-22<\/th><td>17.25<\/td><td>17.38<\/td><td>15.75<\/td><td>16.75<\/td><td>981400.0<\/td><td>0.0<\/td><td>1.0<\/td><td>1.437500<\/td><td>1.448333<\/td><td>1.312500<\/td><td>1.395833<\/td><td>11776800.0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>To learn more about how you can use Quandl, check out this article:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/blog.quantinsti.com\/historical-market-data-python-api\/\">How to Get Historical Market Data Through Python API<\/a><\/li><\/ul>\n\n\n\n<p><em>Stay tuned for next installment in which Ishan Shah will&nbsp;demonstrate<\/em> in details how to use <strong>yfinance&nbsp;<\/strong>to get fundamental data.<\/p>\n\n\n\n<p><em>See&nbsp;<a href=\"https:\/\/blog.quantinsti.com\/stock-market-data-analysis-python\/\">https:\/\/blog.quantinsti.com\/stock-market-data-analysis-python\/<\/a>&nbsp;for additional insight on this topic.<\/em><\/p>\n\n\n\n<p><em>Past performance is not indicative of future results.<\/em><\/p>\n\n\n\n<p><em>Any stock, options or futures symbols displayed are for illustrative purposes only and are not intended to portray recommendations.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quandl has many data sources to get different types of stock market data. <\/p>\n","protected":false},"author":517,"featured_media":25709,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338,341,344],"tags":[10351,865,10352,10053,6614,4659,10104,1224,10054,10056,10055,10354,10103,10280],"contributors-categories":[13654],"class_list":{"0":"post-103538","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-programing-languages","9":"category-python-development","10":"category-ibkr-quant-news","11":"category-quant-development","12":"category-quant-regions","13":"tag-get_data_quandl-py","14":"tag-github","15":"tag-install-quandl-py","16":"tag-install-yfinance","17":"tag-jupyter-notebook","18":"tag-matplotlib","19":"tag-multiple_tickers_data-py","20":"tag-pandas","21":"tag-pandas_datareader","22":"tag-plot_amazn_data-py","23":"tag-plot_amzn_data_with_grids-py","24":"tag-quandl","25":"tag-rawplot_multiple_tickers_data-py","26":"tag-resample_data_10-py","27":"contributors-categories-quantinsti"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Stock Market Data And Analysis In Python \u2013 Part V<\/title>\n<meta name=\"description\" content=\"Quandl has many data sources to get different types of stock market data.\" \/>\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.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/103538\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stock Market Data And Analysis In Python \u2013 Part V | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Quandl has many data sources to get different types of stock market data.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-17T17:35:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T14:48:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ishan Shah\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ishan Shah\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Ishan Shah\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0fd7dbae1e070042c10b53e8bdc551c5\"\n\t            },\n\t            \"headline\": \"Stock Market Data And Analysis In Python \u2013 Part V\",\n\t            \"datePublished\": \"2021-09-17T17:35:30+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:48:03+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/\"\n\t            },\n\t            \"wordCount\": 379,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/11\\\/python-charts.jpg\",\n\t            \"keywords\": [\n\t                \"get_data_quandl.py\",\n\t                \"GitHub\",\n\t                \"Install quandl.py\",\n\t                \"install yfinance\",\n\t                \"Jupyter Notebook\",\n\t                \"Matplotlib\",\n\t                \"multiple_tickers_data.py\",\n\t                \"Pandas\",\n\t                \"pandas_datareader\",\n\t                \"plot_amazn_data.py\",\n\t                \"plot_amzn_data_with_grids.py\",\n\t                \"Quandl\",\n\t                \"rawplot_multiple_tickers_data.py\",\n\t                \"resample_data_10.py\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Development\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/\",\n\t            \"name\": \"Stock Market Data And Analysis In Python \u2013 Part V | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/11\\\/python-charts.jpg\",\n\t            \"datePublished\": \"2021-09-17T17:35:30+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:48:03+00:00\",\n\t            \"description\": \"Quandl has many data sources to get different types of stock market data.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/stock-market-data-and-analysis-in-python-part-v\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/11\\\/python-charts.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2019\\\/11\\\/python-charts.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 540,\n\t            \"caption\": \"Python\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0fd7dbae1e070042c10b53e8bdc551c5\",\n\t            \"name\": \"Ishan Shah\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/ishanshah\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Stock Market Data And Analysis In Python \u2013 Part V","description":"Quandl has many data sources to get different types of stock market data.","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.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/103538\/","og_locale":"en_US","og_type":"article","og_title":"Stock Market Data And Analysis In Python \u2013 Part V | IBKR Quant Blog","og_description":"Quandl has many data sources to get different types of stock market data.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/","og_site_name":"IBKR Campus US","article_published_time":"2021-09-17T17:35:30+00:00","article_modified_time":"2022-11-21T14:48:03+00:00","og_image":[{"width":900,"height":540,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","type":"image\/jpeg"}],"author":"Ishan Shah","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ishan Shah","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/"},"author":{"name":"Ishan Shah","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0fd7dbae1e070042c10b53e8bdc551c5"},"headline":"Stock Market Data And Analysis In Python \u2013 Part V","datePublished":"2021-09-17T17:35:30+00:00","dateModified":"2022-11-21T14:48:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/"},"wordCount":379,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","keywords":["get_data_quandl.py","GitHub","Install quandl.py","install yfinance","Jupyter Notebook","Matplotlib","multiple_tickers_data.py","Pandas","pandas_datareader","plot_amazn_data.py","plot_amzn_data_with_grids.py","Quandl","rawplot_multiple_tickers_data.py","resample_data_10.py"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/","name":"Stock Market Data And Analysis In Python \u2013 Part V | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","datePublished":"2021-09-17T17:35:30+00:00","dateModified":"2022-11-21T14:48:03+00:00","description":"Quandl has many data sources to get different types of stock market data.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/stock-market-data-and-analysis-in-python-part-v\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","width":900,"height":540,"caption":"Python"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0fd7dbae1e070042c10b53e8bdc551c5","name":"Ishan Shah","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/ishanshah\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2019\/11\/python-charts.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/103538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=103538"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/103538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/25709"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=103538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=103538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=103538"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=103538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}