API Support Forum
OEC API > API Support > GF API COM No Autoreconnect
Author Topic: GF API COM No Autoreconnect
(3 messages, Page 1 of 1)
Moderators: VPfau
RWare2020
Posts: 205
Joined: Feb 11, 2020


Posted: Jul 08, 2022 @ 04:14 PM             Msg. 1 of 3
In OECAPI there is a parameter you can pass in when logging in for AutoReconnect. Is this not available in GF API and if so, can we get it in there?

Thanks.
JSmith5611
Posts: 187
Joined:


Posted: Jul 13, 2022 @ 07:53 AM             Msg. 2 of 3
You should be able to implement your own reconnection procedure, there is example code for this:
https://gainfutures.com/GFAPI/html/da57e5d9-0be9-4b5c-a8c8-5e39e11b5c98.htm

The example code is in c#, but should be translatable to COM calls.
Jason Smith
RWare2020
Posts: 205
Joined: Feb 11, 2020


Posted: Jul 13, 2022 @ 11:10 AM             Msg. 3 of 3
Okay, thank you. We have our own reconnection procedure, it's just not as great as OEC API's.

Thanks anyways.