Forum: C2 Software Development

New?Last PostPosted By#Subject
6/09/14 (5:41)Fabrizio Barbero2
6/09/14 (5:31)Fabrizio Barbero3
5/25/14 (1:31)Mz Mza2Help with Vb6
3/12/14 (16:15)Terry Knight1C2 Signal Entry API & VB.net
3/11/14 (11:05)A B1Problem using Signal API
2/24/14 (22:46)Joe Money1stoplosssignalid in establishstatus
1/30/14 (17:56)Peter O2Interactive brokers vs. C2 forex spreads
 
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
 User is online
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 acknowl...

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