{"id":13510142,"url":"https://github.com/guanquann/Stocksera","last_synced_at":"2025-03-30T15:30:51.946Z","repository":{"id":37541741,"uuid":"368440863","full_name":"guanquann/Stocksera","owner":"guanquann","description":"Finance application that provides more than 60 different alternative data to retail investors","archived":false,"fork":false,"pushed_at":"2024-08-19T03:40:18.000Z","size":86561,"stargazers_count":652,"open_issues_count":3,"forks_count":105,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-01T10:35:16.388Z","etag":null,"topics":["cryptocurrency","daytrading","due-diligence","finance","financial-data","ibkr","investing","market-data","options-trading","reddit","stock","stock-market","stocks","trading","yahoo-finance"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guanquann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"stocksera","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.com/paypalme/stocksera"]}},"created_at":"2021-05-18T07:34:00.000Z","updated_at":"2024-10-31T15:45:31.000Z","dependencies_parsed_at":"2024-01-13T19:25:28.265Z","dependency_job_id":"1ad1ba5c-68c9-49a9-a25f-38174c343ae1","html_url":"https://github.com/guanquann/Stocksera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanquann%2FStocksera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanquann%2FStocksera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanquann%2FStocksera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanquann%2FStocksera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guanquann","download_url":"https://codeload.github.com/guanquann/Stocksera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246338699,"owners_count":20761421,"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":["cryptocurrency","daytrading","due-diligence","finance","financial-data","ibkr","investing","market-data","options-trading","reddit","stock","stock-market","stocks","trading","yahoo-finance"],"created_at":"2024-08-01T02:01:25.930Z","updated_at":"2025-03-30T15:30:46.937Z","avatar_url":"https://github.com/guanquann.png","language":"JavaScript","readme":"# Stocksera\n\n![Stocksera](./static/images/github/logo.png)\n\n### NOTE: I'm still in the midst of fixing bugs. (Govt trades)\n\n[![Downloads](https://static.pepy.tech/badge/stocksera)](https://pepy.tech/project/stocksera)\n\n\u003cb\u003eStocksera API available at https://pypi.org/project/stocksera or via `pip install stocksera`. View documentation at https://github.com/guanquann/Stocksera-API. \u003c/b\u003e\n\n### Support:\n\nIf you wish to support this project, please star it on Github or PayPal to \u003ca href=\"https://www.paypal.me/stocksera\"\u003epaypal.me/stocksera\u003c/a\u003e. Patreon is also available \u003ca href=\"https://www.patreon.com/stocksera\" target=\"_blank\"\u003ehere\u003c/a\u003e.\n\n### Data Source:\n\n- Yahoo Finance, Finviz, Finnhub, FinancialModellingPrep, IBKR, Reddit, Finra, SEC, CompaniesMarketCap, SenateStockWatcher, HouseStockWatcher, Polygon, ARKFunds.io, Stocktwits, Twitter, Federal Reserve and much more...\n\n### User Guide:\n\n#### /ticker/\n\n- View graph of your favourite ticker.\n- Gather key statistics such as EPS, beta and SMA.\n- Data is from \u003ca href=\"https://finance.yahoo.com/\"\u003eyahoo finance\u003c/a\u003e\n  ![Ticker Stats](./static/images/github/ticker_main.png)\n\n- Sort historical data based on % price change, volume, day and so on.\n  ![Sort Historical Data](./static/images/github/ticker_main1.png)\n\n- Get recent insider trading of a stock.\n  ![Insider Trading](./static/images/github/ticker_main2.png)\n\n- Get recent news and sentiment of a stock.\n  ![News Sentiment](./static/images/github/ticker_main3.png)\n\n- Google trend of a stock and compare it with it's closing price.\n  ![Google Trend](./static/images/github/ticker_main4.png)\n\n- Recommendations of a stock.\n  ![Recommendations](./static/images/github/ticker_main5.png)\n\n- Links to Stocktwits for discussion.\n  ![Discussion](./static/images/github/ticker_main6.png)\n\n- Links to Trading View for TA.\n  ![Discussion](./static/images/github/ticker_main7.png)\n\n#### /ticker/options/\n\n- View options chain of your favourite ticker.\n- Find out the current max-pain price, OTM \u0026 ITM options, Call/Put ratio, historical max-pain.\n- Data is from \u003ca href=\"https://swaggystocks.com/dashboard/options-max-pain\"\u003eSwaggy Stocks\u003c/a\u003e.\n  ![Options](./static/images/github/options.png)\n  ![Option Chain](./static/images/github/options1.png)\n\n#### /ticker/short_volume/\n\n- View short volume and short percentage of some of the popular tickers.\n- Data is from \u003ca href=\"https://cdn.finra.org/\"\u003eFinra\u003c/a\u003e.\n  ![Short Volume](./static/images/github/short_volume.png)\n\n#### /ticker/failure_to_deliver/\n\n- View failure to deliver data of tickers.\n- Data is from \u003ca href=\"https://www.sec.gov/data/foiadocsfailsdatahtm\"\u003eSEC.gov\u003c/a\u003e.\n  ![Failure to Deliver](./static/images/github/ftd.png)\n\n#### /ticker/borrowed_shares/\n\n- View number of borrowed shares available and the borrow fee.\n- Data is from \u003ca href=\"https://www.interactivebrokers.com/\"\u003eIBKR\u003c/a\u003e.\n  ![Borrowed Shares](./static/images/github/borrowed_shares.png)\n\n#### /ticker/regsho/\n\n- View days when ticker is in Regulation SHO Threshold List.\n- Data is from \u003ca href=\"https://www.nyse.com/api/regulatory/threshold-securities/\"\u003eNYSE\u003c/a\u003e.\n  ![Borrowed Shares](./static/images/github/regsho.png)\n\n#### /wsb_live_ticker/\n\n- View number of mentions in WSB, calls/puts mentions and sentiment over time.\n  ![WSB Live Ticker](./static/images/github/wsb_live_ticker.PNG)\n\n#### /reddit_analysis/\n\n- Find the most popular tickers with their sentiment level on different subreddits such as r/wallstreetbets, r/stockmarket and r/stocks. Inspired from \u003ca href=\"https://github.com/kaito1410/AutoDD_Rev2/blob/main/AutoDD.py\"\u003eAuto DD\u003c/a\u003e.\n- Trending cryptocurrencies are also analysed in r/Cryptocurrency.\n- This only reads the post of the subreddit. The comments are not taken into account.\n- Data is updated daily, around 1 hour before market open.\n  ![Reddit Analysis Stocks](./static/images/github/reddit_trending.png)\n  ![Reddit Analysis Crypto](./static/images/github/reddit_cryptocurrency.png)\n\n#### /wsb_live/\n\n- Tracks trending tickers, sentiment, puts/calls ratio, price change and more on r/wallstreetbets realtime.\n  ![WSB Live](./static/images/github/wsb_live.PNG)\n  ![WSB Live](./static/images/github/wsb_live1.PNG)\n  ![WSB Live](./static/images/github/wsb_live2.PNG)\n\n#### /crypto_live/\n\n- Track trending crypto, sentiment, price change and more on r/CryptoCurrency realtime.\n  ![Crypto Live](./static/images/github/crypto_live.png)\n\n#### /reddit_ticker_analysis/\n\n- View ranking of popular tickers in Reddit over time and compare it with its price.\n  ![Reddit Ranking Stocks](./static/images/github/reddit_ranking.png)\n\n#### /subreddit_count/\n\n- Look at the increase in number of redditors on popular subreddits such as r/wallstreetbets, r/Superstonk and r/amcstock.\n- Growth in number of new redditors and percentage of active redditors.\n  ![Subreddit Stats](./static/images/github/subreddit_stats.png)\n\n#### /subreddit_count/?quote=AMC\n\n- Look at the increase in number of redditors/active users/percentage growth on specific subreddits and compare it with the stock price.\n  ![Subreddit Stats Individual](./static/images/github/subreddit_stats_individual.png)\n\n#### /market_summary/\n\n- Overview of the performance of S\u0026P500, Nasdaq100, DIA \u0026 WSB.\n  ![Market Overview](./static/images/github/market_summary.png)\n\n#### /futures/\n\n- View market futures from Trading View\n  ![Futures](./static/images/github/futures.png)\n\n#### /earnings_calendar/\n\n- View all tickers earnings report for the week ahead.\n- Market Cap, EPS Estimate and EPS Actual.\n- Sortable by market cap and day.\n- Data is from \u003ca href=\"https://finance.yahoo.com/\"\u003eyahoo finance\u003c/a\u003e.\n  ![Earnings Calendar](./static/images/github/earnings_calendar.png)\n\n#### /ipo_calendar/\n\n- View upcoming and past IPOs\n  ![IPO](./static/images/github/ipo.png)\n\n#### /stocktwits/\n\n- View stocktwits trending tickers over time\n  ![Stocktwits Trending](./static/images/github/stocktwits_trending.png)\n\n#### /twitter_trending/\n\n- View number of mentions of tickers on Twitter over time\n  ![Twitter Trending](./static/images/github/twitter_trending.png)\n\n#### /senate/\n\n- View recent senate trading\n  ![Senate](./static/images/github/senate_trading.png)\n  ![Senate](./static/images/github/senate_trading1.png)\n  ![Senate](./static/images/github/senate_trading2.png)\n\n#### /house/\n\n- View recent house trading\n  ![House](./static/images/github/house_trading.png)\n  ![House](./static/images/github/house_trading1.png)\n  ![House](./static/images/github/house_trading2.png)\n\n#### /short_interest/\n\n- Identify tickers with the highest short interest level.\n- Data is from \u003ca href=\"https://www.highshortinterest.com\"\u003eshortinterest.com\u003c/a\u003e\n  ![Short Interest](./static/images/github/short_interest.png)\n\n#### /low_float/\n\n- Identify tickers with low float.\n- Data is from \u003ca href=\"https://www.lowfloat.com\"\u003elowfloat.com\u003c/a\u003e\n  ![Low Float](./static/images/github/low_float.png)\n\n#### /ark_trades/\n\n- View holdings, trades and news of all companies in ARK Fund.\n- View trades and ownership of a ticker.\n- Data is from \u003ca href=\"https://arkfunds.io/api/\"\u003earkfunds.io/api\u003c/a\u003e\n  ![ARK Trades](./static/images/github/ark_trades.png)\n  ![ARK Trades Individual](./static/images/github/ark_trades_individual.png)\n\n#### /reverse_repo/\n\n- Daily reverse repo transactions (amount, number of parties, average)\n- Data is from \u003ca href=\"https://apps.newyorkfed.org/markets/autorates/tomo-search-page\"\u003enewyorkfed\u003c/a\u003e\n  ![Reverse Repo](./static/images/github/reverse_repo.PNG)\n\n#### /daily_treasury/\n\n- Daily treasury (closing balance, opening balance)\n- Data is from \u003ca href=\"https://fiscaldata.treasury.gov/datasets/daily-treasury-statement/operating-cash-balance\"\u003efiscaldata.treasury.gov\u003c/a\u003e\n  ![Daily Treasury](./static/images/github/daily_treasury.PNG)\n\n#### /inflation/\n\n- Monthly inflation rate (with heat map) from 1960\n- Data is from \u003ca href=\"https://www.usinflationcalculator.com/inflation/current-inflation-rates/\"\u003eusinflationcalculator.com/inflation\u003c/a\u003e\n  ![Inflation](./static/images/github/inflation.png)\n\n#### /retail_sales/\n\n- Monthly retail sales and compare it with the number of covid-19 cases\n- Retail sales data is from \u003ca href=\"https://ycharts.com/indicators/us_retail_and_food_services_sales\"\u003eycharts.com/indicators/us_retail_and_food_services_sales\u003c/a\u003e\n- Covid-19 data is from \u003ca href=\"https://covid.ourworldindata.org/data/owid-covid-data.csv\"\u003ecovid.ourworldindata.org/data/owid-covid-data.csv\u003c/a\u003e\n  ![Retail Sales](./static/images/github/retail_sales.png)\n\n#### /initial_jobless_claims/\n\n- View weekly initial jobless claims\n  ![Initial Jobless Claims](./static/images/github/jobless_claims.png)\n\n#### /interest_rate/\n\n- View United States Fed Funds Rate\n  ![Interest Rate](./static/images/github/interest_rate.png)\n\n#### /insider/\n\n- Get latest insider trading in the last 1 month\n  ![Insider Trading](./static/images/github/latest_insider.png)\n  ![Insider Trading](./static/images/github/latest_insider1.png)\n\n#### /beta/\n\n- Calculate the true beta value of any stock real-time.\n  ![Beta](./static/images/github/beta.png)\n\n#### /news/\n\n- View breaking, crypto, forex and merger news\n  ![Latest News](./static/images/github/news.png)\n\n#### /trading_halts/\n\n- View trading halts\n  ![Trading Halts](./static/images/github/trading_halt.png)\n\n#### /correlation/\n\n- View correlation between tickers\n  ![Correlation](./static/images/github/correlation.png)\n\n#### /dividend_history/\n\n- View dividend history of tickers\n  ![Dividend](./static/images/github/dividend.png)\n\n#### /stock_split/\n\n- View stock split of tickers\n  ![Stock Split](./static/images/github/split.png)\n\n#### /accounts/login/\n\n- Sign up for a free account to have access to all-in-one-dashboard and Stocksera API key.\n  ![Stock Split](./static/images/github/profile.png)\n\n### For developers:\n\n#### Cloning project\n\n```\ngit clone https://github.com/guanquann/Stocksera.git\n```\n\n#### Setting up WITHOUT docker\n\n```\n# Setting up environment\npy -m venv venv\ncd venv/Scripts\nactivate\ncd ../..\n\n# Install dependencies\npip install -r requirements.txt\n\n# Set your MYSQL credentials in config.yaml first before proceeding\npy setup/local.py\n\n# Run application\n# DO ENSURE THAT YOU HAVE ALL THE API KEYS NECESSARY IN http://localhost:8000/setup/ TO PREVENT UNWANTED ERRORS.\npy manage.py runserver\n```\n\n![Setup](./static/images/github/setup.png)\n\n#### Setting up WITH Docker\n\n```\n# Dockerise\n# Set your MYSQL credentials in config.yaml first before proceeding\n# Do note that MYSQL_HOST for docker container may not be localhost (mine is `db`)\npy setup/docker.py\n```\n\n```\n# Run the following in another command prompt if you are setting up for the first time using Docker\n# Continue running `py setup/docker.py` even though there might be an error\n# You might need to rerun setup/docker.py after `py setup/docker_db.py` successfully completed\npy setup/docker_db.py\n\n# DO ENSURE THAT YOU HAVE ALL THE API KEYS NECESSARY IN http://localhost:8000/setup/ TO PREVENT UNWANTED ERRORS.\n```\n\nTo rerun in the future:\n![Rerun Docker](./static/images/github/rerun_docker.png)\n\n#### Run scheduled tasks\n\n- Please refer to [Scheduled Tasks Guide](https://github.com/guanquann/Stocksera/tree/master/scheduled_tasks) for more information on how to run scheduled tasks.\n\n### Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=guanquann/Stocksera\u0026type=Date)](https://star-history.com/#guanquann/Stocksera\u0026Date)\n\n### License\n\nThis project is under the \u003ca href=\"https://github.com/guanquann/stocksera/blob/master/LICENSE\"\u003eMIT\u003c/a\u003e license.\n","funding_links":["https://patreon.com/stocksera","https://www.paypal.com/paypalme/stocksera","https://www.paypal.me/stocksera","https://www.patreon.com/stocksera"],"categories":["JavaScript","trading"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanquann%2FStocksera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguanquann%2FStocksera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanquann%2FStocksera/lists"}