Skip to content

A financial investment terminal and library

Notifications You must be signed in to change notification settings

sahandsydney/alphalib

 
 

Repository files navigation

alphalib

A financial investment app and library.

Features

  • Sentiment score with news sources.
  • Technical analysis charts.
  • Generate stock dataset.
  • Automated stock selection
  • Algorithm for target buy price.
  • Screen to update target buy price.
  • Automated stock tracker.

Financial Information

Fundamental Indicators

  • Earnings Per Share (EPS)
  • Price To Earnings Ratio (P/E)
  • Projected Earnings Growth (PEG)
  • Free Cash Flow (FCF)
  • Price to Book Ratio (P/B)
  • Return on Equity (ROE)
  • Dividend Payout Ratio (DPR)
  • Price to Sales Ratio (P/S)
  • Dividend Yield Ratio
  • Debt To Equity Ratio (D/E)

Stock

  • country
  • name
  • full_name
  • isin
  • currency
  • symbol

Stock Info

Available fields

  • 52WeekChange
  • SandP52WeekChange
  • address1
  • address2
  • algorithm
  • annualHoldingsTurnover
  • annualReportExpenseRatio
  • ask
  • askSize
  • averageDailyVolume10Day
  • averageVolume
  • averageVolume10days
  • beta
  • beta3Year
  • bid
  • bidSize
  • bookValue
  • category
  • circulatingSupply
  • city
  • coinMarketCapLink
  • companyOfficers
  • country
  • currency
  • currentPrice
  • currentRatio
  • dateShortInterest
  • dayHigh
  • dayLow
  • debtToEquity
  • dividendRate
  • dividendYield
  • earningsGrowth
  • earningsQuarterlyGrowth
  • ebitda
  • ebitdaMargins
  • enterpriseToEbitda
  • enterpriseToRevenue
  • enterpriseValue
  • exDividendDate
  • exchange
  • exchangeTimezoneName
  • exchangeTimezoneShortName
  • expireDate
  • fiftyDayAverage
  • fiftyTwoWeekHigh
  • fiftyTwoWeekLow
  • financialCurrency
  • fiveYearAverageReturn
  • fiveYearAvgDividendYield
  • floatShares
  • forwardEps
  • forwardPE
  • freeCashflow
  • fromCurrency
  • fullTimeEmployees
  • fundFamily
  • fundInceptionDate
  • gmtOffSetMilliseconds
  • grossMargins
  • grossProfits
  • heldPercentInsiders
  • heldPercentInstitutions
  • impliedSharesOutstanding
  • industry
  • isEsgPopulated
  • lastCapGain
  • lastDividendDate
  • lastDividendValue
  • lastFiscalYearEnd
  • lastMarket
  • lastSplitDate
  • lastSplitFactor
  • legalType
  • logo_url
  • longBusinessSummary
  • longName
  • market
  • marketCap
  • maxAge
  • maxSupply
  • messageBoardId
  • morningStarOverallRating
  • morningStarRiskRating
  • mostRecentQuarter
  • navPrice
  • netIncomeToCommon
  • nextFiscalYearEnd
  • numberOfAnalystOpinions
  • open
  • openInterest
  • operatingCashflow
  • operatingMargins
  • payoutRatio
  • pegRatio
  • phone
  • preMarketPrice
  • previousClose
  • priceHint
  • priceToBook
  • priceToSalesTrailing12Months
  • profitMargins
  • quickRatio
  • quoteType
  • recommendationKey
  • recommendationMean
  • regularMarketDayHigh
  • regularMarketDayLow
  • regularMarketOpen
  • regularMarketPreviousClose
  • regularMarketPrice
  • regularMarketVolume
  • returnOnAssets
  • returnOnEquity
  • revenueGrowth
  • revenuePerShare
  • revenueQuarterlyGrowth
  • sector
  • sharesOutstanding
  • sharesPercentSharesOut
  • sharesShort
  • sharesShortPreviousMonthDate
  • sharesShortPriorMonth
  • shortName
  • shortPercentOfFloat
  • shortRatio
  • startDate
  • state
  • strikePrice
  • symbol
  • targetHighPrice
  • targetLowPrice
  • targetMeanPrice
  • targetMedianPrice
  • threeYearAverageReturn
  • toCurrency
  • totalAssets
  • totalCash
  • totalCashPerShare
  • totalDebt
  • totalRevenue
  • tradeable
  • trailingAnnualDividendRate
  • trailingAnnualDividendYield
  • trailingEps
  • trailingPE
  • trailingPegRatio
  • twoHundredDayAverage
  • volume
  • volume24Hr
  • volumeAllCurrencies
  • website
  • yield
  • ytdReturn
  • zip

Yahoo Finance Screener

Libraries

Data Processing & Manipulation

  • numpy
  • pandas

Web Scraping & Data Extraction

  • BeautifulSoup
  • httpx
  • Requests
  • Scrapy
  • Selenium
  • Playwright
  • Urllib
  • selectolax

Price, Company Info & Fundamental Data Import

  • coingecko
  • data-link
  • eod-data
  • finviz
  • norgatedata
  • tiingo
  • simfin
  • ultrafinance
  • tia
  • yahoo_fin
  • yfinance

News & Social Media & News Sentiment

  • Facebook SDK
  • flair
  • keybert
  • praw
  • pygooglenews
  • textblob
  • tiingo
  • tweepy

Data Analysis & Statistics

  • numpy
  • pandas
  • scipy
  • statistics
  • statsmodels

Technical Indicators & Candlestick Patterns

  • finta
  • pandas-ta
  • TA-Lib
  • ta

Data Visualization & Price Charts

  • matplotlib
  • ploty
  • seaborn

Performance & Risk Analysis

  • ffn
  • finmarketpy
  • pyfin
  • pyfolio
  • QuantPy
  • QuantStats
  • thepassiveinvestor
  • vollib

Artificial Intelligence

  • keras
  • prophet
  • pytorch
  • Scikit Learn
  • tensorflow
  • TensorTrade

Backtesting

  • backtesting.py - to try
  • backtrader
  • bt
  • lean
  • pybacktest
  • QuantRocket
  • zipline

Live Trading

  • cctx
  • cex-io-api-python
  • FreqTrade
  • HummingBot
  • Pyalgotrade
  • QuantRocket
  • Tradelogics

Months

May - Buy June - Sell July - Sell August - Buy Sept - Buy (worst month)

Lotto

For a time series dataset with the following fields

  • date
  • lucky_no

Write a python script that

  • generate more features from the dataset
  • predict the future lucky number

About

A financial investment terminal and library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.7%
  • Python 1.3%