Index of every page on this site: llms.txt
All skills
injectivelabs avatar

/injective-trading-market-data

@6d68c2c
Run it yourself

Access real-time market data for Injective perpetual futures markets. Query oracle prices, list all active markets with metadata (tick size, min notional, max leverage), and retrieve current spread and funding information. Requires the Injective MCP server to be connected.

Use this Skill: https://skilld.dev/gh/injectivelabs/agent-skills/injective-trading-market-data

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈76 tokens for metadata: the name and description. ≈646 when used: this file. ≈441 more on demand in 3 files.

Description uses 3.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈305 characters, or 3.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Injective Trading Market Data, Skill Guide

Query live market data from Injective's on-chain perpetuals exchange. All data is pulled from the Injective Indexer (gRPC) and is real-time.

When to apply

Sample prompts: ./references/sample-prompts.md

Important

Notes

  • Prices are in USDT with 6 decimal places internally; returned as human-readable floats.
  • Oracle prices are aggregated from Band Protocol and Pyth Network feeds.
  • Funding rates are not yet exposed via MCP tools - check Helix UI for funding.
  • Market data is cached in-process for 30 seconds to reduce latency on repeated calls.
  • minPriceTickSize from the indexer is in chain format. For USDT markets, divide by 10^6 to get the human-readable tick size. minQuantityTickSize is already in human format (not scaled by quote decimals).

Market symbols

See: ./references/market-symbols.md

Use market_list for the complete current set, as new markets are added through Injective governance.

Activities

List all active perpetual futures markets with full metadata

market_list

Returns per market:

  • symbol - e.g. BTC, ETH, INJ
  • marketId - 0x... hex ID used on-chain
  • oraclePrice - current oracle mark price (USDT)
  • minQuantityTickSize - minimum order size
  • minPriceTickSize - minimum price increment
  • initialMarginRatio - minimum margin (1/maxLeverage)
  • maintenanceMarginRatio
  • makerFeeRate / takerFeeRate

Get the current oracle price for a single market.

market_price
  symbol: BTC    ← or ETH, INJ, SOL, ATOM, etc.

Returns: { symbol, price, marketId }

"What markets are available?"

market_list → filter/display by symbol

"What's the current BTC price?"

market_price BTC

"What's the max leverage for ETH?"

market_list → find ETH → compute 1 / initialMarginRatio

(e.g. initialMarginRatio 0.05 → 20x max leverage)

"Is the ETH market liquid enough for a $10,000 position?"

market_list → check ETH minQuantityTickSize and current oracle price

Injective uses an on-chain order book. For large orders, use limit orders or split into multiple market orders to reduce slippage.

Related skills

  • injective-mcp-servers

If these skills are not available, selectively run the following commands to install them:

npx skills add InjectiveLabs/agent-skills --skill injective-mcp-servers

Prerequisites

  • Injective MCP server must be running
  • User prompts should be issued from an AI tool that is configured to talk to the Injective MCP server

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo4 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is safe. It provides instructions and prompt examples for querying cryptocurrency market data using the Injective Protocol's MCP server.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer8mo

    1/4 files flagged

Signed by skilld at 6d68c2c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 8 months ago
uses
[
  "injective-mcp-servers"
]
metadata
{
  "author": "ckhbtc",
  "version": "0.0.0"
}

README badge

README badge for injectivelabs/agent-skills/injective-trading-market-data