Find System by Name

Wait


 

Forum: C2 Software Development

New?Last PostPosted By#Subject
4/23/13 (23:09)Matthew Klein3Reversing a Position Using Tradestation
4/03/13 (22:23)Greg Hanowski3sync suggestion
3/14/13 (8:34)Matthew Klein2ordertypes
3/11/13 (17:01)Greg Hanowski1super slow getsystemroster
2/27/13 (19:22)Matthew Klein5orders accepted and then cancelled by the system
2/25/13 (10:33)Greg Hanowski4scaledQuant confusion
2/20/13 (12:20)Greg Hanowski3session timeout
 
Older subjects >>



Post new message

 
Subject:Help needed with the completetrades block
Posted by: Trader68  Support   New msg
 
Ignore user's posts for week month forever
When:6/14/06 (12:40) 
Systems:
 
I'm trying to similate the condition where the C2 reports a limit order has been filled, but the client did not get filled. According to the documentation, a <completetrades> block should be sent when C2 closes the position so that the client can cancel the pending limit order. I am unable to get this block to appear. Here are the steps I took:

1. Submitted a BTO limit order for 100 shares of SPY
2. Acknowledged the receipt of the signal (cmd=confirmsig)
3. Acknowledged that C2 filled the order (cmd=ackc2fill)
4. Submitted a STC market order for 100 shares of SPY

I received no indication that this closing trade took place. Any ideas?

Thanks.

Gary
  
 
Subject:Help needed with the completetrades block
Posted by:Matthew Klein (Admin)  New msg
When:6/14/06 (14:21) 
 

In response to post by Gary Lynn of 6/14/06 (12:40)

I'm trying to similate the condition where the C2 reports a limit order has been filled, but the client did not get filled. According to the documentation, a <completetrades> block should be sent when C2 closes the position so that the client can cancel the pending limit order. I am unable to get this block to appear. Here are the steps I took: ...

See entire

Gary: If the STC filled, you should see the completetrades block. Can you give me the opening and closing signal ids? -- I'll take a look at the server logs to see what happened. You may want to email them to me. - MK
  
Back up to list of subjects