decibel-expert

Guide integration with Decibel's on-chain perpetual futures platform on Aptos.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/gounthar/bazel-riscv --skill decibel-expert-gounthar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: decibel-expert
Source: https://github.com/gounthar/bazel-riscv/tree/main/.claude/skills/aptos/decibel
Command: npx skills add https://github.com/gounthar/bazel-riscv --skill decibel-expert-gounthar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves?

Navigating the complexities of on-chain perpetual futures trading platforms like Decibel on Aptos, including its trading engine, orderbook, and various APIs, can be challenging. This Skill provides expert guidance, enabling developers and traders to integrate, build, and optimize their trading applications with Decibel, saving time and reducing errors.

Core Features & Use Cases

  • On-Chain Trading Expertise: Gain a deep understanding of Decibel's fully on-chain perpetual futures trading engine and orderbook on Aptos, for informed trading strategies.
  • API & SDK Integration: Get guidance on using Decibel's TypeScript SDK, REST APIs, and WebSocket streams for real-time market data and efficient trading operations.
  • Position & Order Management: Learn to manage trading positions, submit various order types (including TWAP), and interact with trading vaults, automating complex trading strategies.
  • Use Case: If you want to build a trading bot that monitors Decibel's orderbook for a specific perpetual contract and automatically places TWAP orders, this Skill can guide you on accessing market data via WebSocket and submitting orders using the SDK.

Quick Start

Explain how to connect to Decibel's WebSocket stream to get real-time market data for a perpetual futures contract.

Frequently Asked Questions about decibel-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to Decibel's WebSocket stream for real-time perpetual futures market data?

Decibel provides WebSocket streams to access real-time market data for perpetual contracts on Aptos. Connect using the WebSocket endpoint, subscribe to orderbook or trade channels for your target contract, and parse the JSON feed to monitor price, volume, and order updates without polling delays.

Can I use Decibel's TypeScript SDK to place TWAP orders on Aptos?

Yes. Decibel's TypeScript SDK supports order placement including TWAP (Time-Weighted Average Price) orders. Use the SDK to format order transactions, submit them to the on-chain orderbook, and manage execution across your specified time window with real-time position tracking.

What's the best way to integrate Decibel's REST API and on-chain contracts into a trading bot?

Integrate Decibel by combining REST API calls for account and vault queries with on-chain contract interactions for order submission and settlement. Use the TypeScript SDK to abstract transaction formatting, handle WebSocket streams for live data, and implement error handling to manage blockchain latency and failed transactions.

How do I manage trading positions and risk on Decibel's perpetual futures platform?

Manage positions through Decibel's position management APIs and vault interactions. Monitor collateral, leverage, and liquidation risk via REST endpoints or on-chain queries. Use the SDK to adjust position size, close trades, and implement stop-loss logic to automate risk controls across your trading strategy.

Do I need smart contract knowledge to trade with Decibel, or can I use just the SDK and APIs?

You can trade using the SDK and REST APIs without writing contracts. However, understanding Decibel's on-chain architecture helps optimize transaction formatting, gas costs, and error handling. The Skill provides architecture overview and contract interaction guidance for developers building advanced integrations.

What are the limitations of Decibel's on-chain orderbook for high-frequency trading strategies?

Decibel's on-chain settlement incurs blockchain latency and transaction costs, making sub-second execution infeasible. Order confirmation depends on Aptos finality, and WebSocket feed latency varies by network congestion. Plan TWAP and algorithmic strategies accordingly, accounting for on-chain transaction times and gas overhead.