Environmental Variables

Rename the .sample.env file located in openalgo folder to .env

Update the .env with your specific configurations as shown in the provided template.

Sample Environmental File

```
#Set Broker Configuration
BROKER_API_KEY = '<broker_api_key>'


#Set OpenAlgo Login Credentials
LOGIN_USERNAME = '<login_username>'
LOGIN_PASSWORD = '<login_password>'

#OpenAlgo Application Key - Change the Key to Some Random Values
APP_KEY = '335lkjlkj532fff67jk4354'

#OpenAlgo Database Configuration
DATABASE_URL = 'sqlite:///db/openalgo.db'

#OpenAlgo Ngrok Configuration
NGROK_ALLOW = 'FALSE'

#OpenAlgo Hosted Server  or Ngrok Domain Configuration
HOST_SERVER = 'http://127.0.0.1:5000'

```

Last updated