• Stars
    star
    627
  • Rank 71,654 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Finance application that provides more than 60 different alternative data to retail investors

Stocksera

Stocksera

Twitter

Downloads Downloads

You can view the application in stocksera.pythonanywhere.com.

Stocksera API available at https://pypi.org/project/stocksera or via pip install stocksera. View documentation at https://github.com/guanquann/Stocksera-API.

Support:

This website is free for use. If you wish to support this project, please star it on Github or PayPal to paypal.me/stocksera. Patreon is also available here.

Data Source:

  • Yahoo Finance, Finviz, Finnhub, FinancialModellingPrep, IBKR, Reddit, Finra, SEC, CompaniesMarketCap, SenateStockWatcher, HouseStockWatcher, Polygon, ARKFunds.io, Stocktwits, Twitter, Federal Reserve and much more...

User Guide:

/ticker/

  • View graph of your favourite ticker.

  • Gather key statistics such as EPS, beta and SMA.

  • Data is from yahoo finance Ticker Stats

  • Sort historical data based on % price change, volume, day and so on. Sort Historical Data

  • Get recent insider trading of a stock. Insider Trading

  • Get recent news and sentiment of a stock. News Sentiment

  • Google trend of a stock and compare it with it's closing price. Google Trend

  • Recommendations of a stock. Recommendations

  • Links to Stocktwits for discussion. Discussion

  • Links to Trading View for TA. Discussion

/ticker/options/

  • View options chain of your favourite ticker.
  • Find out the current max-pain price, OTM & ITM options, Call/Put ratio, historical max-pain.
  • Data is from Swaggy Stocks. Options Option Chain

/ticker/short_volume/

  • View short volume and short percentage of some of the popular tickers.
  • Data is from Finra. Short Volume

/ticker/failure_to_deliver/

  • View failure to deliver data of tickers.
  • Data is from SEC.gov. Failure to Deliver

/ticker/borrowed_shares/

  • View number of borrowed shares available and the borrow fee.
  • Data is from IBKR. Borrowed Shares

/ticker/regsho/

  • View days when ticker is in Regulation SHO Threshold List.
  • Data is from NYSE. Borrowed Shares

/wsb_live_ticker/

  • View number of mentions in WSB, calls/puts mentions and sentiment over time. WSB Live Ticker

/reddit_analysis/

  • Find the most popular tickers with their sentiment level on different subreddits such as r/wallstreetbets, r/stockmarket and r/stocks. Inspired from Auto DD.
  • Trending cryptocurrencies are also analysed in r/Cryptocurrency.
  • This only reads the post of the subreddit. The comments are not taken into account.
  • Data is updated daily, around 1 hour before market open. Reddit Analysis Stocks Reddit Analysis Crypto

/wsb_live/

  • Tracks trending tickers, sentiment, puts/calls ratio, price change and more on r/wallstreetbets realtime. WSB Live WSB Live WSB Live

/crypto_live/

  • Track trending crypto, sentiment, price change and more on r/CryptoCurrency realtime. Crypto Live

/reddit_ticker_analysis/

  • View ranking of popular tickers in Reddit over time and compare it with its price. Reddit Ranking Stocks

/subreddit_count/

  • Look at the increase in number of redditors on popular subreddits such as r/wallstreetbets, r/Superstonk and r/amcstock.
  • Growth in number of new redditors and percentage of active redditors. Subreddit Stats

/subreddit_count/?quote=AMC

  • Look at the increase in number of redditors/active users/percentage growth on specific subreddits and compare it with the stock price. Subreddit Stats Individual

/market_summary/

  • Overview of the performance of S&P500, Nasdaq100, DIA & WSB. Market Overview

/futures/

  • View market futures from Trading View Futures

/earnings_calendar/

  • View all tickers earnings report for the week ahead.
  • Market Cap, EPS Estimate and EPS Actual.
  • Sortable by market cap and day.
  • Data is from yahoo finance. Earnings Calendar

/ipo_calendar/

  • View upcoming and past IPOs IPO

/stocktwits/

  • View stocktwits trending tickers over time Stocktwits Trending

/twitter_trending/

  • View number of mentions of tickers on Twitter over time Twitter Trending

/senate/

  • View recent senate trading Senate Senate Senate

/house/

  • View recent house trading House House House

/short_interest/

  • Identify tickers with the highest short interest level.
  • Data is from shortinterest.com Short Interest

/low_float/

  • Identify tickers with low float.
  • Data is from lowfloat.com Low Float

/ark_trades/

  • View holdings, trades and news of all companies in ARK Fund.
  • View trades and ownership of a ticker.
  • Data is from arkfunds.io/api ARK Trades ARK Trades Individual

/reverse_repo/

  • Daily reverse repo transactions (amount, number of parties, average)
  • Data is from newyorkfed Reverse Repo

/daily_treasury/

/inflation/

/retail_sales/

/initial_jobless_claims/

  • View weekly initial jobless claims Initial Jobless Claims

/interest_rate/

  • View United States Fed Funds Rate Interest Rate

/insider/

  • Get latest insider trading in the last 1 month Insider Trading Insider Trading

/beta/

  • Calculate the true beta value of any stock real-time. Beta

/news/

  • View breaking, crypto, forex and merger news Latest News

/trading_halts/

  • View trading halts Trading Halts

/correlation/

  • View correlation between tickers Correlation

/dividend_history/

  • View dividend history of tickers Dividend

/stock_split/

  • View stock split of tickers Stock Split

/accounts/login/

  • Sign up for a free account to have access to all-in-one-dashboard and Stocksera API key. Stock Split

For developers:

Cloning project

git clone https://github.com/guanquann/Stocksera.git

Setting up WITHOUT docker

# Setting up environment
py -m venv venv
cd venv/Scripts
activate
cd ../..

# Install dependencies
pip install -r requirements.txt

# Set your MYSQL credentials in config.yaml first before proceeding
py setup/local.py

# Run application
# DO ENSURE THAT YOU HAVE ALL THE API KEYS NECESSARY IN http://localhost:8000/setup/ TO PREVENT UNWANTED ERRORS.
py manage.py runserver

Setup

Setting up WITH Docker

# Dockerise
# Set your MYSQL credentials in config.yaml first before proceeding
# Do note that MYSQL_HOST for docker container may not be localhost (mine is `db`)
py setup/docker.py
# Run the following in another command prompt if you are setting up for the first time using Docker
# Continue running `py setup/docker.py` even though there might be an error
# You might need to rerun setup/docker.py after `py setup/docker_db.py` successfully completed
py setup/docker_db.py

# DO ENSURE THAT YOU HAVE ALL THE API KEYS NECESSARY IN http://localhost:8000/setup/ TO PREVENT UNWANTED ERRORS.

To rerun in the future: Rerun Docker

Run scheduled tasks

Star History

Star History Chart

License

This project is under the MIT license.