API Support Forum
OEC API > FIX Support > Python FIX API
Author Topic: Python FIX API
(9 messages, Page 1 of 1)
Moderators: VPfau
AShelest2803
Posts: 2
Joined: Jun 05, 2017


Posted: Sep 12, 2017 @ 06:02 AM             Msg. 1 of 9
Is anybody using python to connect to gain capital futures via FIX protocol?

I could not find one so I have written an open source FIX client.
it passed the GAIN CAPITAL FUTURES conformance tests and available on github

https://github.com/th3sys/transfixed
cheers
Alexy
GTann
Posts: 5
Joined: Oct 02, 2017


Posted: Oct 03, 2017 @ 08:48 AM             Msg. 2 of 9
Thanks, I'm interested in using this library. Will try to integrate this with my application.
ZZhaohui
Posts: 2
Joined: Oct 11, 2017


Posted: Oct 12, 2017 @ 01:26 AM             Msg. 3 of 9
Hi Alexy,

Thank you for the python lib. This is exactly what I'm looking for. I wanted to have a python script that goes in to check my balance, buying power, positions periodically and tell me what adjustment I need to do. And also download option data automatically and save for future reference.

However, I cannot get it to work for me. I got message "This software is not permitted to logon". Do you know what is wrong?

Also can you explain what I should put in the config.ini file for the following:

Account=
Username=
SenderCompID=
Password=
TargetCompID=

Thank you!
AShelest2803
Posts: 2
Joined: Jun 05, 2017


Posted: Oct 12, 2017 @ 02:27 AM             Msg. 4 of 9
like the example says its your OEC user name, password, account and UUID. You need to obtain UUID from gainfutures support. It's per environment and is the reason you cant login. Basically they say "we dont know this UUID"

Account=[OEC Account]
Username=[OEC UUID]
SenderCompID=[OEC Username]
Password=[OEC Password]
ZZhaohui
Posts: 2
Joined: Oct 11, 2017


Posted: Oct 12, 2017 @ 12:00 PM             Msg. 5 of 9
Thank you Alexy. I asked Gain again and they gave me the sample UUID and it works now.
CRamasamy4419
Posts: 19
Joined: Jun 01, 2020


Posted: Jun 01, 2020 @ 01:12 PM             Msg. 6 of 9
Hi Alexy,

This is fantastic and exactly what I need. Is the repo up to date and works properly? I see the last update was made 3 years ago on github - so want to make sure before using.

Also, can I develop using a Linux system? Or does it have to be a windows system for .NET support etc.?

Thanks again!
TLau471
Posts: 70
Joined:


Posted: Sep 02, 2022 @ 08:05 AM             Msg. 7 of 9
Hi,

Is this library able to get datafeed both historical and live as well?
TLau
WWood7842
Posts: 9
Joined: Aug 08, 2023

It's about time...

Posted: Aug 27, 2023 @ 01:57 PM             Msg. 8 of 9
Hi -
I am trying to install transfixed, and the wheel for quickfix is not working for me. I have tried numerous versions (some downloaded from the UCI website) and none seems to work. I am using a Windows 10 system, with python 3.7
Any ideas?
Thanks
CMicciche902
Posts: 367
Joined:


Posted: Aug 28, 2023 @ 09:19 AM             Msg. 9 of 9
We do not provide assistance if you're using a third-party Github repo. Please reach to the developer who build this adapter for assistance.
Chris M