{"id":380,"date":"2019-06-13T14:06:48","date_gmt":"2019-06-13T13:06:48","guid":{"rendered":"https:\/\/eodhd.com\/blog\/?p=380"},"modified":"2024-04-27T12:59:49","modified_gmt":"2024-04-27T10:59:49","slug":"code-python-stock-data-seeder","status":"publish","type":"post","link":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder","title":{"rendered":"[Code] Python Stock Data Seeder"},"content":{"rendered":"\n<p>One of our subscribers, Matthew Metzger, recently created a python code which works with EOD Historical Data API:  <a rel=\"noreferrer noopener\" aria-label=\"Stock Data Seeder (opens in a new tab)\" href=\"https:\/\/github.com\/matthewmetzgerx\/pyStockSeeder\" target=\"_blank\">Stock Data Seeder<\/a>. We are happy to publish this post and share this code with our subscribers. Stock Data Seeder is a tool for getting basic stock data and historical stock daily results with which to start your stock history inquest.<\/p>\n\n\n\n<p>Ideally, this tool is focused on people who have some grasp of what the Python language is and how it can be used. However, directly following the instructions will generate a foundational stock history file, complete with most of the stocks in the S&amp;P 1500 (large, mid, small cap), that you may import into a database or use within some other technical context.<\/p>\n\n\n\n<p>Matthew is going to work more in this project and will be happy for any feedback if there is.<\/p>\n\n\n\n<p>More words about the author. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eodhistoricaldata.com\/blog\/wp-content\/uploads\/2019\/06\/Matthew_Metzger-1.jpeg\" alt=\"\" class=\"wp-image-383\" width=\"328\" height=\"245\"\/><\/figure><\/div>\n\n\n\n<p>He is a technical solution lead with nearly 20 years experience in information architecture, applications development and technical project management for organizations ranging from small businesses and startups to Fortune 500 companies and US government. Projects have included a variety of specializations such as UI\/UX, systems integration, and data management. He is currently living and working in Columbus, OH. Matthew recently completed his MS in Data Science and enjoys traveling and reading when he has time. <\/p>\n\n\n\n<p>Project URL:  <a href=\"https:\/\/github.com\/matthewmetzgerx\/pyStockSeeder\">https:\/\/github.com\/matthewmetzgerx\/pyStockSeeder<\/a> <\/p>\n\n\n\n<p>GitHub:  <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/github.com\/matthewmetzgerx\/pyStockSeeder\" target=\"_blank\">https:\/\/github.com\/matthewmetzgerx\/pyStockSeeder<\/a> <\/p>\n\n\n\n<p>LinkedIn: <a href=\"https:\/\/www.linkedin.com\/in\/matthewmetzgerx\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.linkedin.com\/in\/matthewmetzgerx\/ (opens in a new tab)\">https:\/\/www.linkedin.com\/in\/matthewmetzgerx\/<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of our subscribers, Matthew Metzger, recently created a python code which works with EOD Historical Data API: Stock Data Seeder. We are happy to publish this post and share this code with our subscribers. Stock Data Seeder is a tool for getting basic stock data and historical stock daily&#8230;<\/p>\n","protected":false},"author":1,"featured_media":387,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[34],"tags":[48,47],"class_list":["post-380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-examples","tag-api-example","tag-python","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Code] Python Stock Data Seeder | EODHD APIs Blog<\/title>\n<meta name=\"description\" content=\"Learn how to use the Code Python Stock Data Seeder tool to generate stock history files for your database or technical context\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Code] Python Stock Data Seeder\" \/>\n<meta property=\"og:description\" content=\"One of our subscribers, Matthew Metzger, recently created a python code which works with EOD Historical Data API: Stock Data Seeder. We are happy to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\" \/>\n<meta property=\"og:site_name\" content=\"Financial Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eodhistoricaldata\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-13T13:06:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-27T10:59:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"5184\" \/>\n\t<meta property=\"og:image:height\" content=\"3456\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"EOD Historical Data\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:site\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EOD Historical Data\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#article\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\"},\"author\":{\"name\":\"EOD Historical Data\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/8d61b703d9ac7e99c00979e9eca98b4d\"},\"headline\":\"[Code] Python Stock Data Seeder\",\"datePublished\":\"2019-06-13T13:06:48+00:00\",\"dateModified\":\"2024-04-27T10:59:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\"},\"wordCount\":247,\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg\",\"keywords\":[\"api example\",\"python\"],\"articleSection\":[\"Code Examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\",\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\",\"name\":\"[Code] Python Stock Data Seeder | EODHD APIs Blog\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg\",\"datePublished\":\"2019-06-13T13:06:48+00:00\",\"dateModified\":\"2024-04-27T10:59:49+00:00\",\"description\":\"Learn how to use the Code Python Stock Data Seeder tool to generate stock history files for your database or technical context\",\"breadcrumb\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage\",\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg\",\"width\":5184,\"height\":3456,\"caption\":\"Python API Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eodhd.com\/financial-apis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Code] Python Stock Data Seeder\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#website\",\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/\",\"name\":\"Financial APIs Blog | EODHD\",\"description\":\"Financial Data APIs. Fundamental, End of Day (EOD), Real-Time\/Live.\",\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#organization\"},\"alternateName\":\"EODHD Financial Data APIs Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eodhd.com\/financial-apis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#organization\",\"name\":\"EODHD (EOD Historical Data)\",\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"width\":159,\"height\":82,\"caption\":\"EODHD (EOD Historical Data)\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/eodhistoricaldata\",\"https:\/\/x.com\/EOD_data\",\"https:\/\/www.reddit.com\/r\/EODHistoricalData\/\",\"https:\/\/eod-historical-data.medium.com\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/8d61b703d9ac7e99c00979e9eca98b4d\",\"name\":\"EOD Historical Data\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"caption\":\"EOD Historical Data\"},\"sameAs\":[\"https:\/\/eodhistoricaldata.com\"],\"url\":\"https:\/\/eodhd.com\/financial-apis-blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"[Code] Python Stock Data Seeder | EODHD APIs Blog","description":"Learn how to use the Code Python Stock Data Seeder tool to generate stock history files for your database or technical context","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:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder","og_locale":"en_US","og_type":"article","og_title":"[Code] Python Stock Data Seeder","og_description":"One of our subscribers, Matthew Metzger, recently created a python code which works with EOD Historical Data API: Stock Data Seeder. We are happy to","og_url":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder","og_site_name":"Financial Blog","article_publisher":"https:\/\/www.facebook.com\/eodhistoricaldata","article_published_time":"2019-06-13T13:06:48+00:00","article_modified_time":"2024-04-27T10:59:49+00:00","og_image":[{"width":5184,"height":3456,"url":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","type":"image\/jpeg"}],"author":"EOD Historical Data","twitter_card":"summary_large_image","twitter_creator":"@EOD_data","twitter_site":"@EOD_data","twitter_misc":{"Written by":"EOD Historical Data","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#article","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder"},"author":{"name":"EOD Historical Data","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/8d61b703d9ac7e99c00979e9eca98b4d"},"headline":"[Code] Python Stock Data Seeder","datePublished":"2019-06-13T13:06:48+00:00","dateModified":"2024-04-27T10:59:49+00:00","mainEntityOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder"},"wordCount":247,"publisher":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/#organization"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","keywords":["api example","python"],"articleSection":["Code Examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder","url":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder","name":"[Code] Python Stock Data Seeder | EODHD APIs Blog","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","datePublished":"2019-06-13T13:06:48+00:00","dateModified":"2024-04-27T10:59:49+00:00","description":"Learn how to use the Code Python Stock Data Seeder tool to generate stock history files for your database or technical context","breadcrumb":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#primaryimage","url":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","contentUrl":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","width":5184,"height":3456,"caption":"Python API Example"},{"@type":"BreadcrumbList","@id":"https:\/\/eodhd.com\/financial-apis-blog\/code-python-stock-data-seeder#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eodhd.com\/financial-apis-blog\/"},{"@type":"ListItem","position":2,"name":"[Code] Python Stock Data Seeder"}]},{"@type":"WebSite","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#website","url":"https:\/\/eodhd.com\/financial-apis-blog\/","name":"Financial APIs Blog | EODHD","description":"Financial Data APIs. Fundamental, End of Day (EOD), Real-Time\/Live.","publisher":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/#organization"},"alternateName":"EODHD Financial Data APIs Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eodhd.com\/financial-apis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#organization","name":"EODHD (EOD Historical Data)","url":"https:\/\/eodhd.com\/financial-apis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","contentUrl":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","width":159,"height":82,"caption":"EODHD (EOD Historical Data)"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eodhistoricaldata","https:\/\/x.com\/EOD_data","https:\/\/www.reddit.com\/r\/EODHistoricalData\/","https:\/\/eod-historical-data.medium.com\/"]},{"@type":"Person","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/8d61b703d9ac7e99c00979e9eca98b4d","name":"EOD Historical Data","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis-blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","caption":"EOD Historical Data"},"sameAs":["https:\/\/eodhistoricaldata.com"],"url":"https:\/\/eodhd.com\/financial-apis-blog\/author\/admin"}]}},"jetpack_featured_media_url":"https:\/\/eodhd.com\/financial-apis-blog\/wp-content\/uploads\/2019\/06\/shahadat-shemul-1532385-unsplash.jpg","jetpack_shortlink":"https:\/\/wp.me\/p9Nz7H-68","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":1,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":1914,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/posts\/380\/revisions\/1914"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/media\/387"}],"wp:attachment":[{"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis-blog\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}