All Projects → boyank → yoc

boyank / yoc

Licence: GPL-3.0 license
command line tool for scraping financial options prices and related data from finance.yahoo.com

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to yoc

arbolito
A currency conversion api for the minimalist developer
Stars: ✭ 50 (+117.39%)
Mutual labels:  yahoo-finance
SwiftYFinance
The best Yahoo Finance library with the power of Swift
Stars: ✭ 30 (+30.43%)
Mutual labels:  yahoo-finance
Stocky
Machine Learning Stock Trading Risk Analysis (Spring 2017)
Stars: ✭ 27 (+17.39%)
Mutual labels:  yahoo-finance
Stocksera
Web application that provides alternative data to retail investors
Stars: ✭ 426 (+1752.17%)
Mutual labels:  yahoo-finance
FinanceMarketDataGrabber
Use Yahoo Finance or Google's 'hidden' Finance APIs to retrieve current stock and forex data as well as historic quotes
Stars: ✭ 42 (+82.61%)
Mutual labels:  yahoo-finance
yahoo-historical
Downloads historical EOD (end of day) prices from yahoo finance
Stars: ✭ 96 (+317.39%)
Mutual labels:  yahoo-finance
Financereactnative
[Deprecated] iOS's Stocks App clone written in React Native for demo purpose (available both iOS and Android).
Stars: ✭ 1,947 (+8365.22%)
Mutual labels:  yahoo-finance
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+35573.91%)
Mutual labels:  yahoo-finance
Yfinance
Download market data from Yahoo! Finance's API
Stars: ✭ 6,148 (+26630.43%)
Mutual labels:  yahoo-finance
warren
Web app to predict closing stock prices in real time using Facebook's Prophet time series algorithm with a multi-variate, single-step time series forecasting strategy.
Stars: ✭ 106 (+360.87%)
Mutual labels:  yahoo-finance
yfMongo
MongoDb tool to store stock Yahoo Finance market data in a consistent way
Stars: ✭ 32 (+39.13%)
Mutual labels:  yahoo-finance
yliveticker
Get market data from Yahoo Finance websocket in near-real time.
Stars: ✭ 90 (+291.3%)
Mutual labels:  yahoo-finance
AI-Project
Stock predictor using Machine Learning
Stars: ✭ 22 (-4.35%)
Mutual labels:  yahoo-finance
brapi
API ilimitada da Bovespa, moedas e crypto. Ganhe acesso aos dados de qualquer ação, moeda ou criptomoeda
Stars: ✭ 36 (+56.52%)
Mutual labels:  yahoo-finance
stock-market-scraper
Scraps historical stock market data from Yahoo Finance (https://finance.yahoo.com/)
Stars: ✭ 110 (+378.26%)
Mutual labels:  yahoo-finance
node-yahoo-finance2
Unofficial API for Yahoo Finance
Stars: ✭ 155 (+573.91%)
Mutual labels:  yahoo-finance

yoc (yahoo option chains)

version 2, works with yahoo.com website design since July 2016.

Quick start

yahoo_options.py is a command line tool for scraping financial options prices and related data from finance.yahoo.com

It's written in Python 2.7 and also ported to Python 3.4 using 2to3 tool.

It can be used to scrape current options data for one or more tickers.

There are several ways to supply list of tickers (in order of priority):

-as command line arguments

-using config.ini file

-as user input during script execution.

Sample config.ini is included.

Here is an example how to supply list of tickers as command-line arguments:

C:>yahoo_options.py googl yhoo

If no command line arguments were supplied, user will be asked to enter one or more tickers separated by comma.

Enter ticker or tickers, separated by comma: googl,yhoo

Downloaded data are stored as a csv file, one file for each ticker. If file already exists, it will append the new data.

Advanced usage

In ver.2 it requests and gets response in json format. See included json_response_GOOGL.json for sample of the json response. As you can see there are a lot more data available. One can easily change the script to parse the json and extract any of these data. All you need to do is to amend the get_json_data() to return the desired data. Eventually you will need to change slightly also the main function.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].