Skip to content

Commit 8f177d6

Browse files
techfreaqueGuillaumeDSM
authored andcommitted
[Config] allow switching bot recording id
1 parent 98d5089 commit 8f177d6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

octobot/config/profile_schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@
138138
"type": "number",
139139
"minimum": 0,
140140
"maximum": 1
141+
},
142+
"current-bot-recording-id": {
143+
"type": "integer",
144+
"minimum": 1
141145
}
142146
},
143147
"required": [

octobot/constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@
154154
OPTIMIZER_DATA_FILES_FOLDER = f"{OCTOBOT_FOLDER}/strategy_optimizer/optimizer_data_files"
155155
OPTIMIZATION_CAMPAIGN_KEY = "optimization_campaign"
156156

157+
CURRENT_BOT_RECORDING_ID = "current-bot-recording-id"
158+
DEFAULT_BOT_RECORDING_ID = 1
159+
157160
# Channel
158161
OCTOBOT_CHANNEL = "OctoBot"
159162

0 commit comments

Comments
 (0)