Skip to content

Simple scraper that collects and organises all publicly available ASX options data.

Notifications You must be signed in to change notification settings

maxitron93/asx_options

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web scraper built with python, scrapy and beautifulsoup

What is ASX Scraper?

This scraper creates a CSV file that contains the publicly available options data for all ASX traded options. Essentially, it generates a snapshot-in-time spreadsheet of all ASX traded options, along with all the relevant information.

How to use ASX Scraper

  1. Clone the repository onto your computer
  2. Install Scrapy with pip install Scrapy
  3. Install bs4 with pip install beautifulsoup4
  4. cd into /asx_options-master and run python -m scrapy crawl asx_spider. This will create a .html file in /asx_options-master for every company that has ASX traded options. About 100 .html files will be generated.
  5. Run python parser.py from /asx_options-master. parser.py will create a new CSV file, parse through the .html files one by one, extract the options data, and place the data into the CSV file. This will take ~20 seconds.
  6. Copy-paste the data from the CSV file into a MS Excel spreadsheet.

Screenshot of the output - showing the the first ~50 of 43,837 lines in the csv file

First fifty lines of the CSV file

About

Simple scraper that collects and organises all publicly available ASX options data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages