← Global prices & macro→ מחירים ומאקרו עולמי
Global prices & macroמחירים ומאקרו עולמי

TiingoTiingo

Prices · APIמחירים · APIFree tier + paid planחינמי + מסלול בתשלום

Clean daily stock prices through a simple REST API, with a free tier for personal research.מחירי מניות יומיים ונקיים דרך REST API פשוט, עם מסלול חינמי למחקר אישי.

What is it?מה זה?

Tiingo is a financial data provider. Its end-of-day (EOD) data covers US and Chinese stocks, ETFs and mutual funds, with more than 30 years of price history. Besides daily prices it also offers IEX intraday data, crypto, news and fundamentals. You can use the data on the website or pull it through a REST API in JSON or CSV.Tiingo היא ספקית נתונים פיננסיים. נתוני סוף היום (EOD) שלה מכסים מניות מארה"ב ומסין, תעודות סל וקרנות נאמנות, עם יותר מ-30 שנות היסטוריית מחירים. מעבר למחירים יומיים יש בה גם נתוני IEX תוך-יומיים, קריפטו, חדשות ונתונים פונדמנטליים. אפשר להשתמש בנתונים באתר או למשוך אותם דרך REST API בפורמט JSON או CSV.

Why it matters for quantsלמה זה חשוב לקוואנטים

For a personal research project you need reliable, adjusted daily prices that you can download from code. Tiingo's daily-prices endpoint returns raw and adjusted prices side by side, together with dividends and split factors, so you can compute total returns correctly. It is a common step up from scraping or unofficial libraries when you want a documented, stable API.לפרויקט מחקר אישי צריך מחירים יומיים אמינים ומותאמים שאפשר להוריד מתוך קוד. ה-endpoint של המחירים היומיים ב-Tiingo מחזיר מחירים גולמיים ומותאמים זה לצד זה, יחד עם דיבידנדים ומקדמי פיצול — כך שאפשר לחשב תשואה כוללת בצורה נכונה. זה שדרוג נפוץ מסקרייפינג או מספריות לא רשמיות, כשרוצים API מתועד ויציב.

What quants look forמה קוואנטים מחפשים שם

How to get startedאיך מתחילים

  1. Create a free account on tiingo.com and copy your API token from your account settings.פתחו חשבון חינמי ב-tiingo.com והעתיקו את ה-API token מהגדרות החשבון.
  2. Pass the token in the request header — Authorization: Token <your_token> — or add ?token=<your_token> to the URL.העבירו את ה-token בכותרת הבקשה — Authorization: Token <your_token> — או הוסיפו ‎?token=<your_token> לכתובת.
  3. Check that it works: https://api.tiingo.com/api/test should answer “You successfully sent a request”.בדקו שזה עובד: https://api.tiingo.com/api/test אמור להחזיר “You successfully sent a request”.
  4. Daily prices: https://api.tiingo.com/tiingo/daily/<ticker>/prices?startDate=2020-01-01&endDate=2024-12-31 (metadata: /tiingo/daily/<ticker>).מחירים יומיים: https://api.tiingo.com/tiingo/daily/<ticker>/prices?startDate=2020-01-01&endDate=2024-12-31 (מטא-דאטה: ‎/tiingo/daily/<ticker>).
  5. Keep the token secret: store it in an environment variable (in Google Colab, use Secrets) and never commit it to GitHub.שמרו את ה-token בסוד: אחסנו אותו במשתנה סביבה (ב-Google Colab השתמשו ב-Secrets) ואף פעם אל תעלו אותו ל-GitHub.

The free tier — what it's forהמסלול החינמי — למה הוא מתאים

