https://github.com/austinjhunt/findance
A project for financial data compilation and analysis using freely provided Nasdaq market data and the open source project "yfinance"
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.5%) to scientific vocabulary
Repository
A project for financial data compilation and analysis using freely provided Nasdaq market data and the open source project "yfinance"
Basic Info
- Host: GitHub
- Owner: austinjhunt
- Language: Python
- Default Branch: master
- Size: 271 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
findance (pronounced: find ance)
A small-but-growing package for finding and collecting financial data from Nasdaq and expanding upon the scope of the data using the Yahoo! Finance API which is nicely wrapped by the open source project yfinance
Usage
To start, clone the repository.
git clone https://github.com/austinjhunt/findance
Then, go to the Nasdaq Stock Screener, apply any filters you wish to apply to narrow down the scope to stocks you are interested in, and choose "Download CSV".
Next, move that file you downloaded to the root of this project (or just make a note of its current path).
Create a virtual environment with Python3.6, activate it, and install the requirements.
python3.6 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Now, you can use the findance package.
Parameters
-
--nasdaq; this is the most important parameter; use this to tell the package what Nasdaq CSV file you want to use as your source of symbols. -
--handle-all-symbols; if you want to collect and write out data for ALL symbols in your Nasdaq files, pass this followed by a '1' for 'True'. -
--symbol; if you do not use --handle-all-symbols, you need to specify which symbol you want to collect the data for. Pick a symbol from your Nasdaq CSV. It needs to match. -
--output-folder; this tells the package where to write the data that it collects from Yahoo! Finance. In this folder, the package will create a timestamped folder with subfolders for either all symbols or just the one symbol you specified (dependent on --handle-all-symbols or --symbol); each symbol folder will contain a set of CSV/JSON files built from the Yahoo! Finance historical data for that symbol. The default output folder is json_data in the root of this project. There is already sample data in that folder to give you an idea of the structure.
Example:
python findance --nasdaq NASDAQ_JAN28_2021_10_06AM.csv --symbol MSFT
The above invocation would tell findance to use the file NASDAQJAN2820211006AM.csv pulled from the Nasdaq Stock Screener and to only pull data for the MSFT stock symbol. Since no --output-folder argument was passed, the default json_data folder is used as the output folder.
Owner
- Name: Austin Hunt
- Login: austinjhunt
- Kind: user
- Location: Greenville, SC
- Company: College of Charleston
- Website: https://austinjhunt.com
- Twitter: austinsketches
- Repositories: 20
- Profile: https://github.com/austinjhunt
Portrait-artist-turned-computer-geek with a fused love for the visual and the technical, bringing experience with and excitement for web dev, automation, & art
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- argparse ==1.4.0
- certifi ==2020.12.5
- chardet ==4.0.0
- idna ==2.10
- lxml ==4.6.2
- multitasking ==0.0.9
- numpy ==1.19.5
- pandas ==1.1.5
- python-dateutil ==2.8.1
- pytz ==2020.5
- requests ==2.25.1
- six ==1.15.0
- urllib3 ==1.26.3
- yaspin ==1.3.0
- yfinance ==0.1.55