How to Use Fiscal.ai daily stock prices in opencode
Returns split-adjusted daily closing prices for a company. Use it to compare performance across trading days or build a historical chart.
Prompts to try with Fiscal.ai daily stock prices in opencode
Copy an example into opencode, or ask in your own words.
Use Fiscal.ai daily stock prices for Microsoft on NASDAQ during 2025 to check the closing-price chart in this project and fix any date-ordering errors.
Use Fiscal.ai daily stock prices for Apple on NASDAQ during 2025 to verify the project's monthly closing-price change calculations.
Use Fiscal.ai daily 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 daily stock prices and tell me what changed since last week.
Check Fiscal.ai daily stock prices and summarize what you find in three bullet points.
How to set up Fiscal.ai daily stock prices in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Fiscal.ai daily 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/daily", "input": { "fscl": "<fscl>" } }'
Then paste one of the prompts above: opencode finds Fiscal.ai daily stock prices on Spiral, shows the price and runs it.
Fiscal.ai daily stock prices providers and prices
Spiral runs Fiscal.ai daily stock prices through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Latest | on or off | Return only the most recent bar, ignoring the date window. |
Every API field of Fiscal.ai · Daily prices is on its tool page: open its card above.
What can you do with Fiscal.ai daily 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.
Compare historical price performance
Calculate changes in daily closing prices for a company watchlist over the same observation period.
More on Fiscal.ai daily stock prices and opencode
Overview
Fiscal.ai daily stock prices in other agents
Questions about Fiscal.ai daily stock prices in opencode
Can opencode use Fiscal.ai daily stock prices?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai daily stock prices like any built-in tool.
How much does Fiscal.ai daily stock prices cost in opencode?
$0.003492 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 daily stock prices in opencode?
No. Spiral runs Fiscal.ai daily 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 daily stock prices in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Fiscal.ai daily stock prices runs?
Fiscal.ai daily 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.
Start using Fiscal.ai daily 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 https://spiral.ai/SKILL.md


