API Support Forum
OEC API > API Support > Auto-cenceled on trade sent using "Sample COM Book.xls"
Author Topic: Auto-cenceled on trade sent using "Sample COM Book.xls"
(2 messages, Page 1 of 1)
Moderators: VPfau
ASykes4318
Posts: 18
Joined:


Posted: Nov 20, 2020 @ 02:50 PM             Msg. 1 of 2
I'm testing the new GFAPI using the COM and Excel spreadsheet from Gain Futures...but when I send a "Marker if Touched" it is Auto-cancelled (All trade types are being Auto-canceled) . What are we doing wrong??

Completed Orders information:

Account,Order #,State,Avg.Price,Side,Qty,Filled Qty,Symbol,Price,Last.Cmd,Comments,Time,Post-Allocation,Fill Time,Completed Time
API010024,209453134,Cancelled,,Buy,1,0,GCLF21,MOC,Auto-cancelled,,13:41:47.889,,,13:41:50.036


Please advise

Anthony Sykes
User Name ASykes4318
Account API010024
Anthony Sykes
SPikalov
Posts: 21
Joined:


Posted: Nov 25, 2020 @ 04:40 AM             Msg. 2 of 2
Hello.
At this time, there were two sessions under the user "ASykes4318" from different IP.

First session : AppTite ‘EXCEL’ – the order was created in this session at 2020-11-20 19:41:47 (UTC)
Second session: AppTite ‘MSACCESS’ - the order was canceled in this session at 2020-11-20 19:41:50 (UTC)

So, the cancel command was sent by the user "ASykes4318" from another app

Regards, Sergey