Futures PlaceOrder and - set up take profit
See original GitHub issueI try to find solution about place order. How can i set Take profit when i place order?
var otwarte_pozycje = client.FuturesUsdt.Order.PlaceOrder("BTCUSDT", OrderSide.Sell, OrderType.Limit, 1, PositionSide.Short, TimeInForce.GoodTillCancel, price: 57000M);
How can i set take profit or stop loss?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
How Take-Profit and Stop-Loss Orders Can Help Traders ...
On the Binance App, it's very easy to set up take-profit and stop-loss orders while entering a position. Go to [Futures] and check...
Read more >Order Entry
To gain profit, you can use the Take Profit order, which will automatically close the position at the specified price. To do this,...
Read more >Place Order | Bybit API Documentation
Parameter Required Type
category true string
symbol true string
isLeverage false integer
Read more >How To Set A Stop Loss On Binance Futures-Guide In ...
Suppose you want to cancel take profit order so that you can take profits of your desire, simply press the cross button on...
Read more >How to set a take profit and a stop loss for futures market ...
Take profit order is different then the regular limit order & set TP value after the order executed. Here I explained the detail...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can mess with this code it
s for winform There is some logic you can miss, it
s getting the data from orderbook and winform app.`private void BesLongLimitbutton_Click(object sender, EventArgs e) { Task.Run(async () => { LongTradeAmount = tradeable_balance * (Convert.ToDecimal(Properties.Settings.Default.TRADEPERCENT) / 100); decimal trade_amount = Math.Round(LongTradeAmount * Leverage / bestBid, QUANTITYPRECISION); BesLongOrder_TP = Math.Round(bestAsk, PRICEPRECISION); using (var bfc = new BinanceClient()) { var BesLongorder_SellResult = await bfc.UsdFuturesApi.Trading.PlaceOrderAsync(ASSET, side: OrderSide.Buy, positionSide: PositionSide.Long, type: FuturesOrderType.Limit, quantity: trade_amount, price: bestBid, timeInForce: TimeInForce.GoodTillCrossing) ;