# C2 Signal Entry API (Reversals)

**URL:** <https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423>\
**Category:** C2\
**Created:** [April 25, 2006, 5:28am UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423 "2006-04-25T05:28:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CSCS](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/cscs/32/238_2.png) [@CSCS](https://forums.collective2.com/u/CSCS)\
**Post date:** [April 25, 2006, 5:28am UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423/1 "2006-04-25T05:28:13Z")

</div>

MK: The C2 API manual states that the syntax for reversals is:  
  
  
  
?cmd=reverse&symbol=EURUSD …  
  
  
  
and that the reversal-related parameters are:  
  
  
  
Here are the reversal-related parameters you can use:  
  
cmd=reverse (required)  
  
symbol=SYMBOL (required)  
  
triggerprice=price (optional)  
  
duration=DAY/GTC (optional; will be GTC unless specified)  
  
quant=new opening quant (optional; use only if you want your final position to be a quantity different than your prior quantity; if not specified, you will go from long to short, or short to long, using the same quantity of position before the reversal).  
  
  
  
 **MY QUESTION:**   
  
  
  
Is there a parameter for the signalid and password - which one would logically expect - when placing reversal orders? The description in the manual is unclear.  
  
  
  
Thanks

---

<div class="post-metadata">

**Author:** ![CSCS](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/cscs/32/238_2.png) [@CSCS](https://forums.collective2.com/u/CSCS)\
**Post date:** [April 25, 2006, 6:57am UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423/2 "2006-04-25T06:57:04Z")

</div>

**Problem resolved!**

---

<div class="post-metadata">

**Author:** ![ZhengZeng2](https://avatars.discourse-cdn.com/v4/letter/z/9e8a1a/32.png) [@ZhengZeng2](https://forums.collective2.com/u/ZhengZeng2)\
**Post date:** [July 30, 2013, 11:29am UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423/3 "2013-07-30T11:29:22Z")

</div>

Hi,  
  
  
  
I’m looking for the solution as well. Would you please provide a full string if you have got the answer?  
  
  
  
Many Thanks,

---

<div class="post-metadata">

**Author:** ![MatthewKlein](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/matthewklein/32/25317_2.png) [@MatthewKlein](https://forums.collective2.com/u/MatthewKlein)\
**Post date:** [July 30, 2013, 12:10pm UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423/4 "2013-07-30T12:10:35Z")

</div>

Yes, sorry for the slow reply, and for the lack of clarity. You do indeed need to include the &systemid and &password parameters to make the command work.

---

<div class="post-metadata">

**Author:** ![ZhengZeng2](https://avatars.discourse-cdn.com/v4/letter/z/9e8a1a/32.png) [@ZhengZeng2](https://forums.collective2.com/u/ZhengZeng2)\
**Post date:** [July 30, 2013, 5:16pm UTC](https://forums.collective2.com/t/c2-signal-entry-api-reversals/4423/5 "2013-07-30T17:16:50Z")

</div>

Thanks Matthew. Is it possible to show me more details?  
  
  
  
For instance, I’m going to long @ESU3 with a profit target 1690, and after it reach 1690, I would like to short @ESU3. How can I do that? Is it possible to provide me an example of reversal order?  
  
  
  
Many Thanks,
