API Reference
lean login
Description
Lets you log in with your QuantConnect API credentials and stores the given values in the credentials file in your global configuration directory.
If --user-id
or --api-token
is not provided, an interactive prompt is shown and the missing values are read from stdin.
You can request your user Id and API token on your Account page.
Options
The lean login
command supports the following options:
Option | Description |
---|---|
-u, --user-id <string> | QuantConnect user id |
-t, --api-token <string> | QuantConnect API token |
--show-secrets | Show secrets as they are input |
--verbose | Enable debug logging |
--help | Display the help text of the lean login command and exit |