parameters: (self, strategy)
docstring: Sets/changes OptionStrategy instance to use.
docstring_summary: Sets/changes OptionStrategy instance to use.
docstring_tokens: Sets / changes OptionStrategy instance to use .
function: def set_strategy(self, strategy):
          """Sets/changes OptionStrategy instance to use."""
          if not isinstance(strategy, OptionStrategy):
              raise ValueError("strategy not instance of OptionStrategy")
          clib.call(self._abi('SetStrategy'), _REF(self._obj),
                    c_int(strategy.strategy_type),
                    c_double(strategy.spread_interval))
function_tokens: def set_strategy ( self , strategy ) : if not isinstance ( strategy , OptionStrategy ) : raise ValueError ( "strategy not instance of OptionStrategy" ) clib . call ( self . _abi ( 'SetStrategy' ) , _REF ( self . _obj ) , c_int ( strategy . strategy_type ) , c_double ( strategy . spread_interval ) )