API Support Forum
User Profile

Viewing User Profile for: MConcas


Sep 15, 2020 08:51 AM

Dec 02, 2020 05:20 AM

Dec 02, 2020 05:20 AM

Post Statistics
MConcas has contributed to 12 posts out of 5029 total posts (0.24%) in 127 days (0.00 posts per day).

20 most recent posts:

Market Data » MarkeDataRequestReject Dec 02, 2020 @ 05:20 AM (Total replies: 4)

Ok, so I try to recap a little:
- I don't have any login problem: if I get the MarketDataRequestReject, it means I logged in, because I need the Fast hashcode to send a MarketDataRequest and get that answer;
- MConcas is actually a double account, same user with 2 different passwords (not my choice) for two different environments.
-Right after the conformance test I got the new UUID for the sim.gainfutures.com server and somehow from the Gain Support they decided to give MConcas a second password that should have worked there.
- On one side, the situation now is that MConcas with one password and the old UUID works well on api.gainfutures.com, as it worked before the test. It doesn't log in the sim.apifutures.com, and that's ok, because it's not supposed to. This is why you found a data stream running yesterday: it was on the api.gainfutures.com, where it always worked.
- On the other side, MConcas with the new password and the new UUID, that is supposed to work on sim.gainfutures.com, actually only gets to pass through login successfully, but gets rejection on the MarketDataRequest.

I don't know if you have time to catch up with this mess (unfortunately it's been going on for a while already) or if you prefer to create a brand new account, which I've already asked for, but still haven't got any answer. Please help me asap. Thank you.

Market Data » MarkeDataRequestReject Dec 01, 2020 @ 11:30 AM (Total replies: 4)


Market Data » MarkeDataRequestReject Nov 30, 2020 @ 02:43 AM (Total replies: 4)

Hi, this my request message:

{MarketDataRequest -> {, W, ES_202012_1_3, 1, 0, 0, 1, , , [ [MDEntries -> {0, } ] [MDEntries -> {1, } ] ], [ [Instruments -> {ES, 202012, , XCME, FXXXXS, }] ], }}

if I log on to the api.gainfutures.com it works all fine and I get the data feed, but if I log on to the sim.gainnfutures.com I get the reject message:

{MarketDataRequestReject -> {58, Y, ES_202012_2_2, 0, Unknown contract, }}

From the Gain Futures Support they guarantee that I have all the required authorization, UUID, PWD, Account… and that I’m using them good, so far. What are we missing?

FIX Support » ERROR 0 (BROKER) Oct 29, 2020 @ 05:34 AM (Total replies: 1)

Hi .. we're tryng to made sell and buy from platform but it give us alway back rejected reason 0 (broker).

The code is the same as when it worked and we have money (we're in the simulation).

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


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 };


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

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

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):


...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?

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:
and these are the answers:

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 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()
Session reset: ResetOnDisconnect


# inherit ConnectionType, ReconnectInterval and SenderCompID from default
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)

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.


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


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)