---
name: opinion-fdefc186a207
description: Opinion.trade prediction market (BNB Chain CLOB)
emoji: "🗳️"
commands:
  - /op
---

# Opinion.trade

Full integration with Opinion.trade, a BNB Chain prediction market with on-chain CLOB (Central Limit Order Book).

## Quick Start

```bash
# Set credentials
export OPINION_API_KEY="your-api-key"
export OPINION_PRIVATE_KEY="0x..."

# Search markets
/op markets trump

# Get price
/op price 813

# Place order
/op buy 813 YES 0.55 100
```

## Commands

### Market Data

| Command | Description |
|---------|-------------|
| `/op markets [query]` | Search markets |
| `/op market <id>` | Get market details |
| `/op price <id>` | Current prices |
| `/op book <tokenId>` | Show orderbook |

### Trading

| Command | Description |
|---------|-------------|
| `/op buy <marketId> <outcome> <price> <size>` | Place buy order |
| `/op sell <marketId> <outcome> <price> <size>` | Place sell order |
| `/op cancel <orderId>` | Cancel order |
| `/op cancelall` | Cancel all orders |
| `/op orders` | List open orders |

**Examples:**
```bash
/op buy 813 YES 0.55 100     # Buy YES at 55c, 100 shares
/op sell 813 NO 0.40 50      # Sell NO at 40c, 50 shares
/op cancel abc123            # Cancel specific order
```

### Account

| Command | Description |
|---------|-------------|
| `/op balance` | Check USDT balance |
| `/op positions` | View open positions |

## Configuration

```bash
# Required for market data
export OPINION_API_KEY="your-api-key"

# Required for trading
export OPINION_PRIVATE_KEY="0x..."
export OPINION_MULTISIG_ADDRESS="0x..."  # Vault/funder address
```

## Features

- **BNB Chain** - Fast, low-cost transactions
- **On-chain CLOB** - Fully decentralized orderbook
- **Prediction Markets** - Politics, crypto, sports, and more
- **Real-time WebSocket** - Live price updates
- **EIP-712 Signing** - Secure order authentication

## Resources

- [Opinion.trade App](https://opinion.trade)
- [API Documentation](https://docs.opinion.trade)


---
Source attribution: alsk1992
Original project: https://github.com/alsk1992/CloddsBot/blob/c930628c47a4a745f497e29035a3b64622f97cc7/src/skills/bundled/opinion/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 alsk1992

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: alsk1992
Original project: https://github.com/alsk1992/CloddsBot/blob/c930628c47a4a745f497e29035a3b64622f97cc7/src/skills/bundled/opinion/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing, Sales
Roles: Business Development, Growth Marketer, Product Marketer
Specialties: API
Tools: Opinion.Trade
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 20ead64db82d101ff907e82fea69337fde7df86dafa5307bacca9a8c004d087a
