import tentacles.Evaluator.Strategies as Strategies
class SuperSimpleStrategyEvaluator(SimpleStrategyEvaluator):
# _trigger_evaluation is the methods called when OctoBot is
# asking for a strategy evaluation
async def matrix_callback(self,
# some advanced computations to set final_evaluation value
# update self.eval_note to store the strategy result
self.eval_note = final_evaluation
# finally, call self.strategy_completed to notify that
# trading modes should wake up after this update
await self.strategy_completed(cryptocurrency, symbol)