Giter Site home page Giter Site logo

enhanced-stock-option's Introduction

For now, only use yahooOptionsPython. The Yahoo API is not reliable because no one maintained it for several years. When I started this project, it is still working, but the result becomes increasinly unreliable. I often get different JSON for the same API call or non-existent option price. I'm trying to switch to using Ally's API


enhanced-stock-option

A simple stock-option-viewer for quick referencing option price at a certain time.


We can all go to the website of Charles-Schwab, Interactive Broker, TD Ameritrade, Merrill-Edge or any broker from any bank to get the option price. Robinhood even has its own option table. However, these tools show us the information, not what we really need: loss and profit at a given price. What if we need it on the go and be able to calculate the loss/profit percentage with a few clicks?

This program is intended to:

  • Get stock ticker and retrieve a JSON object of available options.
  • Put it in a CSV file so I can further manipulate it (add functions, charts, calculate loss/profit)
  • The file NXPI.xlsx a template of final result.

I chose Python because at this point, data science is a booming field and Python happens to be the language of choice for non-programmer data scientists. It means there are a lot of libraries to crunch numbers and convert it into csv, xlsx and to analyze the data.

Note:

  • Yahoo may end support for this link at any time, so this might not work in the future.
  • The Yahoo links behaves strangely during weekend and does not show all available options. This might be because stock data is unavailable during weekends. Therefore, the program is unreliable during weekends.

enhanced-stock-option's People

Contributors

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