Authentication
The ZenOTC SDK uses API key authentication.
Obtaining API Credentials
- Log in to app.zenotc.com
- Navigate to Settings > API Keys
- Click Create API Key
- Store your API key and secret securely
Authentication Methods
Direct Configuration
from zenotc import ZenOTCClient
client = ZenOTCClient(
api_key="your_api_key",
api_secret="your_api_secret"
)
Environment Variables
export ZENOTC_API_KEY="your_api_key"
export ZENOTC_API_SECRET="your_api_secret"
export ZENOTC_ENVIRONMENT="production"
from zenotc import ZenOTCClient
client = ZenOTCClient() # Reads from env
Environments
| Environment | Base URL | Use Case |
|---|---|---|
production | https://api.zenotc.com | Live trading |
staging | https://api-staging.zenotc.com | Testing |
Next Steps
- Quickstart - Execute your first trade