Support DATABASE_URL with connection pooling, pg_dump backups, SQLite migration script, and deploy_postgres.sh with docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Correct main_code order in product refresh, refresh on CTP connect, and limit reconnect to trading or premarket windows.
Co-authored-by: Cursor <cursoragent@cursor.com>
Skip duplicate auto-connect when TD is logged in, stop aggressive query_position hooks, and throttle position refresh.
Co-authored-by: Cursor <cursoragent@cursor.com>