fintech-algorithms

fintech-algorithms is a skill for Claude Code from IslamBaraka90/Fintech-Algorithms-Library. It costs 288 tokens per session (2,913 once invoked), scanned A, original, MIT.

A zero-dependency TypeScript library containing functions for statistics, financial mathematics, market data, and trading calculations. It works with ordinary arrays and objects and includes measures such as averages, correlations, regressions, distributions, z-scores, and returns.

In plain words
What is it for?
Computing statistical summaries, financial returns, distributions, correlations, regressions, and other documented quantitative analytics in Node.js projects.
Why use it?
It provides reusable calculations without requiring a separate statistics or finance runtime library. Its instructions also require checking the documentation and returned fields instead of guessing them.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions Claude Code.

Good fit Computing statistical summaries, financial returns, distributions, correlations, regressions, and other documented quantitative analytics in Node.js projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/islambaraka90/fintech-algorithms-library/fintech-algorithms
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IslamBaraka90/Fintech-Algorithms-Library --skill fintech-algorithms
Clone the repo
git clone --depth 1 https://github.com/IslamBaraka90/Fintech-Algorithms-Library

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fintech-algorithms

README.md
[![agentmods](https://agentmods.dev/badge/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms/github.svg)](https://agentmods.dev/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms)
Your own site
<a href="https://agentmods.dev/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms"><img src="https://agentmods.dev/badge/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fintech-algorithms

Your own site · 80×15
<a href="https://agentmods.dev/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms"><img src="https://agentmods.dev/badge/skills/islambaraka90/fintech-algorithms-library/fintech-algorithms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 288 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 22 Sept 2026
  • Snyk warn 22 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00288 $0.02913
Opus 5.5 $0.00115 $0.01165
Sonnet 5.5 $0.00058 $0.00583
Haiku 4.5 $0.00029 $0.00291

Measured 1mo ago against content hash dce32558a8c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fintech-algorithms scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/lookup.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fintech-algorithms/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fintech-algorithms

717 pure functions for market, financial and statistical calculations. Plain arrays and objects in, plain values out. Zero runtime dependencies, Node >= 22, ESM.

Docs: https://docs.thefintechbuilder.com · Authoritative agent guide: https://docs.thefintechbuilder.com/guides/ai-agents/

Non-negotiables

Four rules. Breaking any one produces output that looks right and is wrong.

  1. Never invent an import path, a function name, or a parameter. Every subpath mirrors its docs URL exactly, which makes a plausible guess wrong in a way that reads as correct. Look it up — scripts/lookup.mjs or the resolution order below. If the topic does not exist, say so and stop.
  2. Never guess a returned field name. Return-key casing is not consistent across the library: bollingerBands returns percent_b, macd rows return fastEma. Read the captured example output for that topic. See references/pitfalls.md.
  3. State the verification tier on any numeric claim. verified (601 topics) means the arithmetic is replayed and asserted on every build against expected values the catalog computed with a Python implementation written alongside the TypeScript — cross-language parity, not an independent third-party figure. Say it that way if asked. contract (74 topics) means the signature and shape are checked but nothing asserts the numbers.
  4. Analysis, not advice. These functions compute quantities. An indicator crossing is an observation about a series — not a prediction, not a signal, and never a recommendation for a specific person's money. Report what was computed, on what input, at which tier. If asked what to buy or sell, say that is a question for a licensed adviser.

The library does not fetch data

There is no HTTP client, no vendor SDK, no API key, no node:fs. If a task needs prices, the caller supplies them. This is deliberate: vendor APIs get rewritten every few years and algorithms do not.

Read the full file on GitHub · 225 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines · +22 tokens per session dce32558a8c8
  2. 1mo ago Changed · +18 tokens per session 8f2321b2aa6d
  3. 2mo ago First seen · 224 lines · 248 tokens per session scan A 8a91fad4a849

Subscribe to this mod's changes

fintech-algorithms is a skill published in the GitHub repository IslamBaraka90/Fintech-Algorithms-Library (5 stars, last pushed 1mo ago), licensed MIT. It adds 288 tokens to every session and 2,913 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

fintech-algorithms compared with skills from other repositories

fintech-algorithms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fintech-algorithmsIslamBaraka90/Fintech-Algorithms-LibrarySkill51mo agoMITA288Claude Code
investment-decisionKCNyu/clawockSkill23yesterdayMITA62Claude Code, Codex
TradingKCNyu/clawockSkill23yesterdayMITA27Claude Code, Codex
credit-analysisskloxo/TideTradingSkill148d agoMITA36Claude Code, Codex
sparebank1-sharedmagnusrodseth/sparebank1-cliSkill2415d agoMITA83Claude Code, Codex
sparebank1-accountsmagnusrodseth/sparebank1-cliSkill2415d agoMITA81Claude Code, Codex
quant-statisticsskloxo/TideTradingSkill148d agoMITA41Claude Code, Codex