انتقل إلى المحتوى
رجوع
Command line (CLI)10 دقيقة قراءة

Command reference

Every command group in the jw3 CLI, what it reads or changes, and the flags that matter.

الترجمة غير متاحة بعد — يتم عرض الإنجليزية.

jw3 --help is the authoritative list on your machine. This page groups the same commands by what they do. Nothing marked read can change an order or a position.

Account and venue reads #

CommandWhat it returnsCost
jw3 connectionsConnected venues, status, market coverageread
jw3 balances --exchange …Wallet balancesread
jw3 positions --exchange …Open positions, with --watch/--polls to streamread
jw3 orders --exchange …Working ordersread
jw3 order --order-id …One order's current stateread
jw3 fills --exchange …Execution fills with price, size and feeread
jw3 pnl --exchange …Realised PnL historyread
jw3 pnl-reconcile --exchange …Counts losses closed by the venue's own stop into the daily loss counter — never tradesread + counter
jw3 onchain --chains …On-chain wallet balancesread
jw3 riskLimits, kill switch, autonomy, daily usageread
jw3 diary --day …Setups, trades, notes, analyses for a day or rangeread
jw3 diary-note --body "…"Appends or replaces a note on a day (--mode is append or replace)write
jw3 daily-prep [--dry]Builds the morning brief and records it in the Diary; --dry previewswrite
jw3 heatPortfolio heat and free margin per venueread
jw3 insights --days 30One-shot Insights summary: regime, funding, carry, venue share, your fee drag, headlinesread

Market data #

CommandWhat it returnsCost
jw3 marketLast price, 24h stats, book snapshot for one pairread
jw3 screenerVenue screener rows (gainers, volume, funding)read
jw3 klinesCandles with optional --rsi and --vwapread
jw3 tick --pair … --seconds 15Live tick stream and push rateread
jw3 markets endingPrediction markets closing inside a windowpublic
jw3 poly scanLive short-horizon prediction marketspublic

Analysis engines #

CommandWhat it answers
jw3 analyze trendMulti-timeframe direction verdict for a pair
jw3 analyze predictionVerdict for one prediction market
jw3 scan fadeExhaustion setups both ways, with ATR%
jw3 decideSingle long/short/flat decision with calibrated confidence
jw3 forecastDirection and expected move from a K-line model
jw3 voteConfidence-weighted ballot across engines; vote stats, vote record
jw3 spikesVolatility, thrust, book-imbalance and spread alerts
jw3 intel <topic>Headlines, sentiment and catalysts for a topic
jw3 newsCrypto headlines by pair or source
jw3 committeeMulti-engine committee verdict
jw3 oracleOracle read, optionally with a chart image

None of these place orders.

Planning and simulation #

CommandWhat it does
jw3 scalp planDerives TP, step spacing and sizes from measured volatility
jw3 grid plan / grid backtestDirectional ladder plan, or a replay of all three biases
jw3 backtest scalp / backtest liveFee-aware replays of a mechanic on real klines
jw3 farm run / farm leaderboardRuns backtests across pairs and ranks them
jw3 paper …Local paper account: create, fund, execute, positions, fills, pnl, tick, reset, list

jw3 paper never contacts a venue — it is a local simulation for testing a mechanic.

Proposals #

Proposals file a setup into your Diary for approval in the app. They never place an order.

bash
jw3 propose --pair BTC/USDT --side long --entry 64000 --stop 62000 --thesis "…"
jw3 propose-idea --pair ETH/USDT --side buy --entry 3100 --stop 2980 --target 3300
jw3 propose-bracket --exchange kucoin --pair BTC/USDT --side buy --entry-type market --amount 0.01 --stop 61000 --tp 66000:50,68000:50
jw3 propose-predict --market-id … --side yes --jev-verdict "…" --rationale "…"
jw3 propose-close-all --rationale "…"

Needs trade:propose.

Execution — real money #

Every execution command prints a preview and sends nothing without --yes. The server re-checks the kill switch, caps and fees on every call; --yes never overrides a server refusal.

CommandWhat it does
jw3 executePlace a spot or futures order, optionally with stop, take-profits, chase and idempotency key
jw3 closeClose or reduce a futures position with a reduce-only market order
jw3 exitsArm or replace venue-native stop and take-profit legs
jw3 cancelCancel one order by id
jw3 cancel-allCancel every open order on one pair
jw3 reserve sweepMove excess futures balance back to the main account
jw3 scalp start / watch / killRun or stop a multi-step scalp plan
jw3 grid startSeed and place a ladder
jw3 trailRatcheting close-stop on an open position
jw3 watchdog check / runMonitor positions and optionally flatten them

Needs trade:execute.

Advanced loops and guards #

These automate a whole cycle rather than one call. All of them are dry-run by default and refuse to send anything without --yes; jw3 ttm has no live path at all.

CommandWhat it doesSends orders?
jw3 loop --pair …One read-only sense cycle in a single fan-out: market, positions, screener, analysis and a scalp plan, under a 5s budgetNo
jw3 bounce --pair … --side …Watches the session low and fires only after a set bounce off it (--bounce-pct, --lookback-min)Only with --yes
jw3 degen [--pair …]Screens the tape for exhaustion, confirms with the model legs, applies heat caps and runs the scalp mechanic; --paper records instead of tradingOnly with --live --yes
jw3 ttm --pair … --side …Sizes a martingale ladder from equity, ATR and leverage and prints the trail follow-up — a calculator, not an executorNo
jw3 live --pair …The single live execution path: one approved decision becomes exactly one ticket, then verifies what the venue didOnly with --yes

Start with jw3 loop and jw3 ttm: both are pure reads or arithmetic, so you can see what the guards would do before any of them is armed.

Supervision and automation #

CommandWhat it does
jw3 supervise24/7 supervisor: restarts child guards, heartbeat file, log rotation
jw3 daemon --config manifest.jsonRuns a manifest of guards in one process
jw3 monitorSnapshot of positions and orders
jw3 alert --snapshot …Diffs two snapshots and emits alerts
jw3 reconcileCompares local state files against venue truth
jw3 learning record / learning statsRecords outcomes and scores them

Utilities #

CommandWhat it does
jw3 harnessHarness self-check: endpoints, auth, scopes
jw3 score stats / score reportScores recorded decisions
jw3 defi protocols, markets, positions, quote-lp, buildDeFi reads and unsigned transaction builders
jw3 auth (login, logout, status)Token lifecycle

Spaced aliases #

Hyphenated commands also work spaced: jw3 diary note, jw3 daily prep, jw3 pnl reconcile, jw3 cancel all, jw3 reserve sweep, and jw3 propose idea|bracket|predict|close-all.

Flag aliases: --lev = --leverage, --tf = --timeframe, --bounceback-pct = --backoff-pct.

قائمة التحقق

  • Found the command group you need
  • Confirmed whether it reads or moves money
  • Checked the scope your token needs

Related documents