I’m trying to build Binance Futures API on self project that I can buy/sell add tp/sl levergae…
every thing work perfect expect the Futures Limit Buy and sell , I trying to search every where but I couldn’t find the answer.
first of all thank toy for your quick answer, I’m confused here in this API , What I have understand from the doc that I can use Tp or Sl for each order , I mean I can put the type: STOP or type:TAKE_PROFIT.
So if I choose type: TAKE_PROFIT it’s means that the stopPrice is the “take profit” value.
and if I choose type: STOP it’s means that the stopPrice is the “stop” value.
Dose the API works like that ? is there any way that I can gave the “symbole” a tp price and a sl price?
@Dubi_Avigeni - Yes you are correct. The stopPrice is dynamic and acts either the TP target price or SL trigger price based on what TYPE is used.
As for the second part of your question, I don’t quite understand. What do you mean exactly by giving the symbol a TP/SL price? Can you give some more context?
Thank you for your reply , I guess I’ve understand the problem , I just need to put two orders one with type: TAKE_PROFIT and anther one for type: STOP.
Thanks a lot again ,you’ve help me to understand hows its works.