# C2 AutoTrading API problem

**URL:** <https://forums.collective2.com/t/c2-autotrading-api-problem/1668>\
**Category:** C2\
**Created:** [September 15, 2010, 1:19pm UTC](https://forums.collective2.com/t/c2-autotrading-api-problem/1668 "2010-09-15T13:19:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielV](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@DanielV](https://forums.collective2.com/u/DanielV)\
**Post date:** [September 15, 2010, 1:19pm UTC](https://forums.collective2.com/t/c2-autotrading-api-problem/1668/1 "2010-09-15T13:19:06Z")

</div>

Hi,  
  
I’m getting my signals via the ATI API and my own client. Usually it works fine, except for a trade this morning for [LINKSYSTEM\_37780234]. The problem is that the API never sent me the closing trade signal.  
  
  
  
Sequence of events:  
  
\* Around 8:09am I poll the API and get a new signal with sigId=52933541. I confirm to C2 and C2 acks my confirmation.  
  
\* A couple of seconds later I report my fill to C2.  
  
  
  
20100915 08:09:24 Reporting MY execution for signalId=52933541  
  
CMD = [http://74.220.20.155:7878/?cmd=mult2fillconfirm&session=5293315396738176076&h=](http://74.220.20.155:7878/?cmd=mult2fillconfirm&session=5293315396738176076&h=)\<my host here\>&filldata=52933541sep2sep4599sep130.19&live=0  
  
  
  
RESPONSE =  
  
\<collective2\>  
  
\<status\>OK\</status\>  
  
\<error\>  
  
\<code\>0\</code\>  
  
\</error\>  
  
\<data\>  
  
Multiple fill confirmations (0) received for person 42774773  
  
\</data\>  
  
\</collective2\>  
  
  
  
  
  
Is it weird that there’s a (0) in the C2 response? Does that mean C2 got 0 confirmations? I double checked my syntax with the C2 ATI PDF manual and it’s not obvious to me why it is wrong.  
  
  
  
\* Around 12:30pm I should have gotten the exit signal with sigId=52944788 but that never happens. I only get notified that the entry signal is completed.  
  
\<completetrades\>  
  
 \<sigid\>52933541\</sigid\>  
  
\</completetrades\>  
  
  
  
  
  
Daniel

---

<div class="post-metadata">

**Author:** ![DanielV](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@DanielV](https://forums.collective2.com/u/DanielV)\
**Post date:** [September 15, 2010, 1:21pm UTC](https://forums.collective2.com/t/c2-autotrading-api-problem/1668/2 "2010-09-15T13:21:11Z")

</div>

I guess your forum software striped out the vertical bars from the URL for the execution confirmation. But I put them in the right places as indicated in the PDF manual …
