ezyquant.connect.connect_postgres#
- ezyquant.connect.connect_postgres(host: str, username: str, password: str, port: int, database: str)#
Connect to PostgreSQL database.
- Parameters:
host (str) – PostgreSQL host (e.g. localhost)
username (str) – PostgreSQL username (e.g. postgres)
password (str) – PostgreSQL password (e.g. password)
port (str) – PostgreSQL port (e.g. 5432)
database (str) – PostgreSQL database name (e.g. ezyquant)