Spiral gives your agent every tool with one account. Browse the tools →

Instinct · Finance

How to Use Tiingo historical stock prices in Instinct

Get end-of-day open, high, low, close, and volume, with raw and adjusted values plus dividends and splits. Use it to study historical performance, calculate indicators, or inspect price changes around corporate actions.

Prompts to try with Tiingo historical stock prices in Instinct

Copy an example into Instinct, or ask in your own words.

Each US trading evening after 8 PM EST, use Tiingo historical stock prices for SPY to calculate the latest adjusted closing return and compare volume with the preceding 20 trading days.

Tiingo historical stock pricesInstinct
Try asking
  • Every Saturday, use Tiingo historical stock prices for AAPL and MSFT to compare their adjusted closing percentage changes over the latest five available trading sessions.

  • Each US trading evening after 8 PM EST, use Tiingo historical stock prices for KO to check for a cash dividend or split record. When one appears, retrieve its full available adjusted history again.

  • Every Saturday, use Tiingo historical stock prices for QQQ to calculate its current decline from the highest adjusted close in the preceding 252 trading sessions.

  • Each US trading evening after 8 PM EST, use Tiingo historical stock prices for NVDA to flag volume above twice the average of the preceding 20 trading days and include the day's price range.

How to set up Tiingo historical stock prices in Instinct

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Instinct this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for Instinct. Copy it.

  2. Send Instinct this message

    Instinct reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give Instinct the key

    When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Tiingo historical stock prices

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "tiingo/prices/eod",
        "input": {
          "ticker": "<ticker>"
        }
      }'

Then paste one of the prompts above: Instinct finds Tiingo historical stock prices on Spiral, shows the price and runs it.

Tiingo historical stock prices providers and prices

Spiral runs Tiingo historical stock prices through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance

Settings you can ask for

Ask Instinct for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resample freqdaily, weekly, monthly, or annually

daily (the default, holiday calendar), weekly (weeks end Friday), monthly, or annually. A start or end inside a period is widened to the whole period.

Every API field of Tiingo · End-of-day prices is on its tool page: open its card above.

What can you do with Tiingo historical stock prices in Instinct?

Produce a recurring internal market review from Tiingo's end-of-day prices and volume. A scheduled agent can watch adjusted returns and corporate actions, with US equity runs timed to allow for corrections through 8 PM EST.

Compare historical stock performance

Retrieve AAPL and MSFT over the same dates and calculate percentage changes from adjusted closes for an internal research comparison.

Inspect a stock split

Compare raw and adjusted prices with split records around AAPL's August 2020 split to investigate the apparent price discontinuity.

Calculate moving averages

Use SPY's adjusted closing history to calculate 20-day and 50-day moving averages and identify historical crossings.

Measure historical drawdowns

Calculate QQQ's largest decline from an earlier peak over a chosen period using adjusted closing prices.

Review unusual trading volume

Compare NVDA's daily volume with its preceding 20 trading days, showing the corresponding daily price range for context.

Refresh research after corporate actions

Check KO's returned dividend and split records, then refresh its historical adjusted series when an event changes the adjustment basis.

Questions about Tiingo historical stock prices in Instinct

Can Instinct use Tiingo historical stock prices?

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Tiingo historical stock prices like any built-in tool.

How much does Tiingo historical stock prices cost in Instinct?

Up to $0.034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Instinct plan is separate.

Do I need an Alexandria account to use Tiingo historical stock prices in Instinct?

You need no Alexandria account. Instinct uses one Spiral API key for every tool, and Spiral runs Tiingo historical stock prices on its own Alexandria account.

How long does it take to set up Tiingo historical stock prices in Instinct?

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

Does Instinct wait while Tiingo historical stock prices runs?

Tiingo historical stock prices runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.

Which markets does Tiingo's end-of-day data cover?

Tiingo's product summary lists more than 80,000 tickers across US equities, ETFs, mutual funds, and Chinese A-shares. That is a stated coverage boundary, rather than a claim of worldwide stock coverage.

When are US stock prices available?

Most US equity prices are available at 5:30 PM EST. Exchanges can send corrections until 8 PM EST, so an earlier retrieval may precede a correction.

Can previously retrieved adjusted prices change?

Yes. Tiingo recommends downloading the entire price history again after a split or cash dividend so the stored series contains the latest adjusted prices.

Where does Tiingo get its US market data?

Tiingo says it cross-checks three to seven independent feeds for US assets. Its published methodology compares upstream values instead of relying on one provider.

Can I publish the prices returned by Tiingo?

Tiingo's API terms specify internal consumption. Redistributing the data requires separate permission, so retrieving a series does not itself grant publication rights.

Get started

Start using Tiingo historical stock prices in Instinct

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Instinct:

Set up Instinct

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options