strategy

class strategies.strategy.Strategy(prints=False, strategy_name='example_strategy')

Bases: object

Description:

This class is the main strategy class that will be used to run the strategy.

Parameters:
  • prints (bool) – Print the strategy

  • strategy_name (str) – The name of the strategy module to use

run_strategy()
Description:

This function runs the strategy.

Returns:

The strategy function

Return type:

function