@trading-boy/cli 1.2.9 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,93 @@
1
1
  # @trading-boy/cli
2
2
 
3
- Command-line interface for Trading Boy, built with Commander.js.
3
+ Crypto context intelligence for traders and AI agents. Real-time market data, on-chain analytics, DeFi risk scoring, and an adaptive learning engine — all from the command line.
4
4
 
5
- ## Structure
5
+ **Website:** [cabal.ventures](https://cabal.ventures) | **Docs:** [cabal.ventures/docs](https://cabal.ventures/docs)
6
6
 
7
- - **index.ts** — CLI entry point and command registration
8
- - **commands/** — Individual command implementations
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @trading-boy/cli
11
+ ```
12
+
13
+ Requires Node.js 20+.
14
+
15
+ ## Quick Start
16
+
17
+ ```bash
18
+ # 1. Subscribe (free tier available)
19
+ trading-boy subscribe --plan starter -e you@email.com
20
+
21
+ # 2. Query a token
22
+ trading-boy query SOL
23
+
24
+ # 3. Get full context intelligence
25
+ trading-boy context SOL
26
+
27
+ # 4. Register a trader profile
28
+ trading-boy trader register --name MyTrader
29
+
30
+ # 5. Log a trade
31
+ trading-boy journal entry SOL --direction LONG --price 148.50 --size 500
32
+ ```
33
+
34
+ ## What You Get
35
+
36
+ - **Real-time prices** for 100+ Solana SPL tokens and 229 Hyperliquid perpetuals
37
+ - **Funding rates & open interest** from Binance perp markets
38
+ - **On-chain analytics** — whale transactions, exchange flows, smart money tracking
39
+ - **DeFi risk scoring** — protocol dependency trees, contagion risk, concentration analysis
40
+ - **Trading journal** — context-linked decisions with outcome tracking and confidence calibration
41
+ - **Behavioral guardrails** — bias detection, overtrading alerts, pattern analysis
42
+ - **Adaptive learning** — signals improve based on your personal trading outcomes
43
+ - **Edge analytics** — win rate, best/worst setups, confidence calibration scores
44
+ - **Agent integration** — MCP server for Claude, GPT, and other AI agents
45
+
46
+ ## Commands
47
+
48
+ ```
49
+ trading-boy context <token> # Full 6-layer context package
50
+ trading-boy query <token> # Quick price + funding summary
51
+ trading-boy watch <token> # Live watch mode
52
+ trading-boy catalysts # Upcoming events
53
+ trading-boy risk <protocol> # DeFi risk assessment
54
+ trading-boy narrative list # Active market narratives
55
+
56
+ trading-boy journal entry <token> # Log a trade entry
57
+ trading-boy journal exit <token> # Log a trade exit
58
+ trading-boy decisions # View decision history
59
+ trading-boy edge <traderId> # Edge profile analytics
60
+ trading-boy behavioral # Behavioral pattern analysis
61
+
62
+ trading-boy subscribe # Subscribe via Stripe
63
+ trading-boy login # Store API key
64
+ trading-boy trader register # Create trader profile
65
+ trading-boy billing manage # Manage subscription
66
+ ```
67
+
68
+ Run `trading-boy --help` for the full command list.
69
+
70
+ ## Pricing
71
+
72
+ | Plan | Price | Tokens | Trades/mo |
73
+ |------|-------|--------|-----------|
74
+ | Starter | Free | 5 | 50 |
75
+ | Pro | $29/mo | 25 | 500 |
76
+ | Edge | $99/mo | 100 | Unlimited |
77
+
78
+ All plans include every feature. Limits apply to traded tokens and logged trades only — queries are unlimited.
79
+
80
+ ## API & Agent Integration
81
+
82
+ Trading Boy exposes an MCP server for AI agent integration and a REST API for programmatic access.
83
+
84
+ ```bash
85
+ # Start the MCP server (for Claude, GPT, etc.)
86
+ trading-boy mcp
87
+
88
+ # REST API is hosted at https://api.cabal.ventures
89
+ ```
90
+
91
+ ## License
92
+
93
+ MIT
@@ -35368,16 +35368,16 @@ var envSchema = external_exports.object({
35368
35368
  // Neo4j
35369
35369
  NEO4J_URI: external_exports.string().default("bolt://localhost:7687"),
35370
35370
  NEO4J_USER: external_exports.string().default("neo4j"),
35371
- NEO4J_PASSWORD: external_exports.string().default("tradingboy"),
35371
+ NEO4J_PASSWORD: external_exports.string(),
35372
35372
  // TimescaleDB (individual fields for explicit control)
35373
35373
  TIMESCALE_HOST: external_exports.string().default("localhost"),
35374
35374
  TIMESCALE_PORT: external_exports.coerce.number().int().positive().default(5432),
35375
35375
  TIMESCALE_USER: external_exports.string().default("tradingboy"),
35376
- TIMESCALE_PASSWORD: external_exports.string().default("tradingboy"),
35376
+ TIMESCALE_PASSWORD: external_exports.string(),
35377
35377
  TIMESCALE_DB: external_exports.string().default("tradingboy"),
35378
35378
  // Redis
35379
35379
  REDIS_URL: external_exports.string().default("redis://localhost:6379"),
35380
- REDIS_PASSWORD: external_exports.string().default("tradingboy_redis_dev"),
35380
+ REDIS_PASSWORD: external_exports.string(),
35381
35381
  // Data Sources (optional — empty string means not configured)
35382
35382
  JUPITER_API_KEY: external_exports.string().default(""),
35383
35383
  HELIUS_API_KEY: external_exports.string().default(""),
package/package.json CHANGED
@@ -1,7 +1,25 @@
1
1
  {
2
2
  "name": "@trading-boy/cli",
3
- "version": "1.2.9",
4
- "description": "Trading Boy CLI — crypto context intelligence for traders and AI agents",
3
+ "version": "1.2.11",
4
+ "description": "Trading Boy CLI — crypto context intelligence for traders and AI agents. Query real-time prices, funding rates, whale activity, and DeFi risk for 100+ Solana tokens and 229 Hyperliquid perpetuals.",
5
+ "homepage": "https://cabal.ventures",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/0xLLM73/Trading-Boy"
9
+ },
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "crypto",
13
+ "trading",
14
+ "solana",
15
+ "hyperliquid",
16
+ "defi",
17
+ "trading-journal",
18
+ "context-intelligence",
19
+ "ai-agents",
20
+ "mcp",
21
+ "cli"
22
+ ],
5
23
  "publishConfig": {
6
24
  "access": "public"
7
25
  },
@@ -13,6 +31,7 @@
13
31
  },
14
32
  "files": [
15
33
  "dist",
34
+ "README.md",
16
35
  "!dist/**/*.test.*",
17
36
  "!dist/**/*.map"
18
37
  ],
@@ -21,12 +40,12 @@
21
40
  "typecheck": "tsc --noEmit",
22
41
  "test": "vitest run",
23
42
  "lint": "eslint src/",
24
- "clean": "rm -rf dist .turbo"
43
+ "clean": "rm -rf dist .turbo",
44
+ "prepublishOnly": "node prepublish-check.js"
25
45
  },
26
46
  "dependencies": {
27
47
  "@inquirer/prompts": "~7.10.1",
28
48
  "@napi-rs/keyring": "~1.1.3",
29
- "@trading-boy/core": "workspace:~1.2.0",
30
49
  "chalk": "~5.6.2",
31
50
  "commander": "~13.1.0",
32
51
  "open": "~10.2.0",
@@ -34,6 +53,7 @@
34
53
  "qrcode-terminal": "~0.12.0"
35
54
  },
36
55
  "devDependencies": {
56
+ "@trading-boy/core": "workspace:~1.2.0",
37
57
  "esbuild": "~0.27.4",
38
58
  "typescript": "^5.7.0"
39
59
  }