self.MarketOrder("AAPL", 1000) # Make an order here self.StopMarketOrder("AAPL", -1 * shares, price) # I cannot find any documentation over this

 

How do I get the number of shares I currently have? So the variable shares should be 1000

How do I get the price the MarketOrder was made for? So then I can variable price to be the price of the order - 0.60

Author