What kind of order should i place?

Hello i would like to be able to place with binance API futures a LONG order that gets executed at a specific entry price for example say of 0.9 and set target price as 1.1 and stop price 0.85.

What type of order should i specify ? Thanks

up to now i am trying LIMIT type but i am not sure it’s correct

$uri = "URI: symbol={$market}&side={$side}&type=LIMIT&quantity={$quantity}&price={$entryprice}&timeInForce=GTC&stopPrice={$stoploss}&timestamp=".time();

It seems you are looking for STOP LOSS orders, please find the details of STOP order type from
https://binance-docs.github.io/apidocs/futures/en/#new-order-trade

The LIMIT order has only one price, which is the one that you order will be matched.

Does this mean that a bot should place in this case 3 orders?

one STOP LIMIT order, BUY at 0.9
one TAKE PROFIT MARKET, SELL at 1.1
one STOP LIMIT SELL, LIMIT at 0.85

and then a bot should take care to cancel orders depending on the outcome of the trade?

Isn’t there an API that takes care of this kind of strategy?

Thanks

As I understand, you are looking for one stop limit order, which is when the order is triggered at one price, it will place the actually limit order at another price.
If so you will only need to place one order with:

type=STOP_LOSS_LIMIT
price= xxx
stopPrice= yyy

Hope this will be helpful.

Will try and let you know. thanks for now.

Hi, and how did you do it? Did it work?

No, i could not make it work so I stopped.