Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

trading-system

Skill by alsk1992

Unified trading system for Polymarket and Kalshi that auto-logs trades to SQLite. It offers portfolio views, performance statistics, trade exports and bot management with built-in and custom strategies.

  • Score 85
  • 3.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install trading-system

Built from the published package, never by AI.

git clone --depth 1 https://github.com/alsk1992/CloddsBot /tmp/CloddsBot && mkdir -p ~/.claude/skills && cp -r /tmp/CloddsBot/src/skills/bundled/trading-system ~/.claude/skills/trading-system

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install trading-system in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The trading-system skill is a unified trading system with auto-logging to SQLite, bot management and performance analytics. It lets an assistant view portfolio positions, including current values, and report statistics such as win rate, profit factor, Sharpe ratio and max drawdown. It also gives daily, weekly and monthly P&L breakdowns and trade history. Trades can be exported to CSV or JSON.

Users can register, start, stop, check and delete trading bots. The source lists built-in strategies for mean reversion, momentum and arbitrage, and it describes how to register a custom strategy with init, evaluate, onTrade and cleanup hooks. The source names Polymarket and Kalshi as platforms. It is aimed at traders who want bots and performance tracking in one place.

Written from the project's SKILL.md and checked against it.

What it can do

  • PortfolioView all positions, optionally by platform, with current values.
  • Performance statisticsShow overall stats for a period, such as win rate, Sharpe ratio and max drawdown.
  • P&L breakdownsShow daily, weekly and monthly profit and loss.
  • Trade historyList recent trades, filter by platform, and export to CSV or JSON.
  • Bot managementRegister, start, stop, check status of and delete trading bots.
  • Built-in strategiesCreate mean-reversion, momentum or arbitrage bots with a config.
  • Custom strategiesRegister your own strategy with init, evaluate, onTrade and cleanup functions.
  • Auto-loggingLog all trades automatically to a SQLite database.

What you need

  • POLY_API_KEY or KALSHI_API_KEY environment variable
  • SQLite database file for trade logging

Try asking

  • Show my Polymarket positions with their current values
  • Give me my trading stats for the last 30 days
  • Create a momentum bot with a 14 period lookback

Good to know

  • The source recommends starting with dry-run mode but does not say how to enable it.
  • The source does not describe how the performance metrics are calculated.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/skills/bundled/trading-system/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • index.ts13 KB

Alternatives to trading-system

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

trading-system: common questions

Which prediction markets does trading-system support?

The source names Polymarket and Kalshi as platforms. The skill's gate checks for POLY_API_KEY or KALSHI_API_KEY.

Where are trades stored?

All trades are automatically logged to SQLite. The TypeScript example uses ./trades.db as the log path.

Can I export my trade history?

Yes. The source shows exporting trades to CSV or JSON, with optional date ranges and a platform filter in the chat command.

How do I install trading-system?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is trading-system free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is trading-system safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to trading-system?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

trading-system Install

Add to stack

Loading.