coinbasepro-python icon indicating copy to clipboard operation
coinbasepro-python copied to clipboard

Stop order: Setting stop and limit price independently

Open hensel-f opened this issue 5 years ago • 2 comments

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

hensel-f avatar Dec 27 '20 22:12 hensel-f

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.

smbrandonjr avatar Jan 26 '21 18:01 smbrandonjr

+1 - thanks for opening a ticket on this, I just ran into it myself and would appreciate it being part of the official library.

samadsajanlal avatar Jun 12 '21 01:06 samadsajanlal