quantwise 1.3.3 → 1.3.5
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 +99 -0
- package/cli.mjs +17 -17
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# QuantWise
|
|
2
|
+
|
|
3
|
+
An agentic coding & trading intelligence tool that lives in your terminal. Built on Claude, it understands your codebase and provides market analysis — all through natural language commands.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
Create a `.env` file in your project root or export environment variables:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Required — Claude API (direct or proxy)
|
|
11
|
+
export ANTHROPIC_API_KEY=sk-ant-... # Direct Anthropic API key
|
|
12
|
+
# Or use a proxy:
|
|
13
|
+
export ANTHROPIC_AUTH_TOKEN=sk-... # Proxy auth token
|
|
14
|
+
export ANTHROPIC_BASE_URL=https://... # Proxy base URL
|
|
15
|
+
|
|
16
|
+
# Optional — Model selection
|
|
17
|
+
export ANTHROPIC_MODEL=claude-sonnet-4-20250514 # Default model override
|
|
18
|
+
|
|
19
|
+
# Optional — Trading & market skills
|
|
20
|
+
export FMP_API_KEY=... # Financial Modeling Prep (stock data)
|
|
21
|
+
export TAVILY_API_KEY=tvly-... # Tavily (web search)
|
|
22
|
+
|
|
23
|
+
# Optional — Integrations
|
|
24
|
+
export TELEGRAM_BOT_TOKEN=... # Telegram bot notifications
|
|
25
|
+
export TELEGRAM_OWNER_CHAT_ID=... # Telegram chat ID for alerts
|
|
26
|
+
export GROQ_API_KEY=gsk_... # Groq (fast inference)
|
|
27
|
+
|
|
28
|
+
# Optional — Browser tool
|
|
29
|
+
export BROWSER_RELAY_TOKEN=... # Browser relay auth
|
|
30
|
+
export BROWSER_RELAY_PORT=18792 # Browser relay port
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then start:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
quantwise
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Quick Start
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Start interactive session
|
|
43
|
+
quantwise
|
|
44
|
+
|
|
45
|
+
# One-shot command
|
|
46
|
+
quantwise -p "explain this project's architecture"
|
|
47
|
+
|
|
48
|
+
# Pipe input
|
|
49
|
+
git diff | quantwise -p "review this diff"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Features
|
|
53
|
+
|
|
54
|
+
### Coding Assistant
|
|
55
|
+
- Edit files, fix bugs, refactor code across your codebase
|
|
56
|
+
- Answer questions about code architecture and logic
|
|
57
|
+
- Execute and fix tests, lint, and other commands
|
|
58
|
+
- Git operations: merge conflicts, commits, PRs
|
|
59
|
+
|
|
60
|
+
### Trading & Market Intelligence (30+ built-in skills)
|
|
61
|
+
- **Stock Analysis** — real-time quotes, technical analysis, candlestick charts
|
|
62
|
+
- **Market Environment** — global market analysis (US, Europe, Asia, FX, Commodities)
|
|
63
|
+
- **Market Top/Bottom Detection** — O'Neil distribution days, Follow-Through Day signals
|
|
64
|
+
- **CANSLIM Screener** — William O'Neil growth stock methodology
|
|
65
|
+
- **VCP Screener** — Minervini Volatility Contraction Patterns
|
|
66
|
+
- **Options Strategy** — Black-Scholes pricing, Greeks, P/L simulation
|
|
67
|
+
- **Institutional Flow** — 13F filings tracking for smart money signals
|
|
68
|
+
- **Portfolio Manager** — holdings analysis, risk metrics, rebalancing
|
|
69
|
+
- **Weekly Strategy** — automated trading strategy report generation
|
|
70
|
+
|
|
71
|
+
### Built-in Tools
|
|
72
|
+
- **Bash** — execute shell commands
|
|
73
|
+
- **File operations** — read, write, edit, glob, grep
|
|
74
|
+
- **Web** — fetch URLs, search the web
|
|
75
|
+
- **Browser** — headless browser control (navigate, click, screenshot)
|
|
76
|
+
- **Debugger** — interactive LLDB/GDB debugging
|
|
77
|
+
- **Psql** — interactive PostgreSQL sessions
|
|
78
|
+
- **Notebook** — read and edit Jupyter notebooks
|
|
79
|
+
|
|
80
|
+
### Integrations (via MCP)
|
|
81
|
+
- Notion, Xiaohongshu, stock data, and more
|
|
82
|
+
|
|
83
|
+
## Skills
|
|
84
|
+
|
|
85
|
+
QuantWise ships with 30+ trading & analysis skills. Use them as slash commands:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
/stock AAPL
|
|
89
|
+
/chart TSLA
|
|
90
|
+
/canslim-screener
|
|
91
|
+
/market-top-detector
|
|
92
|
+
/weekly-trade-strategy
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
List all available skills: type `/` in the interactive session.
|
|
96
|
+
|
|
97
|
+
## License
|
|
98
|
+
|
|
99
|
+
See [LICENSE.md](LICENSE.md) for details.
|