GithubHelp home page GithubHelp logo

scrapyeurex's Introduction

scrapyEurex

Scrapy spider to get information from Eurexchange

Instructions

Run Python 3 scrapy with:

scrapy crawl estx50spider -o option_chain.json

Then you can calculate greeks and IV for each option, but due to the libraries used you have to execute using Python 2.7:

python27 add_greeks_to_json.py --risk_free_rate 0.01 --underlying_price 3000.0 --input_json option_chain.json

Session date can also be specified. Otherwise, the script will consider today as the session date for all the options listed in input json file.

Finally, you can get some graphs from the json file:

python eurex_data_loader.py --input_file option_chain.json --expiration_date 17/03/2017

You can also use a whole input folder and see the evolution of open interest along time for a certain option:

python eurex_data_loader.py --input_folder data/ --expiration_date 17/03/2017 --strike 3000.0

Enjoy (and if you get rich, I accept some tips :D)

License

Privative for commercial and professional usage. Contact the author

scrapyeurex's People

Stargazers

Tom Wong avatar  avatar

Watchers

James Cloos avatar Román Rodríguez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.