Configuration
Configuration
All strategies have parameters for the user to configure. This is achieved via the StrategyConfig class in the models.py
. It is a Pydantic class which will load a config.json
(taken from the /templates/config_templates.json).
Here is an example of a config.json
:
{
"strategy_configs": {
"HelloWorld-1": {
"strategy_name": "Template_Hello_World",
"parameters": {
"network": "MAINNET",
"chain": "ARBITRUM",
"protocol": "UNISWAP_V3",
"message": "Almanak rocks!"
}
}
}
}