TradingAgents/cli
liuping e3811b6192 fix: resolve get_ticker function parameter mismatch error
� Problem Fixed:
- Remove duplicate get_ticker() function in main.py that had no parameters
- This function was overriding the correct get_ticker(market=None) from utils.py
- Caused TypeError: get_ticker() takes 0 positional arguments but 1 was given

 Solution:
- Delete old get_ticker() function from main.py (line 506-508)
- Keep only the correct get_ticker(market=None) function in utils.py
- Function now properly accepts market parameter for market-specific validation

� Test Results:
- Function signature: (market=None) -> str 
- Function location: cli/utils.py line 67 
- No import conflicts 
- CLI startup working 
- Market selection working 

Now users can successfully:
1. Select market (US Stock or China A-Share)
2. Enter ticker with market-specific validation
3. Continue with analysis workflow

The CLI now properly handles market selection and ticker input without parameter errors.
2025-07-06 02:18:15 +08:00
..
static chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
__init__.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
main.py fix: resolve get_ticker function parameter mismatch error 2025-07-06 02:18:15 +08:00
models.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
utils.py refactor: simplify market selection to English-only with US Stock and China A-Share 2025-07-06 02:11:02 +08:00