rhx 0.3.0 → 0.3.2

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.
Files changed (2) hide show
  1. package/README.md +31 -13
  2. package/package.json +13 -6
package/README.md CHANGED
@@ -1,26 +1,44 @@
1
1
  # rhx
2
2
 
3
- Native npm launcher for the `rhx` CLI.
3
+ Auth-first Robinhood CLI available via `npx`.
4
4
 
5
- ## Usage
5
+ This npm package is a launcher for the `rhx` CLI. It runs a prebuilt native binary on supported platforms and falls back to Python launchers (`uvx`/`pipx`) when needed.
6
+
7
+ ## Quick Start
6
8
 
7
9
  ```bash
8
10
  npx rhx --help
9
- npx rhx quote get AAPL
11
+ npx rhx auth login
12
+ npx rhx auth verify
10
13
  ```
11
14
 
12
- Supported no-prereq platforms:
13
-
14
- 1. macOS arm64
15
- 2. Linux x64
16
- 3. Windows x64
15
+ ## Common Examples
17
16
 
18
- The package installs a matching prebuilt native binary via optional dependencies and runs it directly.
17
+ ```bash
18
+ # Quote lookup
19
+ npx rhx --json quote get AAPL
19
20
 
20
- If you are on an unsupported platform, `rhx` falls back to Python launchers (`uvx`/`pipx`).
21
+ # Batch quotes
22
+ npx rhx --json quote list --symbols AAPL,MSFT,BTC-USD
21
23
 
22
- To force Python fallback even on a supported platform:
24
+ # Enable live mode and place a stock order
25
+ TOKEN=$(npx rhx --json live on --yes | jq -r '.data.live_confirm_token')
26
+ npx rhx --json orders stock place --symbol AAPL --side buy --type market --qty 1 --live-confirm-token "$TOKEN"
23
27
 
24
- ```bash
25
- RHX_ENABLE_PYTHON_FALLBACK=1 npx rhx --help
28
+ # Option chain discovery
29
+ npx rhx --json options expirations AAPL
30
+ npx rhx --json options strikes AAPL --expiration-date 2026-12-18 --option-type both
26
31
  ```
32
+
33
+ ## Platform Support
34
+
35
+ - `darwin-arm64`
36
+ - `linux-x64`
37
+ - `win32-x64`
38
+
39
+ Set `RHX_ENABLE_PYTHON_FALLBACK=1` to force Python fallback even on a supported platform.
40
+
41
+ ## Links
42
+
43
+ - Repo and full docs: <https://github.com/finlayi/robinhood-cli>
44
+ - Security policy: <https://github.com/finlayi/robinhood-cli/blob/main/SECURITY.md>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rhx",
3
- "version": "0.3.0",
4
- "description": "Native npx launcher for the rhx CLI",
3
+ "version": "0.3.2",
4
+ "description": "Auth-first Robinhood CLI launcher for npx",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "publishConfig": {
@@ -22,17 +22,24 @@
22
22
  "url": "git+https://github.com/finlayi/robinhood-cli.git",
23
23
  "directory": "npm"
24
24
  },
25
+ "homepage": "https://github.com/finlayi/robinhood-cli#readme",
26
+ "bugs": {
27
+ "url": "https://github.com/finlayi/robinhood-cli/issues"
28
+ },
25
29
  "keywords": [
26
30
  "robinhood",
27
31
  "cli",
28
- "python",
32
+ "automation",
33
+ "json",
34
+ "options",
35
+ "crypto",
29
36
  "npx",
30
37
  "trading"
31
38
  ],
32
39
  "optionalDependencies": {
33
- "rhx-darwin-arm64": "0.3.0",
34
- "rhx-linux-x64": "0.3.0",
35
- "rhx-win32-x64": "0.3.0"
40
+ "rhx-darwin-arm64": "0.3.2",
41
+ "rhx-linux-x64": "0.3.2",
42
+ "rhx-win32-x64": "0.3.2"
36
43
  },
37
44
  "scripts": {
38
45
  "sync:versions": "node scripts/sync-platform-versions.cjs",