{"id":13699986,"url":"https://github.com/slawek87/yql-finance","last_synced_at":"2025-05-04T18:33:58.770Z","repository":{"id":24888922,"uuid":"28305058","full_name":"slawek87/yql-finance","owner":"slawek87","description":"YQL-finance is a simple and fast Python API https://developer.yahoo.com/yql/console/. The API returns closing prices of stocks for the current period of time and current stock ticker (e.g. APPL, GOOGL). Stock prices: NASDAQ, SP\u0026500, DAX, etc.","archived":false,"fork":false,"pushed_at":"2015-08-29T11:41:12.000Z","size":338,"stargazers_count":16,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T13:44:33.677Z","etag":null,"topics":["python","stock-prices","yql-finance"],"latest_commit_sha":null,"homepage":"http://slawek87.github.io/yql-finance/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slawek87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-21T16:18:05.000Z","updated_at":"2023-12-15T06:42:34.000Z","dependencies_parsed_at":"2022-08-22T19:41:01.174Z","dependency_job_id":null,"html_url":"https://github.com/slawek87/yql-finance","commit_stats":null,"previous_names":["iknowledge-io/yql-finance"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slawek87%2Fyql-finance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slawek87%2Fyql-finance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slawek87%2Fyql-finance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slawek87%2Fyql-finance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slawek87","download_url":"https://codeload.github.com/slawek87/yql-finance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252382835,"owners_count":21739225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","stock-prices","yql-finance"],"created_at":"2024-08-02T20:00:46.796Z","updated_at":"2025-05-04T18:33:56.569Z","avatar_url":"https://github.com/slawek87.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":["Data Sources"],"readme":"What is yql-finance?\n===========\n![Alt text](https://travis-ci.org/slawek87/yql-finance.svg?branch=master)\u0026nbsp;\u0026nbsp;\u0026nbsp;[![PyPI version](https://badge.fury.io/py/yql-finance.svg)](http://badge.fury.io/py/yql-finance)\n\nyql-finance is simple and fast https://developer.yahoo.com/yql/console/ python API.\n    API returns stock closing prices for current period of time and current stock ticker (i.e. APPL, GOOGL).\n    Stock prices: NASDAQ, SP\u0026500, DAX etc.\n\nHow to use it?\n==============\nYou can use it to fetch data in one of two ways:\n\n```python\nyql = YQL('AAPL', '2011-01-01', '2014-12-31')\n```\nor\n```python\nyql = YQL()\nyql.select('AAPL', '2011-01-01', '2014-12-31')\n```\n\nHow to install it?\n===================\n    pip install yql-finance\n\nExamples\n===============\n\n1. First way:\n```python\nfrom yql.api import YQL\n\nyql = YQL('AAPL', '2014-01-01', '2014-01-10')\n\nfor item in yql:\n    print item.get('date'), item.get('price')\n```\n2. Second way:\n```python\nfrom yql.api import YQL\n\nyql = YQL()\n\nyql.select('AAPL', '2014-01-01', '2014-01-10')\n\nfor item in yql:\n    print item.get('date'), item.get('price')\n```\nOutput:\n```\n2014-01-10 74.57\n2014-01-09 75.07\n2014-01-08 76.04\n2014-01-07 75.56\n2014-01-06 76.10\n2014-01-03 75.69\n2014-01-02 77.39\n```\n\nMore examples you should find [here](https://github.com/iknowledge-io/yql-finance/tree/master/examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslawek87%2Fyql-finance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslawek87%2Fyql-finance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslawek87%2Fyql-finance/lists"}