{"id":2086,"date":"2025-05-09T22:55:00","date_gmt":"2025-05-09T22:55:00","guid":{"rendered":"https:\/\/xtremdigital.com\/?post_type=portfolios&#038;p=2086"},"modified":"2025-05-10T00:19:51","modified_gmt":"2025-05-10T00:19:51","slug":"automated-stock-data-collector-python-selenium-bot","status":"publish","type":"portfolios","link":"https:\/\/xtremdigital.com\/francais\/portfolios\/automated-stock-data-collector-python-selenium-bot\/","title":{"rendered":"Collecteur automatis\u00e9 de donn\u00e9es boursi\u00e8res \u2013 Bot Python &amp; Selenium"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-1024x503.webp\" alt=\"\" class=\"wp-image-2098\" srcset=\"https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-1024x503.webp 1024w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-300x147.webp 300w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-768x377.webp 768w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-18x9.webp 18w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-400x196.webp 400w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python-1120x550.webp 1120w, https:\/\/xtremdigital.com\/wp-content\/uploads\/2025\/05\/python.webp 1279w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Project Overview:<\/strong><br>This automation project was built to collect live stock market data from TradingView every morning at market open. Using a combination of Python, Selenium, and Windows Task Scheduler, the system runs daily, fetches specific stock data, and stores it in an Excel sheet hosted on a shared drive for easy access.<\/p>\n\n\n\n<p><strong>Key Features:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Automated Launch:<\/strong> Runs automatically at market open using Windows Task Scheduler<\/li>\n\n\n\n<li><strong>Browser Automation:<\/strong> Uses Selenium with ChromeDriver to simulate user interaction and extract data from TradingView<\/li>\n\n\n\n<li><strong>Data Logging:<\/strong> Parsed information is written into a structured Excel sheet<\/li>\n\n\n\n<li><strong>Cloud Integration:<\/strong> Excel file is stored on a shared drive for team or personal access<\/li>\n<\/ul>\n\n\n\n<p><strong>Technologies Used:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python<\/li>\n\n\n\n<li>Selenium<\/li>\n\n\n\n<li>ChromeDriver<\/li>\n\n\n\n<li>Windows Task Scheduler<\/li>\n\n\n\n<li>Excel (via <code>openpyxl<\/code> or <code>pandas<\/code>)<\/li>\n\n\n\n<li>Cloud drive (Google Drive, OneDrive, etc.)<\/li>\n<\/ul>\n\n\n\n<p><strong>Results:<\/strong><br>Eliminated the need for manual data collection, ensured daily consistency, and allowed for accurate, timestamped financial logs. Ideal for trend analysis or portfolio decisions without repetitive effort.<\/p>","protected":false},"featured_media":2098,"template":"","portfolios_categories":[28],"class_list":["post-2086","portfolios","type-portfolios","status-publish","has-post-thumbnail","hentry","portfolios_categories-task-automation"],"acf":[],"_links":{"self":[{"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/portfolios\/2086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/portfolios"}],"about":[{"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/types\/portfolios"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/media\/2098"}],"wp:attachment":[{"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/media?parent=2086"}],"wp:term":[{"taxonomy":"portfolios_categories","embeddable":true,"href":"https:\/\/xtremdigital.com\/francais\/wp-json\/wp\/v2\/portfolios_categories?post=2086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}