Find System by Name

Wait


 

Forum: C2 Software Development

New?Last PostPosted By#Subject
5/24/13 (1:31)Tom Balabanov5Auto order entry
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
 
Older subjects >>



Post new message

 
Subject:Questions on using autotrade api
Posted by:Lawrence Lewis  New msg
 
Ignore user's posts for week month forever
When:9/28/07 (13:52) 
 
1. When acknowledging a signal or cancellation, should I wait "pollinterval: milliseconds bewteen acknowledgements?

2. When acknowledging signals (using cmd=confirmsig), the first 2 signals work fine, all the other attempts at confirming the rest of the signals result in an http timeout. I do this in a tight loop (c#) with timeout set at 7 seconds. Any suggestions?
  
 
Subject:Questions on using autotrade api
Posted by:Matthew Klein (Admin)  New msg
When:9/28/07 (14:01) 
 

In response to post by Lawrence Lewis of 9/28/07 (13:52)

1. When acknowledging a signal or cancellation, should I wait "pollinterval: milliseconds bewteen acknowledgements? ...

See entire

Let me answer your question #1, then ask for clarification on question #2.

#1) When doing any sort of acknowledging in the C2ATI (AutoTrading API), then you do not need to respect the pollinterval. The pollinterval should only be used between polling for new signals (i.e. it is the length of time between cmd=latestsigs requests). All other activity can happen at your program's convenience; that is, you can feel free to acknowledge things right away.

#2) Can you post or send me via email a log of the transcript between server and client? If you have any password info in the log, please be sure to clean it before posting here.

  
 
Subject:Questions on using autotrade api
Posted by:Lawrence Lewis  New msg
 
Ignore user's posts for week month forever
When:10/01/07 (19:44) 
 

In response to post by Matthew Klein of 9/28/07 (14:01)

Let me answer your question #1, then ask for clarification on question #2.

#1) When doing any sort of acknowledging in the C2ATI (AutoTrading API), then you do not need to respect the pollinterval. The pollinterval should only be used between polling for new signals (i.e. it is the length of time between cmd=latestsigs requests). All other activity can happen at your program's convenience; that is, you can feel free to acknowledge things right away....

See entire

Thanks for getting back to me so quickly.

Of course, this morning, it works fine. I'll run with fiddler for a few days and let you know if I have any problems.
  
Back up to list of subjects