How do I create stop loss and take profit orders?

Hey guys.

  1. When I submit an order I want to also have a stop loss order and a take profit order, how do I do this?

  2. after I have submitted the take profit and stop loss orders how do I amend them?

Please explain and show me the documentation.

Thanks

A close solution is you could place an OCO order. Please find the document at :