parameters: (self, stopPrice, goodTillCanceled=None)
docstring: Submits a stop order to close this position.
  
          :param stopPrice: The stop price.
          :type stopPrice: float.
          :param goodTillCanceled: True if the exit order is good till canceled. If False then the order gets automatically canceled when the session closes. If None, then it will match the entry order.
          :type goodTillCanceled: boolean.
  
          .. note::
              * If the position is closed (entry canceled or exit filled) this won't have any effect.
              * If the exit order for this position is pending, an exception will be raised. The exit order should be canceled first.
              * If the entry order is active, cancellation will be requested.
docstring_summary: Submits a stop order to close this position.
docstring_tokens: Submits a stop order to close this position .
function: def exitStop(self, stopPrice, goodTillCanceled=None):
          """Submits a stop order to close this position.
  
          :param stopPrice: The stop price.
          :type stopPrice: float.
          :param goodTillCanceled: True if the exit order is good till canceled. If False then the order gets automatically canceled when the session closes. If None, then it will match the entry order.
          :type goodTillCanceled: boolean.
  
          .. note::
              * If the position is closed (entry canceled or exit filled) this won't have any effect.
              * If the exit order for this position is pending, an exception will be raised. The exit order should be canceled first.
              * If the entry order is active, cancellation will be requested.
          """
  
          self.__state.exit(self, stopPrice, None, goodTillCanceled)
function_tokens: def exitStop ( self , stopPrice , goodTillCanceled = None ) : self . __state . exit ( self , stopPrice , None , goodTillCanceled )