fkotey / Stocksera

Stocks Analysis based on DD and Reddit/News sentiment

Home Page:https://stocksera.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StocksEra

You can view the application in:

Both websites are exactly the same. But because I'm hosting it free on pythonanywhere, speed of website can be (very) slow when traffic is high.

Web Traffic

Please use the other website if the one you are using is slow. Alternatively, you can host it locally on your computer, where the speed is much faster.

Support:

This website will be free forever! No subscription needed! But if you want to support me, please give me a star on Github or you can PayPal to https://www.paypal.me/stocksera

User Guide

/ticker/

  • View graph/historical data of your favourite ticker.
  • Gather key statistics such as EPS, beta and SMA.
  • Proportion of stocks held by major holders and major institutions.
  • Google trending.
  • Data is from yahoo finance Ticker Stats

/ticker/options/

  • View options chain of your favourite ticker. Inspired from Gamestonk Terminal
  • Find out the max-pain price, OTM & ITM options and Call/Put ratio of the next few weeks.
  • NOTE: Options chain and max-pain price are updated real time. Hence, there may be a slight delay in rendering this page.
  • Data is from yahoo finance Options

/ticker/short_volume/

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

/ticker/failure_to_deliver/

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

/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

/reddit_analysis/

  • Find the most mentioned tickers with their sentiment level on different subreddits such as r/wallstreetbets, r/stockmarket and r/stocks. Inspired from Auto DD
  • Data is updated daily, around 1 hour before market open. Reddit Analysis

/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

/subreddit_count/

  • Look at the increase in number of redditors on popular sub-reddits such as r/wallstreetbets, r/Superstonk and r/amcstock.
  • Growth in number of new redditors and percentage of active redditors.
  • This page is currently very basic, open to new suggestions on how to improve this page. Subreddit Stats

/due_diligence/

  • Note: This page is still in development
  • A compilation of top due-diligence on Reddit.
  • Data is manually sourced by Stocksera on a regular basis.

/top_movers/

  • Identify top gainers and losers during market hours. Top Movers

/short_interest/

  • Identify tickers with the highest short interest level. Short Interest

/low_float/

  • Identify tickers with low float. 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

/latest_news/

  • View latest news of your favorite ticker
  • Get their overall news sentiment and their sentiment level over time
  • Compare the sentiment level with other popular tickers such as GME, AAPL, TSLA.
  • NOTE: This feature is not available on pythonanywhere. To use this feature, you have to host the application locally. Please refer to the Developers section for more details
  • Data is from finviz News Sentiment

For developers:

  • Advantages of hosting it locally on your computer:
    • Faster rendering time
    • Customise your own ticker
    • Access to news sentiment

Setting up and installing dependencies

# Clone the project
git clone https://github.com/spartan737/Stocksera.git

# Create environment
py -m venv venv

# Navigate into project's folder
cd Stockera

# Install modules
pip install -r requiresments.txt

# Set up static file
py manage.py collectstatic

Sign up credentials for Reddit API

Setting up SQLite database (file found in scheduled_tasks folder)

cd scheduled_tasks
py create_database.py

Run scheduled tasks

Setting up news sentiment

  • Go to ViewStocks/urls.py and uncomment 'sub_news/' and 'latest_news/'.
  • Go to templates/format.html and uncomment line 33.
  • Go to templates/ticker_price.html and uncomment line 92-95.

Running the application

# Run application (view it in 127.0.0.1:8000):
py manange.py runserver
# And you're ready to explore!

License:

This project is under the MIT license.

About

Stocks Analysis based on DD and Reddit/News sentiment

https://stocksera.pythonanywhere.com/

License:MIT License


Languages

Language:HTML 37.5%Language:Python 32.1%Language:JavaScript 19.1%Language:CSS 11.3%