dominiktraxl / pykrakenapi

A python implementation of the Kraken API.
GNU Lesser General Public License v3.0
224 stars 53 forks source link

Please can you show me how to open trade with Stop loss and take profit ? #48

Open Samuel-Bachorik opened 3 years ago

Samuel-Bachorik commented 3 years ago

Hello this is no issue i just want to ask you if you can show me function where i can put stop loss and take profit !

Thank you a lot for help.

toddy86 commented 3 years ago

@Samuel-Bachorik this is just in the add_standard_order method. Have a read of the (excellently documented) code and you will see details there. That said, I am testing it as we speak and it does not appear to correctly submit the order (despite an apparent success response). Could be user error