login
Login and load user info.
Source Code: [link]
openbb.root.login(email: str = "", password: str = "", token: str = "", keep_session: bool = False, silent: bool = False)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
str | The email. | True | ||
password | str | The password. | True | |
token | str | The OpenBB Personal Access Token. | True | |
keep_session | bool | Keep the session, i.e., next time the user logs in, there is no need to enter the email and password or the token. | False | True |
silent | bool | If True, the console print will be silent. | False | True |
Returns
This function does not return anything
Examples
from openbb_terminal.sdk import openbb
openbb.login(email="your_email", password="your_password")