# Can someone help with bracket order API?

**URL:** <https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465>\
**Category:** Alpaca Integration Applications\
**Created:** [May 16, 2020, 4:40pm UTC](https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465 "2020-05-16T16:40:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TEKNECI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/tekneci/32/1449_2.png) [@TEKNECI](https://forum.alpaca.markets/u/TEKNECI)\
**Post date:** [May 16, 2020, 4:40pm UTC](https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465/1 "2020-05-16T16:40:49Z")

</div>

I have a tested strategy based on bracket-ordering.  
no idea on API whatsoever, but I think I need API to submit multiple (maybe around 20) orders a day.  
can someone help with bracket order API?

thanks alot

---

<div class="post-metadata">

**Author:** ![Michael\_D](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/michael_d/32/727_2.png) [@Michael\_D](https://forum.alpaca.markets/u/Michael_D)\
**Post date:** [May 17, 2020, 12:19am UTC](https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465/2 "2020-05-17T00:19:27Z")

</div>

This is how i place bracket order through the C# sdk api, make sure you include the orderclass as bracket.

var order = await alpacaTradingClient.PostOrderAsync(  
new NewOrderRequest(  
sym, quantity, side, OrderType.Market, TimeInForce.Day)  
{  
OrderClass = OrderClass.Bracket,  
TakeProfitLimitPrice = profits,  
StopLossStopPrice = stoploss,  
StopLossLimitPrice = stoplosslimit  
});

---

<div class="post-metadata">

**Author:** ![hitoshi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/hitoshi/32/69_2.png) [@hitoshi](https://forum.alpaca.markets/u/hitoshi)\
**Post date:** [May 19, 2020, 7:06pm UTC](https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465/3 "2020-05-19T19:06:33Z")

</div>

Thank you! We should have more snippet examples in the docs. Appreciate if you can submit PR here [https://github.com/alpacahq/user-docs/tree/master/content/api-documentation/how-to](https://github.com/alpacahq/user-docs/tree/master/content/api-documentation/how-to)

---

<div class="post-metadata">

**Author:** ![Michael\_D](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/michael_d/32/727_2.png) [@Michael\_D](https://forum.alpaca.markets/u/Michael_D)\
**Post date:** [May 20, 2020, 12:55am UTC](https://forum.alpaca.markets/t/can-someone-help-with-bracket-order-api/1465/4 "2020-05-20T00:55:56Z")

</div>

This is very helpful, these would be good to add to your website…

Thanks,  
Michael Duhon  
NTG | Big Help Desk
