360 Secure SkillHub
360 安全技能中心

kimchi-premium for BTC

核心功能:实时获取USD/KRW汇率、Upbit平台BTC韩元价、Binance平台BTC美元价,计算比特币泡菜溢价率及韩元价格差。典型使用场景:适合关注韩国加密货币市场供需、资本流动的投资者,或需实时溢价数据的用户。无需额外输入,运行后输出含时间戳等信息的结构化JSON,无外部依赖,响应高效。

seungdols
seungdols
热度 63.74
最近更新 2026-05-11 17:29:14
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 数据处理 / 市场分析

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add kimp-price
Metadata
name
kimchi-premium
version
1.0.0
description
Real-time Bitcoin Kimchi Premium calculator. Compares Bitcoin prices between a Korean exchange (Upbit, KRW) and a global exchange (Binance, USD) to calculate the premium percentage and price difference in KRW. Reflects live USD/KRW exchange rates and uses only Node.js built-in modules with zero dependencies.
author
seungdols
permissions
{"network":["open.er-api.com","api.upbit.com","api.binance.com"]}

Kimchi Premium 🌶️

A Claude Code skill that calculates the real-time Bitcoin Kimchi Premium.

What is Kimchi Premium?

The Kimchi Premium is a metric that measures how much higher (or lower) Bitcoin prices are on South Korean cryptocurrency exchanges (e.g. Upbit) compared to global exchanges (e.g. Binance). The premium tends to rise when local demand is strong, influenced by investor sentiment and capital flow regulations in South Korea.

What This Skill Does

  1. Fetches live exchange rate — Retrieves the current USD/KRW rate from ExchangeRate-API
  2. Fetches Upbit BTC price — Gets the latest Bitcoin price in KRW from the Upbit API
  3. Fetches Binance BTC price — Gets the latest Bitcoin price in USD from the Binance API
  4. Calculates the premium — Converts the Binance price to KRW, then compares it with the Upbit price to produce the premium percentage and the absolute price difference in KRW

Example Output

{
  "timestamp": "2/1/2026, 2:20:00 PM",
  "exchange_rate": "1,380 KRW/USD",
  "upbit_btc": "145,000,000 KRW",
  "binance_btc": "105,000 USD",
  "kimchi_premium": "0.15%",
  "price_diff": "217,000 KRW"
}

Usage

node index.mjs

Technical Highlights

  • Zero external dependencies — uses only the Node.js built-in https module
  • Parallel API calls via Promise.all for fast response times
  • 5-second timeout for reliable error handling
  • Structured JSON output for easy parsing