The free Starter plan is made for personal learning and research: pulling daily prices for a watchlist or a few hundred stocks, building a backtest, or practicing with a real API. Limits from Tiingo's pricing page (checked October 2026):מסלול ה-Starter החינמי מיועד ללמידה ולמחקר אישי: משיכת מחירים יומיים לרשימת מעקב או לכמה מאות מניות, בניית בקטסט, או תרגול עם API אמיתי. המגבלות לפי עמוד התמחור של Tiingo (נבדק באוקטובר 2026):

  • Free (Starter): 50 requests per hour, 1,000 per day, 500 unique symbols per month, 1 GB of bandwidth per month.חינמי (Starter): ‏50 בקשות בשעה, 1,000 ביום, 500 סימבולים שונים בחודש, ‏1GB תעבורה בחודש.
  • Paid (Power, $30/month): 10,000 requests per hour, 100,000 per day, all symbols, 40 GB per month, and longer fundamentals history.בתשלום (Power, ‏30$ לחודש): ‏10,000 בקשות בשעה, 100,000 ביום, כל הסימבולים, ‏40GB בחודש, והיסטוריית נתונים פונדמנטליים ארוכה יותר.
  • Both plans are licensed for internal, personal use only — you may not display or redistribute the data (for example on a public website).שני המסלולים מורשים לשימוש פנימי ואישי בלבד — אסור להציג או להפיץ את הנתונים הלאה (למשל באתר ציבורי).
  • Good fit: learning, personal backtests, a daily update of a small universe. Not a fit: scanning thousands of stocks every day, or building a public app.מתאים ל: לימוד, בקטסטים אישיים, עדכון יומי של קבוצת מניות קטנה. לא מתאים ל: סריקה של אלפי מניות כל יום, או בניית אפליקציה ציבורית.

Code exampleדוגמת קוד

import os, requests, pandas as pd

token = os.environ["TIINGO_API_KEY"]  # your Tiingo token
url = "https://api.tiingo.com/tiingo/daily/SPY/prices"
params = {"startDate": "2020-01-01", "endDate": "2024-12-31"}
r = requests.get(url, params=params, headers={"Authorization": f"Token {token}"})
r.raise_for_status()
df = pd.DataFrame(r.json()).set_index("date")
print(df[["close", "adjClose", "divCash", "splitFactor"]].tail())

Set the TIINGO_API_KEY environment variable first. One request returns the whole date range, so a single call per ticker is usually enough — and keeps you well inside the free limits.הגדירו קודם משתנה סביבה בשם TIINGO_API_KEY. בקשה אחת מחזירה את כל טווח התאריכים, כך שבדרך כלל מספיקה קריאה אחת לכל טיקר — וזה משאיר אתכם בנוחות בתוך המגבלות החינמיות.

Tips & pitfallsטיפים ומלכודות

  • Coverage is US and Chinese stocks, ETFs and funds — Israeli companies only if they also trade in the US (for example TEVA). For TASE stocks use TASE data or Yahoo Finance with the .TA suffix.הכיסוי הוא מניות מארה"ב ומסין, תעודות סל וקרנות — חברות ישראליות רק אם הן נסחרות גם בארה"ב (למשל TEVA). למניות בבורסת תל אביב השתמשו בנתוני הבורסה או ב-Yahoo Finance עם הסיומת ‎.TA.
  • Save the data to a local file and reuse it instead of downloading again on every run — it saves requests.שמרו את הנתונים בקובץ מקומי והשתמשו בו שוב במקום להוריד מחדש בכל הרצה — זה חוסך בקשות.
  • Use adjClose for returns, and the raw close only when you need the actual traded price.השתמשו ב-adjClose לחישוב תשואות, ובמחיר הסגירה הגולמי רק כשצריך את המחיר שנסחר בפועל.
  • Most US daily prices are available around 5:30 PM Eastern time, with corrections possible until about 8 PM.רוב המחירים היומיים בארה"ב זמינים בסביבות 17:30 שעון החוף המזרחי, ותיקונים אפשריים עד בערך 20:00.

Relatedקשור

Sourcesמקורות

Quant Israel is not affiliated with this service or company. Details may change — check the official site. Nothing here is investment advice.Quant Israel אינה קשורה לשירות או לחברה הזו. הפרטים עשויים להשתנות — בדקו באתר הרשמי. שום דבר כאן אינו ייעוץ השקעות.