This repository was archived by the owner on Feb 21, 2026. It is now read-only.
Init DSL - #1638
Merged
Merged
Init DSL#1638
Conversation
Herklos
reviewed
Nov 18, 2025
| { | ||
| "version": "1.2.0", | ||
| "origin_package": "OctoBot-Default-Tentacles", | ||
| "tentacles": [], |
Contributor
There was a problem hiding this comment.
I think tentacles classes are missing here
Member
Author
There was a problem hiding this comment.
There are no tentacle classes here, I don't think we want to list all DSL operators here (this list is used to enable/disable tentacles, it's not relevants for dsl operators)
Comment on lines
+30
to
+34
| ("rsi", ["", "(close)", "(close, 14, 20)"]), | ||
| ("macd", ["", "(close)", "(close, 'a')", "(close, 'a', 26)", "('a', 14, 26, 9, 0)"]), | ||
| ("ma", ["", "(close)", "(close, 14, 20)"]), | ||
| ("ema", ["", "(close)", "(close, 14, 20)"]), | ||
| ("vwma", ["", "(close)", "('a', 14)", "(close, 'a')", "(close, 14, 11, 20)"]), |
| return "macd" | ||
|
|
||
| @staticmethod | ||
| def get_parameters() -> list[dsl_interpreter.OperatorParameter]: |
|
|
||
| def compute(self) -> dsl_interpreter.ComputedOperatorParameterType: | ||
| computed_parameters = self.get_computed_parameters() | ||
| return commons_enums.TimeFramesMinutes[commons_enums.TimeFrames(computed_parameters[0])] * commons_constants.MINUTE_TO_SECONDS |
Herklos
approved these changes
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
requires Drakkar-Software/OctoBot-Commons#478
requires Drakkar-Software/OctoBot-Tentacles-Manager#184
requires Drakkar-Software/OctoBot#3134