Skip to content

v0.8.0

Choose a tag to compare

@deepentropy deepentropy released this 15 Oct 08:20
· 5 commits to main since this release

Highlights

tvscreener now reads the data behind TradingView's symbol pages, charts and calendars. No account needed.

  • Financial statements: get_financials("NASDAQ:AAPL", "income", "FY"). Income statement, balance sheet, cash flow and statistics by fiscal year, quarter, half-year or TTM. About 20 years and 32 quarters for large companies, in TradingView's layout (industrial, bank, insurer).
  • Real-time quotes: stream_quotes(["NASDAQ:AAPL", "BINANCE:BTCUSDT"]) yields each change pushed by TradingView, including pre/after-market prices. update_mode shows delayed exchanges.
  • Corporate events and seasonals: get_corporate_events() returns recent dividends, earnings vs estimates and splits. get_seasonals() returns monthly returns by year.
  • Economic calendar: get_economic_calendar(start, end, countries, importance) with actual, forecast and previous values.
  • Filings and transcripts: get_documents() lists 10-Q/10-K, earnings releases and transcripts. get_document() returns transcript or summary text. get_earnings_calls() returns call dates with transcript and audio links.
  • News: get_news() filters by provider, market, sector, corporate activity (insider trading, ESG, analyst ratings...), country and priority. get_article() takes a story id.
  • Market helpers:
    • search_symbols(): search by ticker, name, ISIN or CUSIP
    • get_peers(): largest companies of the same industry
    • get_forward_curve(): futures term structure
    • get_yield_matrix(): government yields by country and tenor
    • get_volatility_smile(): implied volatility by strike or moneyness

Guides: Financials and Events · News and Filings · Real-Time Quotes

Changes to note

  • New dependency: websocket-client. It is used by get_financials, stream_quotes, get_corporate_events and get_seasonals.
  • get_article(): the argument is renamed from story_path to story. It accepts a story id (news API) or a story_path (web page).
  • Article text keeps paragraph breaks, and symbol and link text.
  • Logged out, get_corporate_events() returns recent history only: about 20 dividends and 2 years of earnings. get_financials() has the long EPS and revenue history.