mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
The get_db_path() function requires a base_db_path argument to properly resolve PROD vs DEV database paths. Updated all calls to pass "data/jobs.db" as the base path. Changes: - agent_tools/tool_trade.py: Fix 3 occurrences (lines 33, 113, 236) - tools/price_tools.py: Fix 2 occurrences in new database functions - Remove unused get_db_path import from tool_trade.py This fixes TypeError when running simulations: get_db_path() missing 1 required positional argument: 'base_db_path' The get_db_connection() function internally calls get_db_path() to resolve the correct database path based on DEPLOYMENT_MODE.