Stocksera
Finance application that provides more than 60 different alternative data to retail investors
Install / Use
/learn @guanquann/StockseraREADME
Stocksera

NOTE: I'm still in the midst of fixing bugs. (Govt trades)
<b>Stocksera API available at https://pypi.org/project/stocksera or via pip install stocksera. View documentation at https://github.com/guanquann/Stocksera-API. </b>
Support:
If you wish to support this project, please star it on Github or PayPal to <a href="https://www.paypal.me/stocksera">paypal.me/stocksera</a>. Patreon is also available <a href="https://www.patreon.com/stocksera" target="_blank">here</a>.
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 <a href="https://finance.yahoo.com/">yahoo finance</a>

-
Sort historical data based on % price change, volume, day and so on.

-
Get recent insider trading of a stock.

-
Get recent news and sentiment of a stock.

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

-
Recommendations of a stock.

-
Links to Stocktwits for discussion.

-
Links to Trading View for TA.

/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 <a href="https://swaggystocks.com/dashboard/options-max-pain">Swaggy Stocks</a>.

/ticker/short_volume/
- View short volume and short percentage of some of the popular tickers.
- Data is from <a href="https://cdn.finra.org/">Finra</a>.

/ticker/failure_to_deliver/
- View failure to deliver data of tickers.
- Data is from <a href="https://www.sec.gov/data/foiadocsfailsdatahtm">SEC.gov</a>.

/ticker/borrowed_shares/
- View number of borrowed shares available and the borrow fee.
- Data is from <a href="https://www.interactivebrokers.com/">IBKR</a>.

/ticker/regsho/
- View days when ticker is in Regulation SHO Threshold List.
- Data is from <a href="https://www.nyse.com/api/regulatory/threshold-securities/">NYSE</a>.

/wsb_live_ticker/
- View number of mentions in WSB, calls/puts mentions and sentiment over time.
/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 <a href="https://github.com/kaito1410/AutoDD_Rev2/blob/main/AutoDD.py">Auto DD</a>.
- 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.

/wsb_live/
- Tracks trending tickers, sentiment, puts/calls ratio, price change and more on r/wallstreetbets realtime.
/crypto_live/
- Track trending crypto, sentiment, price change and more on r/CryptoCurrency realtime.

/reddit_ticker_analysis/
- View ranking of popular tickers in Reddit over time and compare it with its price.

/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_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.

/market_summary/
- Overview of the performance of S&P500, Nasdaq100, DIA & WSB.

/futures/
- View market futures from Trading View

/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 <a href="https://finance.yahoo.com/">yahoo finance</a>.

/ipo_calendar/
- View upcoming and past IPOs

/stocktwits/
- View stocktwits trending tickers over time

/twitter_trending/
- View number of mentions of tickers on Twitter over time

/senate/
- View recent senate trading

/house/
- View recent house trading

/short_interest/
- Identify tickers with the highest short interest level.
- Data is from <a href="https://www.highshortinterest.com">shortinterest.com</a>

/low_float/
- Identify tickers with low float.
- Data is from <a href="https://www.lowfloat.com">lowfloat.com</a>

/ark_trades/
- View holdings, trades and news of all companies in ARK Fund.
- View trades and ownership of a ticker.
- Data is from <a href="https://arkfunds.io/api/">arkfunds.io/api</a>

/reverse_repo/
- Daily reverse repo transactions (amount, number of parties, average)
- Data is from <a href="https://apps.newyorkfed.org/markets/autorates/tomo-search-page">newyorkfed</a>
/daily_treasury/
- Daily treasury (closing balance, opening balance)
- Data is from <a href="https://fiscaldata.treasury.gov/datasets/daily-treasury-statement/operating-cash-balance">fiscaldata.treasury.gov</a>
/inflation/
- Monthly inflation rate (with heat map) from 1960
- Data is from <a href="https://www.usinflationcalculator.com/inflation/current-inflation-rates/">usinflationcalculator.com/inflation</a>

/retail_sales/
- Monthly retail sales and compare it with the number of covid-19 cases
- Retail sales data is from <a href="https://ycharts.com/indicators/us_retail_and_food_services_sales">ycharts.com/indicators/us_retail_and_food_services_sales</a>
- Covid-19 data is from <a href="https://covid.ourworldindata.org/data/owid-covid-data.csv">covid.ourworldindata.org/data/owid-covid-data.csv</a>

/initial_jobless_claims/
- View weekly initial jobless claims

/interest_rate/
- View United States Fed Funds Rate

/insider/
- Get latest insider trading in the last 1 month

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

/news/
- View breaking, crypto, forex and merger news

/trading_halts/
- View trading halts

/correlation/
- View correlation between tickers

/dividend_history/
- View dividend history of tickers

/stock_split/
- View stock split of tickers

/accounts/login/
- Sign up for a free account to have access to all-in-one-dashboard and Stocksera API key.

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 requir
Related Skills
beanquery-mcp
41Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants to query and analyze Beancount ledger files using Beancount Query Language (BQL) and the beanquery tool.
valuecell
9.8kValueCell is a community-driven, multi-agent platform for financial applications.
REFERENCE
An intelligent middleware layer between crypto wallets and traditional payment systems.
cashu-skill
A Cashu wallet skill for AI agents
