Comments (5)
While for some companies it doesn't change often, it would lead to outdated metrics for companies that grow quickly. For example companies like Tesla and Amazon. It would also force me to update quarterly to collect the most recent market cap. I'd prefer to steer away from that.
Instead, find attached the market cap of all equities (as of the 3rd of February).
from financedatabase.
True, but any past data would still be more useful than no data.
Even if not updated at all (but date provided).
80 000 API calls is a lot just to have some basic understanding of the field. Your call.
For competitor analysis is there any better way than looking for other companies in same industry?
Like a restaurant would be different from fast-food one but they are in the same Restaurants category.
eg. Domino's pizza vs McDonald's
Maybe a company: [list_of_products] database.
Cheers
from financedatabase.
There is a legal issue here as well. Data is collected from Yahoo Finance and if I would store all datapoints obtained from the API, they would have (even more) legal ground to shut down this repository. I'd like to prevent that by minimising the amount of data points and not be time-reliant while still being informative. Besides that, I wonder why you want to collect data of all equities as going over 80.000 tickers is quite difficult.
For a competitor analysis, your best bet is to go over their summary. With the function search_products
you can search for specific keywords. This can also be a list of the most prominent fast-food by for example scraping the lists found here which results in this:
import wikipedia as wp
fast_food_chains = wp.page("List_of_fast_food_restaurant_chains")
list_of_fast_food_companies = fast_food_chains.links
copy = list_of_fast_food_companies.copy()
for item in copy:
if 'List' in item:
list_of_fast_food_companies.remove(item)
print(list_of_fast_food_companies)
In some areas this can be difficult, the difference between restaurants is a good example. An easier example would be comparing semiconductor companies or airlines because these companies usually stick to one specific niche.
I currently have no data that gives information on the products created by each company. This is something highly detailed you would have to scrape elsewhere. Unfortunately, this is also where you come into the area of paid services. Bloomberg Terminals probably offer this which costs thousands a year.
from financedatabase.
That's clever, I would have used NLP to break down the summary description into subjects, interesting that no one tried to tackle this problem in an open source project. I will look into and let you know if I have some usable results.
from financedatabase.
That's clever, I would have used NLP to break down the summary description into subjects, interesting that no one tried to tackle this problem in an open source project. I will look into and let you know if I have some usable results.
Yes please let me know! Note that some summaries do not contain a lot of information. For example McDonalds' one:
McDonald's Corporation operates and franchises McDonald's restaurants in the United States and internationally. Its restaurants offer various food products and beverages, as well as breakfast menu. As of December 31, 2019, the company operated 38,695 restaurants. McDonald's Corporation was founded in 1940 and is based in Chicago, Illinois.
Thus you perhaps need to collect data from different sources.
from financedatabase.
Related Issues (20)
- [BUG] No required/depends clauses in setup.py/pyproject.toml HOT 3
- [IMPROVE] Dynamic loading of Pickle data HOT 4
- [DATA] - Added Kenya Agriculturals HOT 1
- [DATA]root directory database has case sensitive conflict with "FinanceDatabase/financedatabase/helpers.py"
- Failed downloads HOT 4
- [IMPROVE] remove accented characters from name column HOT 2
- Can I get the Sec fillings from this database? HOT 1
- [FR] Multiple criteria while searching HOT 2
- [IMPROVE] The 'pathlib' module is used but it doesn't appear in the dependencies section in pyproject.toml HOT 2
- IndexError in technical analysis of biotech ETFs during coronacrisis sample HOT 2
- Typo error in contributing file
- TYPO ERROR
- [TYPO] in https://github.com/JerBouma/FinanceDatabase/blob/main/compression/README.md?plain=1
- Typo Error In Readme File
- [DATA] Added MBG.DE and DTG.DE HOT 1
- [DATA] Fixed data for FFH.TO HOT 4
- [FR] List of ETFs and stocks HOT 2
- Support for option chain data HOT 1
- [DATA] How can we contribute ISIN codes ? HOT 2
- [DATA] How can we contribute ISIN codes ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from financedatabase.