npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@quantoracle/plugin-quantoracle

v0.1.0

Published

QuantOracle plugin for elizaOS — 63 deterministic quant finance calculators + 10 composite workflows. Black-Scholes, Greeks, risk metrics, Monte Carlo, strategy backtests, rebalance planning, hedging recommendations. x402 USDC payments on Base or Solana.

Downloads

64

Readme

@quantoracle/plugin-quantoracle

QuantOracle plugin for elizaOS — 63 deterministic quant finance calculators + 10 composite workflows. Black-Scholes pricing with Greeks, risk metrics, Monte Carlo, strategy backtests, rebalance planning, hedging recommendations, and more.

Install

npm install @quantoracle/plugin-quantoracle
# or
pnpm add @quantoracle/plugin-quantoracle

Usage

import { AgentRuntime } from "@elizaos/core";
import quantoraclePlugin from "@quantoracle/plugin-quantoracle";

const runtime = new AgentRuntime({
  // ...your config
  plugins: [quantoraclePlugin],
});

Actions shipped in v1 (10 composites + options pricing)

| Action | Description | Price | |--------|-------------|-------| | QUANT_OPTIONS_PRICE | Black-Scholes + 10 Greeks | Free / $0.005 | | QUANT_RISK_FULL_ANALYSIS | Complete risk tearsheet (Sharpe, VaR, Kelly, DD, Hurst, CAGR) | $0.04 (paid-only) | | QUANT_BACKTEST_STRATEGY | SMA / RSI / momentum / Bollinger backtest | $0.10 (paid-only) | | QUANT_OPTIONS_STRATEGY_OPTIMIZER | Rank options strategies by outlook + vol view | $0.08 (paid-only) | | QUANT_HEDGING_RECOMMEND | Compare cheapest hedges for a position | $0.04 (paid-only) | | QUANT_PORTFOLIO_REBALANCE_PLAN | Exact trades to hit target weights + cost | $0.05 (paid-only) | | QUANT_PORTFOLIO_OPTIMIZE | Max Sharpe / min vol / risk parity | Free / $0.015 | | QUANT_MONTE_CARLO_SIM | GBM portfolio simulation | Free / $0.015 | | QUANT_PAIRS_SIGNAL | Cointegration + Hurst + z-score pairs signal | $0.025 (paid-only) | | QUANT_IMPERMANENT_LOSS | Uniswap v2/v3 IL calculator | Free / $0.005 | | QUANT_LIQUIDATION_PRICE | Leveraged position liquidation price | Free / $0.002 |

Configuration

Set these in your character config or env:

{
  "settings": {
    "QUANTORACLE_API_URL": "https://api.quantoracle.dev",
    "QUANTORACLE_TIMEOUT_MS": "30000"
  }
}

Pricing & free tier

  • Free tier: 1,000 calls/IP/day (no auth required)
  • Paid: x402 micropayments in USDC on Base (eip155:8453) or Solana (solana:5eykt4...). This plugin does not auto-pay; pair it with an x402-capable HTTP client (e.g. x402-fetch, x402-axios, or AgentCash) if you want transparent payments past the free tier.

Links

  • QuantOracle API: https://api.quantoracle.dev
  • API docs: https://api.quantoracle.dev/docs
  • x402 discovery: https://api.quantoracle.dev/.well-known/x402
  • Source: https://github.com/QuantOracledev/quantoracle
  • License: MIT