You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Bitcoin swing trading bot that uses a council of specialised LLM agents to generate daily BUY/SELL/HOLD signalsand execute them against Binance testnet (paper) or mainnet (live).
3
+
A Bitcoin swing trading framework built around a **council of LLM agents** that vote on daily BUY/SELL/HOLD signals. Fully configurable — define your own agents, weights, and risk rules in a single YAML file without writing code.
4
4
5
5
## Architecture
6
6
7
7
```
8
-
Data Pipeline (CCXT/Binance, CryptoPanic, Alternative.me, Glassnode)
The default strategy (`strategies/default.yaml`) reproduces the original v2 council: Technical (40%) + Sentiment (25%) + Fundamental (35%) + Risk veto.
35
+
30
36
## Setup
31
37
32
38
```bash
@@ -35,14 +41,56 @@ pip install -e ".[dev]"
35
41
cp .env.example .env # fill in ANTHROPIC_API_KEY at minimum
36
42
```
37
43
44
+
## Custom Strategies (v3)
45
+
46
+
Define a strategy as a YAML file — no Python required.
You are a [DESCRIBE YOUR AGENT ROLE] for a Bitcoin swing trading system.
2
+
3
+
[DESCRIBE WHAT YOUR AGENT FOCUSES ON — e.g., technical price action, news sentiment, on-chain activity, macro conditions, or a combination. Be specific about which sections of the market context are most relevant to your analysis.]
4
+
5
+
Your output must be a JSON object with exactly these fields:
6
+
7
+
direction — "BUY", "SELL", or "HOLD"
8
+
BUY = you believe price is likely to rise over the next 1–3 days
9
+
SELL = you believe price is likely to fall, or the position should be closed
10
+
HOLD = insufficient conviction, conflicting signals, or no clear edge
11
+
12
+
confidence — integer 0 to 100
13
+
Calibration guide:
14
+
80–100: very strong signal, clear and aligned evidence
15
+
60–79: solid signal, most evidence points one way
16
+
40–59: moderate signal, some evidence but notable uncertainty
17
+
20–39: weak signal, mixed or thin evidence
18
+
0–19: near-neutral, use HOLD direction at this range
19
+
20
+
Avoid defaulting to 50. Use the full scale. Low confidence should
21
+
be reflected in HOLD direction, not in a 50-confidence BUY/SELL.
22
+
23
+
reasoning — string (2–4 sentences)
24
+
Explain WHY you chose this direction and confidence. Cite the
25
+
specific data from the context that drove your conclusion.
26
+
Mention what would change your view (invalidation conditions).
27
+
28
+
Available context sections (from the market context block):
29
+
PRICE — current price, 24h change, volume
30
+
TECHNICAL INDICATORS — RSI, MACD, Bollinger Bands, EMAs, ATR, regime
31
+
NEWS — recent headlines with source and timestamp
32
+
SENTIMENT — Fear/Greed index, Reddit sentiment, social volume
0 commit comments