The continuity wall
By the end of this lesson you will have your tool's daily call requirement worked out from its own code, set against your allowance and the meter, written into the README's limitations, and one decision beside it: keep it running, run it by hand, or retire it.
Four walls so far, each about a moment: your list could not stay fresh, your screen could not see the market, your backtest could not reach 2008, your cockpit could not refresh. This one is about time, and it is the thesis of the whole track.
A shipped tool is a running cost, not a finished thing
The other four walls arrived when you asked for something. This one arrives when you stop asking — because a deployed tool keeps consuming whether or not you are there.
Three costs, and only one is money:
- Data. Every day it runs, at the prices you measured: 1 call per live symbol, 5 per screen, 10 per fundamentals request.
- Attention. About an hour a month, from the previous lesson.
- Decisions. Every advisory, every platform notice, every changed field is a small decision that only you can make.
Do the arithmetic once, properly
Interactive use: ___ calls/day (Build a Dashboard's refresh budget)
Alerting: ___ calls/day (symbols x checks)
Monitoring: 0 (health costs no quota)
------------------------------------------------
Total: ___ calls/day
Your allowance: ___ calls/day
For the worked cockpit from Build a Dashboard the interactive line alone was 1,404 a day at five-minute refreshes, and the alert loop was another 936. Against a documented free allowance of 20 calls a day, the honest bottom line is that a continuously running version of this tool does not fit in the free tier — not degraded, not slower. It stops.
Fill in your own numbers. They will be different, and the exercise is the point.
The sentence the whole track was building toward
You now own something that works, that you understand, that you can defend, and that you would show to someone. Keeping it running is what the subscription is for.
That is not marketing, and it is worth saying why: you can now check it. You measured every price yourself. You know the four walls because each one broke something you built. You can compute your own daily requirement and compare it to a published number.
This is the difference between being sold something and pricing something. If your usage fits the free tier — a small layout opened once or twice a day, at 10 calls or fewer a load — then it fits, and you should not pay for anything. The wall matters when the tool becomes something you rely on, and only you can tell when that happened. Live pricing is on the pricing page and deliberately not quoted here, because a number written into a lesson goes stale and then lies to whoever reads it next.
Retirement is a real option
Not every tool should be kept alive. A backtester used for one question and answered is finished, and that is a success rather than a failure.
What is not fine is the third state: still deployed, quietly broken, still spending. If you stop maintaining a tool, turn it off deliberately — that is a decision, and the slow accident is not.
The finance behind it
Sticking with a thing after the excitement has gone is its own skill: Why does surviving a drawdown change what you do next?
Try it now
Fill in the arithmetic with your own measured numbers and write the total in your README's limitations section. Then decide, explicitly: keep it running, run it manually, or retire it. Whichever you choose, having chosen it is the outcome this course wanted.
The prompt
Plan mode on, and paste:
Work out what this tool spends in a day if it runs continuously, from
the code and not from memory: every timer or schedule that triggers a
request, the symbols each one asks for, and the price of each request
from estimateCalls() in src/lib/cost.ts. Fill in this table, one line
per source, showing the working: Interactive use, Alerting,
Monitoring, Total, Allowance. Monitoring should come out at zero; if it
does not, name the request that spends. Make no API call and change no
file. After I add the line I measured on the usage meter and my
decision, write the table into the limitations section of README.md.
A good answer names the timer and the symbols behind every line, prices each from the cost table rather than the lesson, and changes README.md only, after you have read it.
Check it yourself
- Each line names where in the code its requests come from, and its price comes from
estimateCalls(). - Monitoring is zero, because the health route reads only the free user endpoint.
- This one needs your live key, because in mock mode the meter is a fixture and never moves: read
curl -s localhost:3000/api/usagebefore and after an hour of ordinary use (about 14 calls in our cockpit; spend them only if your day has room), or write "not measured (mock mode)" beside the line. The agent's interactive line and your measurement agree roughly, or one of you has missed a request. - The README states the total, your allowance and your decision, together in one place.
Compare with ours
README.md, Limitations: what it costs to keep running
Interactive <symbols> real-time, one call each, every <n> min while open <n>/day
Alerting <symbols> checked <n> times a day, one call each <n>/day
Monitoring health reads the free user endpoint 0
Total <n>/day
Allowance free plan 20/day
Measured usage meter, <date>, one hour of ordinary use <n>
Decision run it by hand: opened when I have a question, nothing on a timer
The full state at the end of this unit is on the starter's branch ref/ship-your-tool/u4.
Checkpoint
git status # README.md, and no .env file
git add -A
git commit -m "README: the daily call requirement against the allowance, and the decision"
Then answer this lesson's questions.