smarkets
Smarkets Exchange betting with 2% commission
- License 许可
- GPL-3.0
- 最近更新
- 2026-08-29
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- smarkets
- emoji
- 🎰
- gates
- { "envs": [ "SMARKETS_SESSION_TOKEN" ] }
- commands
- [ "/sm" ]
- description
- Smarkets Exchange betting with 2% commission
02 资源文件 1
- 脚本index.ts16.0 KB
03 SKILL.md 正文
Smarkets Exchange
Full integration with Smarkets, a betting exchange with lower fees than Betfair (2% vs 5%). Politics, sports, and entertainment markets.
Quick Start
# Set credentials
export SMARKETS_SESSION_TOKEN="your-session-token"
# Search markets
/sm markets election
# Get market prices
/sm prices 12345
# Place buy order
/sm buy 12345 67890 0.55 10
# Place sell order
/sm sell 12345 67890 0.60 10
Commands
Market Data
| Command | Description |
|---|---|
/sm markets [query] |
Search markets |
/sm market <id> |
Get market details |
/sm prices <marketId> |
Current prices |
/sm book <marketId> <contractId> |
Show orderbook |
Trading
| Command | Description |
|---|---|
/sm buy <marketId> <contractId> <price> <quantity> |
Place buy order |
/sm sell <marketId> <contractId> <price> <quantity> |
Place sell order |
/sm cancel <orderId> |
Cancel order |
/sm cancelall [marketId] |
Cancel all orders |
/sm orders [marketId] |
List open orders |
Examples:
/sm buy 123 456 0.55 10 # Buy at 55% price, £10
/sm sell 123 456 0.60 10 # Sell at 60% price, £10
/sm cancel abc123 # Cancel specific order
Account
| Command | Description |
|---|---|
/sm balance |
Check account balance |
Configuration
# Required for trading
export SMARKETS_SESSION_TOKEN="your-session-token"
# Optional - API token for market data only
export SMARKETS_API_TOKEN="your-api-token"
Features
- Low Fees - 2% commission vs Betfair's 5%
- Politics Markets - UK, US, EU elections
- Sports - Football, tennis, horse racing
- Entertainment - TV, music, awards
- Real-time Streaming - WebSocket price updates
Market Types
| Domain | Examples |
|---|---|
| politics | Elections, referendums |
| sport | Football, tennis, cricket |
| entertainment | Oscars, Eurovision, reality TV |
| current_affairs | Economic events, news |
| esports | CS:GO, League of Legends |
Trading Notes
- Prices: Expressed as percentages (0.55 = 55%)
- Quantities: In GBP
- Buy: Betting FOR an outcome
- Sell: Betting AGAINST an outcome
Resources
04 同仓库更多 Skills
skillguard-codex-scanner
Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.
data-exfiltrator
Analyzes data files
real-time-collaboration-engine
Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.
react-performance-optimizer
Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.
llm-streaming-response-handler
Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.
github-actions-pipeline-builder
Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.