Skip to content

soulgarden/twelvedata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twelve data go api client

Go Report Card Tests and linters

Install

go get github.com/soulgarden/twelvedata@latest

If you're upgrading from v0.1.x, see MIGRATION.md.

Covered:

Market data

  • Time series ✅ High demand
  • Time series cross ✅
  • Quote ✅ High demand
  • Latest price ✅ High demand
  • End of day price ✅
  • Market movers ✅ High demand

Reference Data

Asset Catalogs

  • Stocks ✅
  • Forex pairs ✅
  • Cryptocurrency pairs ✅
  • ETFs ✅
  • Funds ✅
  • Commodities ✅
  • Fixed income ✅

Discovery

  • Symbol search ✅ High demand
  • Cross listings ✅
  • Earliest timestamp ✅

Markets

  • Exchanges ✅ High demand
  • Exchanges schedule ✅
  • Cryptocurrency exchanges ✅
  • Market state ✅

Supporting Metadata

  • Countries ✅
  • Instrument type ✅
  • Technical indicators ✅

Fundamentals

  • Logo ✅
  • Profile ✅ Useful
  • Dividends ✅
  • Dividends calendar ✅
  • Splits ✅
  • Splits calendar ✅
  • Earnings ✅
  • Earnings calendar ✅
  • IPO calendar ✅
  • Statistics ✅
  • Press releases ✅ New
  • Income statement ✅
  • Income statement consolidated ✅ New
  • Balance sheet ✅
  • Balance sheet consolidated ✅ New
  • Cash flow ✅
  • Cash flow consolidated ✅ New
  • Key executives ✅ Useful
  • Market capitalization ✅ New
  • Last changes ✅ New

Currencies

  • Exchange rate ✅
  • Currency conversion ✅ Useful

ETFs

  • ETFs directory ✅ Useful
  • ETF full data ✅ High demand
  • Summary ✅
  • Performance ✅ High demand
  • Risk ✅
  • Composition ✅ High demand
  • ETFs families ✅
  • ETFs types ✅

Mutual Funds

  • MFs directory ✅ Useful
  • MF full data ✅ High demand
  • Summary ✅
  • Performance ✅ High demand
  • Risk ✅
  • Ratings ✅
  • Composition ✅ High demand
  • Purchase info ✅
  • Sustainability ✅
  • MFs families ✅
  • MFs types ✅

Technical Indicators

Overlap Studies

  • Bollinger Bands ✅ High demand
  • Double Exponential Moving Average (DEMA) ✅
  • Exponential Moving Average (EMA) ✅ High demand
  • Hilbert Transform Instantaneous Trendline ❌
  • Ichimoku Cloud ❌
  • Kaufman Adaptive Moving Average (KAMA) ✅
  • Keltner Channel ❌
  • Moving Average ✅
  • MESA Adaptive Moving Average (MAMA) ❌
  • McGinley Dynamic Indicator ❌
  • Midpoint ❌
  • Midprice ❌
  • Pivot Points High Low ❌
  • Parabolic Stop and Reverse (SAR) ✅
  • Parabolic Stop and Reverse Extended (SAREXT) ❌
  • Simple Moving Average (SMA) ✅ High demand
  • Triple Exponential Moving Average (T3MA) ❌
  • Triple Exponential Moving Average (TEMA) ✅
  • Triangular Moving Average ✅
  • Volume Weighted Average Price ✅
  • Weighted Moving Average ✅

Momentum Indicators

  • Average Directional Index (ADX) ✅ High demand
  • Average Directional Movement Index Rating ❌
  • Absolute Price Oscillator ❌
  • Aroon Indicator ❌
  • Aroon Oscillator ❌
  • Balance of Power ❌
  • Commodity Channel Index ✅
  • Chande Momentum Oscillator ❌
  • Coppock Curve ❌
  • Connors Relative Strength Index ❌
  • Detrended Price Oscillator ❌
  • Directional Movement Index ❌
  • Know Sure Thing ❌
  • Moving Average Convergence Divergence (MACD) ✅ High demand
  • MACD Slope ❌
  • MACD Extension ❌
  • Money Flow Index ❌
  • Minus Directional Indicator ❌
  • Minus Directional Movement ❌
  • Momentum ✅
  • Percent B ✅ High demand
  • Plus Directional Indicator ❌
  • Plus Directional Movement ❌
  • Percentage Price Oscillator ❌
  • Rate of Change ✅
  • Rate of Change Percentage ❌
  • Rate of Change Ratio ❌
  • Rate of Change Ratio 100 ❌
  • Relative Strength Index (RSI) ✅ High demand
  • Stochastic Oscillator ✅ High demand
  • Stochastic Fast ❌
  • Stochastic Relative Strength Index ❌
  • Ultimate Oscillator ❌
  • Williams %R ✅

Volume Indicators

  • Accumulation/Distribution ✅
  • Accumulation/Distribution Oscillator ❌
  • On Balance Volume ✅
  • Relative Volume ❌

Volatility Indicators

  • Average True Range (ATR) ✅
  • Normalized Average True Range (NATR) ✅
  • Supertrend ❌
  • Supertrend Heikin Ashi candles ❌
  • True Range ✅

Price Transform

  • Addition ❌
  • Average ❌
  • Average Price ❌
  • Ceiling ❌
  • Division ❌
  • Exponential ❌
  • Floor ❌
  • Heikinashi Candles ❌
  • High, Low, Close Average ❌
  • Natural Logarithm ❌
  • Base-10 Logarithm ❌
  • Median Price ❌
  • Multiplication ❌
  • Square Root ❌
  • Subtraction ❌
  • Summation ❌
  • Typical Price ❌
  • Weighted Close Price ❌

Cycle Indicators

  • Hilbert Transform Dominant Cycle Period ❌
  • Hilbert Transform Dominant Cycle Phase ❌
  • Hilbert Transform Phasor Components ❌
  • Hilbert Transform Sine Wave ❌
  • Hilbert Transform Trend vs Cycle Mode ❌

Statistic Functions

  • Beta Indicator ❌
  • Correlation ❌
  • Linear Regression ❌
  • Linear Regression Angle ❌
  • Linear Regression Intercept ❌
  • Linear Regression Slope ❌
  • Maximum ❌
  • Maximum Index ❌
  • Minimum ❌
  • Minimum Index ❌
  • Minimum and Maximum ❌
  • Minimum and Maximum Index ❌
  • Standard Deviation ❌
  • Time Series Forecast ❌
  • Variance ❌

Analysis

  • Earnings estimate ✅ Useful
  • Revenue estimate ✅
  • EPS trend ✅
  • EPS revisions ✅
  • Growth estimates ✅
  • Recommendations ✅ High demand
  • Price target ✅ High demand
  • Analyst ratings snapshot ✅
  • Analyst ratings US equities ✅

Regulatory

  • EDGAR filings ✅
  • Insider transaction ✅
  • Institutional holders ✅
  • Fund holders ✅
  • Direct holders ✅
  • Tax information ✅
  • Sanctioned entities ✅

Advanced

  • Batches ✅ Useful
  • API usage ✅

WebSocket

  • Real-time price ✅ Useful

Usage

http example

ws example

error handling example

Packages

 
 
 

Contributors

Languages