/Stocksera

Web application that provides alternative financial data to retail investors

Primary LanguageJavaScriptMIT LicenseMIT

Stocksera

Stocksera

Twitter

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

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

Live demo is available at https://youtu.be/jkAZu7DvhvY.

Support:

This website is free for everyone. But if you want to support me, please give me a star on Github or you can PayPal to paypal.me/stocksera. Patreon is also available here.

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

  • Upgrades & Downgrades 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 max-pain price, OTM & ITM options and Call/Put ratio of the next few weeks.
  • Data is from TD Ameritrade. 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

/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_etf/

  • Analyse the performance of trending tickers on r/wallstreetbets.
  • Top 10 most mentioned tickers with the highest sentiment will be added to the "Reddit ETF" when market opens.
  • Tickers that fall outside the Top 10 list will be sold. Reddit ETF

/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

/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

/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

/amd_xlnx_ratio/

  • AMD-XLNX Share Price Ratio.
  • Percentage upside when buying XLNX AMD-XLNX Ratio

/news/

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

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

# Setting up database and configs
# Ensure that line 32 of config.yaml is uncommented
# Ensure that line 33 of config.yaml is commented
py setup/local.py

Setting up WITH Docker

# Dockerise
# Ensure that line 32 of config.yaml is commented
# Ensure that line 33 of config.yaml is uncommented
py setup/docker.py
# Run the following if you are setting up for the first time using Docker. You might need to rerun setup/docker.py
py setup/docker_db.py

tasks_to_run.py

  • Compilation of tasks that are needed to be completed.
  • Get trending tickers in Reddit, subreddit subscribers statistics, stocks with low float and high short interest.
docker compose run --rm web python tasks_to_run.py

Run scheduled tasks

License:

This project is under the MIT license.