Strategy Development Requirements
This guide covers critical implementation requirements when developing strategies for the Almanak platform. These are not merely suggestions or best practices - they are necessary for your strategies to function correctly on the platform.
Environment Variables
When configuring environment variables for your strategy deployment, adhere to these strict requirements:
Reserved Prefixes
Do not use variables that start with ALMANAK_
prefix. This naming convention is reserved for internal platform
use. Using this prefix will cause conflicts with the platform's own variables and lead to deployment failures.
# ❌ Don't use - will cause deployment failures
ALMANAK_MY_VAR = "value" # This will conflict with platform variables
# ✅ Do use
MY_STRATEGY_VAR = "value" # This follows platform requirements
APP_SECRET_KEY = "secret" # This is also acceptable