API Support Forum
OEC API > API Support > Inquiry -- Contract Developer needed
Author Topic: Inquiry -- Contract Developer needed
(3 messages, Page 1 of 1)
Moderators: VPfau
ZOakes4527
Posts: 3
Joined: Aug 05, 2020


Posted: Mar 04, 2021 @ 11:26 AM             Msg. 1 of 3
Hello,

I'm interested in building a simple program for Gain Trader / OEC Trader. I use the platform via AutoX, and have been frequently getting disconnected. I simply want a program to monitor the connections from Gain / OEC to Gains servers, and send a notification upon disconnect / failed re-login.

Was hoping I could simply monitor it with PS1 script checking the TCP connection to 9200, 9201, as mentioned in docs -- but am not seeing anything even in a basic netstat report while connected.
Please advise... I'm a developer myself, but don't think it would be efficient for me to build this, and the API doesn't make a ton of sense to me just from the docs. Not sure if GFApi, or shell script would be ideal -- but I need something. These disconnects are costing me money.
CMicciche902
Posts: 347
Joined:


Posted: Mar 04, 2021 @ 11:31 AM             Msg. 2 of 3
GFAPI is an API which is not reliant on GAIN Trader. With the API, you can build your own front-end. GAIN Trader is not an open application, so you cannot make modifications. Go to https://gainfutures.com/gainfuturesapi/documentation/ for documentation and links to samples on the BitBucket page.

Server maintenance would affect all clients, not just GAIN Trader. We reserve 5pm ET to 6pm ET each day, as noted in the disclaimers here: https://gainfutures.com/trading-hours/
Chris M
ZOakes4527
Posts: 3
Joined: Aug 05, 2020


Posted: Mar 04, 2021 @ 11:53 AM             Msg. 3 of 3
I'm not trying to change Gain Trader -- I'm simply trying to build a program to notify me when Gain Trader completely screws me with a disconnect mid week. Another rather obvious solution is to notify users whenever you're going to force a disconnect during market week... but I'm no longer interested in speaking with Gain support.

I don't want a new front end, I want a helper program to provide a feature that you won't build yourself. If you had a developer list, I would just reach out to them -- but here I am on the forum because nobody else seems to know how to use GFApi.

Program can be PS1, Shell, or interact with the GFApi to check existing connections -- not picky, just need something that works (when Gain doesn't).

Thanks!