jaspervault_cli 1.0.14 → 1.0.15
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.
|
@@ -18,7 +18,7 @@ export function registerOrderCommand(program) {
|
|
|
18
18
|
.requiredOption('--side <long|short>', 'Position side')
|
|
19
19
|
.requiredOption('--symbol <symbol>', 'Asset symbol (e.g. JBTC, CBBTC)')
|
|
20
20
|
.option('--leverage <n>', 'Leverage (default: from chain config, typically 50)')
|
|
21
|
-
.requiredOption('--margin
|
|
21
|
+
.requiredOption('-m, --margin <usdc>', 'Margin (collateral) in USDC — the actual amount deposited as collateral')
|
|
22
22
|
.option('--margin-account <addr>', 'Margin vault address (default: from profile)')
|
|
23
23
|
.option('--position-account <addr>', 'Position vault address (default: from profile)')
|
|
24
24
|
.option('--limit-price <price>', 'Limit price in USDC (omit for market order)')
|
|
@@ -42,8 +42,9 @@ export function registerOrderCommand(program) {
|
|
|
42
42
|
const leverage = opts.leverage
|
|
43
43
|
? parseInt(opts.leverage, 10)
|
|
44
44
|
: (net.defaultLeverage ?? 50);
|
|
45
|
-
const
|
|
46
|
-
const
|
|
45
|
+
const marginInput = parseFloat(opts.margin);
|
|
46
|
+
const notionalAmount = marginInput * leverage;
|
|
47
|
+
const actualMargin = marginInput.toFixed(6);
|
|
47
48
|
const positionAccount = opts.positionAccount ?? getPositionAccountFromProfile(profile, side) ?? undefined;
|
|
48
49
|
const intent = {
|
|
49
50
|
side,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.js","sourceRoot":"","sources":["../../../src/commands/order.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;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C;SAC9D,MAAM,CAAC,eAAe,EAAE,qBAAqB,CAAC;SAC9C,MAAM,CAAC,kBAAkB,EAAE,2BAA2B,CAAC;SACvD,MAAM,CAAC,UAAU,EAAE,0BAA0B,CAAC;SAC9C,MAAM,CAAC,KAAK,EAAE,IAA4E,EAAE,EAAE;QAC7F,MAAM,MAAM,GAAG,UAAU,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;QACrC,MAAM,IAAI,GAAG,MAAM,cAAc,CAAC,IAAI,CAA4B,CAAC;QACnE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,CAC3B,SAAS,CAAC,mBAAmB,EAC7B,IAAI,CACL,CAAC;QACF,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -33,7 +33,7 @@ Interact with JasperVault's perpetual contract platform. You can create market/l
|
|
|
33
33
|
|
|
34
34
|
- \`jv\` CLI installed and available in PATH
|
|
35
35
|
- **First-time setup**: use \`jv vault init-wc\` to initialize via WalletConnect (scan QR on phone, sign delegation — no private key needed)
|
|
36
|
-
- API URL defaults to
|
|
36
|
+
- API URL defaults to \`https://trading-api-test.jaspervault.pro\`; set \`JV_API_URL\` only when debugging locally
|
|
37
37
|
|
|
38
38
|
## Activation Behavior
|
|
39
39
|
|
|
@@ -83,43 +83,30 @@ Do NOT ask the user to set \`PRIVATE_KEY\`. Do NOT suggest \`jv vault init\` unl
|
|
|
83
83
|
|
|
84
84
|
## Key Concepts (MUST READ before any trading operation)
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
**How \`--margin\` works:**
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
--margin-amount = NOTIONAL VALUE (NOT actual margin/collateral!)
|
|
90
|
-
\`\`\`
|
|
91
|
-
|
|
92
|
-
**Formulas:**
|
|
88
|
+
\`--margin\` = the **actual collateral (margin) in USDC** you deposit. The CLI internally multiplies by leverage to compute the notional position size.
|
|
93
89
|
|
|
94
90
|
| Concept | Formula | Example |
|
|
95
91
|
|---------|---------|---------|
|
|
96
92
|
| Notional value | \`margin × leverage\` | 60 USDC × 50x = $3,000 |
|
|
97
|
-
| Actual margin (collateral) | \`notional / leverage\` | $3,000 / 50 = 60 USDC |
|
|
98
93
|
| Position size | \`notional / current_price\` | $3,000 / $70,000 = 0.0428 JBTC |
|
|
99
94
|
|
|
100
|
-
**
|
|
101
|
-
|
|
102
|
-
The \`--margin-amount\` parameter takes the **notional value** (total leveraged position value in USDC). The CLI internally divides by leverage to get the actual margin:
|
|
103
|
-
|
|
104
|
-
- User passes: \`--margin-amount 3000 --leverage 50\`
|
|
105
|
-
- CLI calculates: actual margin = 3000 / 50 = 60 USDC (collateral locked)
|
|
106
|
-
- Position created: $3,000 notional, 60 USDC collateral, ~0.0428 JBTC size
|
|
107
|
-
|
|
108
|
-
**Translating user intent to \`--margin-amount\` (three scenarios):**
|
|
95
|
+
**Translating user intent to \`--margin\` (three scenarios):**
|
|
109
96
|
|
|
110
97
|
| User says | Calculation | Pass to CLI |
|
|
111
98
|
|-----------|-------------|-------------|
|
|
112
|
-
| "long
|
|
113
|
-
| "
|
|
114
|
-
| "
|
|
99
|
+
| "long with $60 USDC margin at 50x" | already the margin | \`--margin 60\` |
|
|
100
|
+
| "open a $3,000 notional position at 50x" | margin = 3000 / 50 = 60 | \`--margin 60\` |
|
|
101
|
+
| "long 0.1 BTC at 50x" | margin = (0.1 × current_price) / 50 | \`--margin <result>\` |
|
|
115
102
|
|
|
116
|
-
CRITICAL: When the user specifies an asset amount (e.g. "0.1 BTC"), you MUST first estimate the current price,
|
|
103
|
+
CRITICAL: When the user specifies an asset amount (e.g. "0.1 BTC"), you MUST first estimate the current price, compute \`notional = size × price\`, then \`margin = notional / leverage\` before passing \`--margin\`.
|
|
117
104
|
|
|
118
105
|
**How to read \`jv orders list\` output:**
|
|
119
106
|
|
|
120
107
|
| Field | What it means |
|
|
121
108
|
|-------|---------------|
|
|
122
|
-
| \`margin\` | Actual collateral deposited (e.g. 60 USDC) —
|
|
109
|
+
| \`margin\` | Actual collateral deposited (e.g. 60 USDC) — matches what you passed to \`--margin\` |
|
|
123
110
|
| \`size\` | Position size in underlying asset (e.g. 0.0428 JBTC) |
|
|
124
111
|
| \`leverage\` | Leverage multiplier (e.g. 50) |
|
|
125
112
|
| \`entryPriceUsd\` | Entry price when position was opened |
|
|
@@ -133,14 +120,14 @@ To calculate notional from output: \`notional = margin × leverage\` (or \`size
|
|
|
133
120
|
When the user wants to **open a position**, **place a market order**, or **place a limit order**:
|
|
134
121
|
|
|
135
122
|
\`\`\`bash
|
|
136
|
-
# Market order: Long JBTC,
|
|
137
|
-
jv order create --side long --symbol JBTC --margin
|
|
123
|
+
# Market order: Long JBTC, 60 USDC margin at 50x (= $3,000 notional)
|
|
124
|
+
jv order create --side long --symbol JBTC --margin 60 --leverage 50 --network jaspervault
|
|
138
125
|
|
|
139
|
-
# Market order: Short JBTC,
|
|
140
|
-
jv order create --side short --symbol JBTC --margin
|
|
126
|
+
# Market order: Short JBTC, 100 USDC margin at 50x (= $5,000 notional)
|
|
127
|
+
jv order create --side short --symbol JBTC --margin 100 --leverage 50 --network jaspervault
|
|
141
128
|
|
|
142
129
|
# Limit order: add --limit-price
|
|
143
|
-
jv order create --side long --symbol JBTC --margin
|
|
130
|
+
jv order create --side long --symbol JBTC --margin 60 --leverage 50 --limit-price 65000 --network jaspervault
|
|
144
131
|
\`\`\`
|
|
145
132
|
|
|
146
133
|
The CLI signs the order internally using the delegation wallet. No pre-signed payload required.
|
|
@@ -154,28 +141,27 @@ To reduce a position, create an **opposite-side order** with the notional value
|
|
|
154
141
|
**Step-by-step for reducing a position:**
|
|
155
142
|
|
|
156
143
|
1. Query current position: \`jv orders list --pretty\`
|
|
157
|
-
2. Calculate
|
|
158
|
-
-
|
|
159
|
-
- To close half: \`
|
|
160
|
-
3. Create opposite-side order with that
|
|
144
|
+
2. Calculate margin to close:
|
|
145
|
+
- Read the \`margin\` field directly from output (e.g. 60 USDC)
|
|
146
|
+
- To close half: \`close_margin = margin / 2\` (e.g. 30 USDC)
|
|
147
|
+
3. Create opposite-side order with that margin value
|
|
161
148
|
|
|
162
149
|
**Example: Reduce a LONG position by half**
|
|
163
150
|
|
|
164
151
|
Current position from \`jv orders list\`:
|
|
165
152
|
- margin: 60 USDC, leverage: 50, size: 0.0428 JBTC
|
|
166
|
-
- notional = 60 × 50 = $3,000
|
|
167
153
|
|
|
168
|
-
To close half ($1,500 notional):
|
|
154
|
+
To close half (30 USDC margin → $1,500 notional):
|
|
169
155
|
\`\`\`bash
|
|
170
|
-
jv order create --side short --symbol JBTC --margin
|
|
156
|
+
jv order create --side short --symbol JBTC --margin 30 --leverage 50 --network jaspervault
|
|
171
157
|
\`\`\`
|
|
172
158
|
|
|
173
|
-
**Example: Close entire position ($3,000 notional):**
|
|
159
|
+
**Example: Close entire position (60 USDC margin → $3,000 notional):**
|
|
174
160
|
\`\`\`bash
|
|
175
|
-
jv order create --side short --symbol JBTC --margin
|
|
161
|
+
jv order create --side short --symbol JBTC --margin 60 --leverage 50 --network jaspervault
|
|
176
162
|
\`\`\`
|
|
177
163
|
|
|
178
|
-
IMPORTANT: The \`--margin
|
|
164
|
+
IMPORTANT: The \`--margin\` for reduction = the margin portion you want to close (read directly from \`jv orders list\` output \`margin\` field).
|
|
179
165
|
|
|
180
166
|
### Setting Take-Profit
|
|
181
167
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-body.js","sourceRoot":"","sources":["../../../src/templates/skill-body.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE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