API Support Forum
User Profile

Viewing User Profile for: MConcas


About

Sep 15, 2020 08:51 AM

Oct 14, 2020 01:29 PM

Oct 14, 2020 01:29 PM



Post Statistics
MConcas has contributed to 8 posts out of 4906 total posts (0.16%) in 39 days (0.00 posts per day).

20 most recent posts:

FIX Support » FAST Template.xml Oct 14, 2020 @ 01:29 PM (Total replies: 1)

Hi,

we are getting this error message: "Cannot encode message: The template Logon has not been registered." as we load the template:
var templateLoader = new XmlMessageTemplateLoader { LoadTemplateIdFromAuxId = true };

TryDownload();

var template = File.Exists(LocalFilename)
? new FileStream(LocalFilename, FileMode.Open, FileAccess.Read)
: Assembly.GetExecutingAssembly().GetManifestResourceStream("OEC.FIX.Sample.template.template.xml");

templateLoader.Load(template);
_templateRegistry = templateLoader.TemplateRegistry;
MessageFactory = new FastMessageFactory(_templateRegistry);
_clientMessageHandler = new ClientMessageHandler();
_protocol = new SessionControlProtocol11();
_protocol.RegisterSessionTemplates(_templateRegistry);

How can we solve it? thanks

FIX Support » Unknown contract Oct 06, 2020 @ 04:48 AM (Total replies: 1)

Hi, this is my request with 55=ES (like the example string in the GainFutures documetation https://gainfutures.com/GFAPI/?topic=html/bfd39591-ba7a-460f-932b-3f16d2533772.htm):

8=FIX.4.49=13035=D1=API01003411=756d02a5-56a3-4e19-96f8-0136eef6828121=138=140=154=155=ES60=20201006-11:29:41.420200=202010461=FXXXXS10=015

...And this is the rejection for 58=Unknown contract:


8=FIX.4.49=26735=834=249=OEC_TEST52=20201006-09:30:0456=MConcas1=API0100346=011=756d02a5-56a3-4e19-96f8-0136eef6828114=017=OECFIX:637374441025750563:21037=NONE38=039=840=154=155=ES58=Unknown contract60=20201006-09:30:04.517103=1150=8151=0200=202010461=FXXXXS10=247

Can anyone see what's wrong? Thanks for help.

FIX Support » Required tag missing Oct 05, 2020 @ 03:45 PM (Total replies: 2)

358=Required tag missing371=1

This might refer to tag 1( account), but I don't have a valid account ID/number yet. How can I manage, is there a "OEC_ACCOUNT_TEST" like format?

Thanks
Edited by MConcas on Oct 05, 2020 03:47 PM

FIX Support » Required tag missing Oct 05, 2020 @ 01:51 PM (Total replies: 2)

Which tag am I missing?

This is my order:
8=FIX.4.49=10135=D11=15c221a4-1197-4bbf-aa79-d900f97a024e21=138=140=154=155=ES59=060=20201005-15:49:27.35610=054
and these are the answers:
8=FIX.4.49=5435=034=249=OEC_TEST52=20201005-13:49:2956=MConcas10=040

8=FIX.4.49=10135=334=549=OEC_TEST52=20201005-13:50:1956=MConcas45=458=Required tag missing371=1372=D373=110=191

Thanks for help
Edited by MConcas on Oct 05, 2020 01:51 PM

FIX Support » FIX Connection Oct 02, 2020 @ 02:33 AM (Total replies: 4)

Hi where i can set my UUID in the cfg file or in the Request?

FIX Support » FIX Connection Oct 01, 2020 @ 08:40 AM (Total replies: 4)

We are kind of stuck with this problem, any suggestion? Thanks a lot.


Action: Connecting to 64.94.37.238 on port 9300
Connection succeeded
Session reset: ResetOnLogon
Session reset: ResetSeqNumFlag
8=FIX.4.49=8035=A34=149=OEC XXXXXXX52=20201001-10:38:18.38956=OEC_TEST98=0108=30141=Y10=059
Initiated logon request
Session FIX.4.4:OEC XXXXXXX->OEC_TEST disconnecting: System.Net.Sockets.SocketException (0x80004005): Connessione in corso interrotta forzatamente dall'host remoto
in QuickFix.SocketInitiatorThread.ReadSome(Byte[] buffer, Int32 timeoutMilliseconds)
in QuickFix.SocketInitiatorThread.Read()
Logout - FIX.4.4:OEC XXXXXXX->OEC_TEST
Session reset: ResetOnDisconnect

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=2
FileStorePath=store
FileLogPath=log
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary=./spec/fix/FIX44.xml
SocketConnectHost=sim.gainfutures.com
SocketConnectPort=9300
LogoutTimeout=5
ResetOnLogon=Y
ResetOnDisconnect=Y

[SESSION]
# inherit ConnectionType, ReconnectInterval and SenderCompID from default
BeginString=FIX.4.4
SenderCompID=OEC XXXXXXXX
TargetCompID=OEC_TEST
HeartBtInt=30
Edited by MConcas on Oct 01, 2020 08:41 AM
Edited by MConcas on Oct 01, 2020 08:42 AM

API Support » CONNECTION PROBLEM Sep 19, 2020 @ 11:31 AM (Total replies: 1)

Hi.
We're trying to connect to your server via port 9210 (as we did other days with success) but we received always a CONNECTION ERROR.

I've tried to connect throught different IPs and even with a new clean solution with your code example pasted in it (with our username and password) but everytime same result : CONNECTION FAILURE.

Thnx

API Support » CONTRACT PROBLEM Sep 18, 2020 @ 04:46 AM (Total replies: 1)

Hi.

I’m trying to follow your guide on GF API integration on send order (as follow link show https://gainfutures.com/GFAPI/)

I’m encountering problem when I’m trying to retrive the Contract Detail (it is need by the send Order method ).

I can retrive a list of BaseContract ( it has 522 items) .. but when I try to retrive the CONTRACTS INSIDE A SPECIFIC ONE (the IContract object) it give me 0 items (no matter which symbol I choose (ES , ESH18) ..no one of the 522 items has contracts inside itself)