BingX-API / BingX-swap-api-doc

bingx api doc
33 stars 23 forks source link

How to set Trailing Stop via BingX API #15

Open MobinRanjbar opened 1 year ago

MobinRanjbar commented 1 year ago

Hi Folks,

I would like to know how can I set trailing stop to an order? I have not found anything about it in the docs.

Thanks in advance.

matiml commented 1 year ago

Hi Mobin, Have you been able to find a solution to this problem?

MobinRanjbar commented 1 year ago

Hi Mobin, Have you been able to find a solution to this problem?

Hi Matias,

I have contacted BingX Swap Support and they told me to use Stop Order, But I have not figured out how can I find positionId in Request Parameters! If you can please let me know.

Thanks

mhd-godgiven commented 1 year ago

Hi Mobin, Have you been able to find a solution to this problem?

Hi Matias,

I have contacted BingX Swap Support and they told me to use Stop Order, But I have not figured out how can I find positionId in Request Parameters! If you can please let me know.

Thanks

I figured out that you can use Trade open order by TRAILING_STOP_MARKET type to make it but I can't figure out how can i set the action price.

Stanco23 commented 10 months ago

I am also trying to set the action price. I striped the docs from top to bottom and didn't find how to set it. Can someone tell me how it's done or did BingX just not implement it?