Use when generating long-term stock recommendations from this investing workspace. Runs the long-term recommendation and backtest workflow using the same downloaded daily market data, but treats it as a recommendation-only screener that returns BUY, SELL, or HOLD without managing portfolio state.
Use this skill for longer-horizon recommendation runs in this repo.
Assume the skill runs from this directory:
/Users/anuragmohan/Documents/POC/investing
If the runtime starts elsewhere, change into that directory first or use absolute paths.
input_config.jsonstate/portfolio_state.jsonRun from the working directory above:
python3 /Users/anuragmohan/Documents/POC/investing/main.py longterm-backtest --format text
python3 /Users/anuragmohan/Documents/POC/investing/main.py longterm-recommend --format text
python3 /Users/anuragmohan/Documents/POC/investing/main.py longterm-run-all --format text
If JSON output is needed:
python3 /Users/anuragmohan/Documents/POC/investing/main.py longterm-run-all --format json --output /Users/anuragmohan/Documents/POC/investing/longterm_output.json
/Users/anuragmohan/Documents/POC/investing/input_config.jsonThe long-term workflow is recommendation-only. It ignores portfolio holdings for recommendation generation.
This workflow looks for slower, durable trend signals such as:
It is intended for position-style ideas, not short-term swing entries.
Suggested frequency:
5:00 PM ETOptional second run:
8:00-9:00 AM ET for a refreshed readoutDo not run this every few hours unless there is a specific reason.
Summarize:
For each ticker, include:
state/portfolio_state.jsonblocked, do not elevate BUY ideas