@hedge-layer/cli 1.8.0 → 2.0.0

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 CHANGED
@@ -56,10 +56,10 @@ hl brief "US China trade war tariffs"
56
56
  # 4. Or start an interactive research session
57
57
  hl research
58
58
 
59
- # 5. Run the persisted liquidity-provider loop
60
- hl lp scan "liquidity opportunities"
61
- hl lp recommend --scan-id <scan-id>
62
- hl lp evaluate
59
+ # 5. Run the manual liquidity-provider flow
60
+ hl --json feed liquidity-provider --limit 15 | jq '{ markets: .markets }' > markets.json
61
+ hl lp allocator --markets markets.json
62
+ hl-trader buy
63
63
 
64
64
  # 6. Check linked wallet funds
65
65
  hl wallet balances
@@ -77,11 +77,24 @@ Liquidity-provider workflows are available under `hl lp`:
77
77
 
78
78
  ```bash
79
79
  hl lp scan "liquidity opportunities" # persist candidate evidence
80
+ hl lp allocator --markets markets.json # run allocator agent on an explicit list
80
81
  hl lp recommend --scan-id <scan-id> # recommend allocate/reduce/exit actions
81
82
  hl lp evaluate # summarize PnL lessons
82
- hl lp run # run the dry-run chain
83
83
  ```
84
84
 
85
+ The lightweight manual loop is:
86
+
87
+ ```bash
88
+ hl --json feed lp-opportunity --limit 15 > markets.json
89
+ hl lp allocator --markets markets.json
90
+ hl-trader buy ...
91
+ ```
92
+
93
+ `hl lp allocator` submits the candidate market list through the web API to the
94
+ allocator agent. Allocator output shows target capital, quote regime, failed
95
+ safety checks, and split spread/reward economics. Trade execution stays outside
96
+ the `hl` allocator command.
97
+
85
98
  Wallet commands are available under `hl wallet`:
86
99
 
87
100
  ```bash