Coder Social home page Coder Social logo

wheaties466 / options_based_trading Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrew-reis-smu-2022/options_based_trading

0.0 2.0 0.0 5.56 MB

This program analyzes unusual options activity by using a weighted average based on a trade's volume to compare all of the unusual otm option trades for a expiration date for a given stock.

Python 80.32% C 13.48% C++ 1.60% Objective-C 0.70% XSLT 3.82% PowerShell 0.04% Batchfile 0.03%

options_based_trading's Introduction

Options_Based_Trading

This program analyzes and evaluates the performance of unusual option orders made by investment banks, hedge funds, etc. You can generate daily or weekly reports, with their respective scripts. The Performance_Evaluation.py script can take raw data from any number of trading days and compute the expected return on those options if they were held to a given expiration day, without any hedging with the opposite option contract.

I am no longer working on the credit_spread_daily.py script, but in its current form it can produce daily reports of unusual credit spreads that were opened for that trading day.

Required folders in the main directory: For daily_report.py, Performance_Evaluation.py, and weekly_reports.py: A folder titled ‘output’ is required in the working directory. The excel file produced by the script will be titled ‘output’ and found in the ‘output’ folder.

For daily_report.py and weekly_reports.py: Download a csv file from https://www.barchart.com/options/unusual-activity/stocks and place it a folder entitled ‘data’ in the working directory.

For Performance_Evaluation.py: Place the same csv files as the daily and weekly reports and place it in a folder titled ‘data_for_validation’.

For Credit_spreads_daily: The two folders you will use are ‘spread_data’ and ‘spread_output’. They work in the same fashion as the previous folders.

The program takes any number of .csv files in the data folder, extracts the data from them, and outputs data to an excel file called output in the output folder.

source of information: https://www.barchart.com/options/unusual-activity/stocks

options_based_trading's People

Contributors

andrew-reis-smu-2022 avatar miqueet avatar

Watchers

 avatar  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.