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

opencode · Finance

How to Use Fiscal.ai intraday stock prices in opencode

Returns timestamped, split-adjusted prices rounded to two decimal places, with a 15-minute delay. Use it to examine movement within a trading session.

Prompts to try with Fiscal.ai intraday stock prices in opencode

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

Use Fiscal.ai intraday stock prices for Apple on NASDAQ for the last completed trading session to build an internal session chart with a 15-minute-delay label.

Fiscal.ai intraday stock pricesopencode
Try asking
  • Use Fiscal.ai intraday stock prices to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Fiscal.ai intraday stock prices and tell me what changed since last week.

  • Check Fiscal.ai intraday stock prices and summarize what you find in three bullet points.

  • Pull the newest data from Fiscal.ai intraday stock prices and give me the result as a table.

How to set up Fiscal.ai intraday stock prices in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 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 Fiscal.ai intraday 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": "fiscal-ai/prices/intraday",
        "input": {
          "fscl": "<fscl>"
        }
      }'

Then paste one of the prompts above: opencode finds Fiscal.ai intraday stock prices on Spiral, shows the price and runs it.

Fiscal.ai intraday stock prices providers and prices

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

AlexandriaFinance
Fiscal.ai · Intraday prices
fiscal-ai/prices/intraday

What can you do with Fiscal.ai intraday stock prices in opencode?

Fix an internal stock chart using Fiscal.ai price observations and split events. A coding agent can compare returned values with the project's calculations and correct date ordering or adjustment errors.

Investigate a suspicious price jump

Compare daily and intraday observations around a jump, then check split events before deciding whether an external chart needs an adjustment.

Review a company's trading session

Put session movement beside the surrounding daily trend and check whether a split event falls within the review period.

Reconcile market data sources

Compare another source's daily and timestamped prices with Fiscal.ai, using split ratios and dates to investigate adjustment differences.

Debug an internal stock chart

Check plotted daily values, session points, and corporate-action markers against the returned data to find sorting or adjustment errors.

Prepare an internal session briefing

Summarize the first and last returned session observations and identify the largest moves between consecutive points.

Questions about Fiscal.ai intraday stock prices in opencode

Can opencode use Fiscal.ai intraday stock prices?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai intraday stock prices like any built-in tool.

How much does Fiscal.ai intraday stock prices cost in opencode?

$0.026189 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Fiscal.ai intraday stock prices in opencode?

No. Spiral runs Fiscal.ai intraday stock prices on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Fiscal.ai intraday stock prices in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Fiscal.ai intraday stock prices runs?

Fiscal.ai intraday stock prices runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Fiscal.ai provide live stock prices?

Fiscal.ai documents a 15-minute delay for intraday prices. Its daily history consists of end-of-day quotes.

Does Fiscal.ai include confidential company information?

Its API terms state that, to Fiscal.ai's knowledge, the feed contains no material nonpublic information or information obtained in breach of a confidentiality obligation.

Can I publish or redistribute Fiscal.ai's raw data?

The API terms restrict raw-data sharing beyond authorized application users. External reuse depends on the agreement's permissions and exceptions, so retrieving data does not grant unrestricted publication rights.

Get started

Start using Fiscal.ai intraday stock prices in opencode

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

Paste this into opencode:

Set up opencode

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