coinbasepro-python
coinbasepro-python copied to clipboard
Stop order: Setting stop and limit price independently
It seems that the stop-price and limit-price are always set to be equal when placing a stop order. How can they be set independently? Sorry if I'm missing something here. Thanks for any help. https://github.com/danpaquin/coinbasepro-python/blob/5658b2212b0fe39dde18b792f34aeaf81dda6640/cbpro/authenticated_client.py#L466
You can modify the code yourself to differentiate the stop price from the limit price. I submitted a PR for this but you will want to test/use at your own risk.
+1 - thanks for opening a ticket on this, I just ran into it myself and would appreciate it being part of the official library.