Environment Variables
Environment variables are defined in a .env
file. If this file does not exist, create it inside the same folder user_settings.json
is located.
OPENBB_DEBUG_MODE
: enables verbosity while running the programOPENBB_DEV_MODE
: applicable to the API; exposes, /system and /user, paths.OPENBB_AUTO_BUILD
: enables automatic SDK package build on importOPENBB_API_AUTH_EXTENSION
: specifies which API authentication extension to useOPENBB_API_AUTH
: enables API authentication for command endpointsOPENBB_API_USERNAME
: sets API usernameOPENBB_API_PASSWORD
: sets API password
Variables can be defined for current session only.
import os
os.environ["OPENBB_DEBUG_MODE"] = "True"
from openbb import obb
Proxy Networks
info
See System Settings for information on configuring global settings and the session object.