Trader Portfolio
Optimize portfolio allocation using npx neural-trader mean-variance engine with risk constraints and rebalancing plan
Specification
- Skill ID
- ruvnet/ruflo/trader-portfolio
- Publisher
- ruvnet
- Repository
- ruflo
- Installs
- 0
- Files
- 1
- Synced
- Sep 23, 2026
How to use it
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
ruvnet/ruflo/trader-portfolioInstalls these files- SKILL.md
What this skill tells the agent
Optimize portfolio allocation using neural-trader's portfolio engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Load current portfolio:
mcp__plugin_ruflo-core_ruflo__memory_search({ query: "current portfolio holdings", namespace: "trading-portfolio" }) - Run portfolio optimization: ``
bash npx neural-trader --portfolio optimize`With risk target:`bash npx neural-trader --portfolio optimize --risk-target <number>`` - Get risk metrics: ``
bash npx neural-trader --risk assess --portfolio current npx neural-trader --var --portfolio current npx neural-trader --correlation --portfolio current --flag-threshold 0.8`` - Use SONA for expected return prediction:
mcp__plugin_ruflo-core_ruflo__neural_predict({ input: "expected returns for [HOLDINGS] given current regime" }) - Generate rebalancing plan: ``
bash npx neural-trader --portfolio rebalance`` Output: trades needed, current vs target weights, estimated costs - Search for similar allocations in history:
mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search({ query: "optimized portfolio Sharpe > 1", namespace: "trading-portfolio" }) - Store optimized allocation:
mcp__plugin_ruflo-core_ruflo__memory_store({ key: "portfolio-optimal-TIMESTAMP", value: "ALLOCATION_JSON", namespace: "trading-portfolio" })
More from ruvnet
Use this skill in a project
Open any RiverX project, search the Skills panel for ruvnet/ruflo/trader-portfolio, and install it in one click.
