Git Product home page Git Product logo

yahoo_finance's Introduction

yahoo_finance

Provides a python interface to yahoo finance to get stock related data

YahooFinance : object that executes queries and returns set of quotes data of stocks, indices or currency exchanges

Usage:

1 - Getting latest quotes for a set of symbols comma separated

The full list of possible quotes follows:

    get_all_quotes(self)
    get_name(self)
    get_previous_close(self)
    get_market_capitalization(self) 
    get_high_limit(self)        
    get_annualized_gain(self)
    get_ask(self)
    get_bid(self)
    get_ask_size(self)
    get_bid_size(self)
    get_price(self)
    get_change(self)
    get_volume(self)
    get_avg_daily_volume(self)
    get_stock_exchange(self)
    get_market_cap(self)
    get_book_value(self)
    get_ebitda(self)
    get_dividend_per_share(self)
    get_dividend_yield(self)
    get_earnings_per_share(self)
    get_earnings_per_share_estimation_year(self)
    get_52_week_high(self)
    get_52_week_low(self)
    get_50day_moving_avg(self)
    get_200day_moving_avg(self)
    get_price_earnings_ratio(self)
    get_price_earnings_growth_ratio(self)
    get_price_sales_ratio(self)
    get_price_book_ratio(self)
    get_short_ratio(self)

2 - Getting historical quotes

Here you can specify a date range and a symbols, and retrieve historical data for it.

The period can be specified as daily, monthly, weekly or dividends_only:

    get_historical_prices(self, start_date, end_date, frequency='d')

yahoo_finance's People

Contributors

mmourafiq avatar

Stargazers

 avatar

Watchers

 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.