I am a beginner and I am confused with the OrderTicket concept.

What is the difference between 

self.stopMarketTicket = self.StopMarketOrder("IBM", -300, ibmStockPrice * 0.9)

and 

self.StopMarketOrder("IBM", -300, ibmStockPrice * 0.9)

Are they same to stop the market order?

Author