Author |
Topic: API Account Authentication (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
DSarigumba Posts: 2 Joined: Aug 29, 2018 |
We are using the .net library to connect to your API. When we authenticate a user we are requested to send their UID/PWD to create a connection to the API. Since we are a web based application this is an issue because every time we need to connect to your service we need to send the users UID/PWD.
The issue is that we are a web based application and doing this is opens up a socket for the duration of the connected session. We have an issue opening a session connection for every account and hold these connections open for the duration of the users session. If we don't keep the session open we will have to re-authenticate and doing so would require us to save the users UID/PWD, which we would not like to do. Do you have a REST endpoint so that we don't have to have a socket open all the time? Thank you |
||||
VPfau Moderator Posts: 164 Joined: |
Hello,
OECAPI works with persistent connections only. Currently we do not provide REST endpoints for that Vitaliy Pfau
|
||||
DSarigumba Posts: 2 Joined: Aug 29, 2018 |
Vitally,
I just want to make sure I did not miss something in the documentation: You provide no other connectivity then OECAPI? Therefore, we will need to open a persistent connection to your service and keep it open for the duration of the users session. And this needs to be done for every Gain user. There are not other workflows? Thank you. Dante |
||||
CMicciche902 Posts: 367 Joined: |
We offer FIX connection as well. See API docs at https://gainfutures.com/api/index.html and go to OEC FIX and OEC FAST for details.
FIX sample is provided here: https://bitbucket.org/GainFuturesDev/oecfixsample/src/master/ Chris M
|
||||