Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate 'exchange:' property into json & create all_full_tickers.json #3

Open
awsles opened this issue Jan 7, 2024 · 0 comments

Comments

@awsles
Copy link

awsles commented Jan 7, 2024

I'm wondering if you could insert the exchange into each respective amex/nyse/nasdaq json file when you create it? And/or possibly create an all_full_tickers.json which merges the three files with the respective exchange name in each entry.

In looking at https://github.com/marketplace/actions/find-and-replace (or some other search/replace), it appears this could be done in the github actions by doing a FIND on "symbol": and REPLACE with "exchange":"nasdaq", \n "symbol": By adding this property to each file, you can then create a combined file all_full_tickers.json. For example:

{
    "exchange": "nasdaq",
    "symbol": "AACG",
    "name": "ATA Creativity Global American Depositary Shares",
    "lastsale": "$1.11",
    "netchange": "0.02",
    "pctchange": "1.835%",
    "volume": "13754",
    "marketCap": "35100609.00",
    "country": "China",
    "ipoyear": "2008",
    "industry": "Other Consumer Services",
    "sector": "Real Estate",
    "url": "/market-activity/stocks/aacg"
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant