Author |
Topic: What is OEC Account Name? (10 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
I'm using FIX protocol to create my script. Here's part of my config file:
Account=CRamasamy4419 For Account , I'm not sure what to use. Using just the username is not working. This config works okay for 9300, given that it doesn't take in any login info. But it's not working with 9400. Can anyone help?
|
||||
CMicciche902 Posts: 367 Joined: |
I'll email you the developer account number, or you can locate in Sample app when logged in.
Chris M
|
||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
After I log into my account, and go to real time simulation, I see account number when I try to reset account balance. Is that what Account= is?
|
||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
Thanks, I got the account number and I used it. However, it seems to still not work. My script is going through 9300 correctly, but 9400 is not seem to be working. I'm using FIX protoocl. Below is my configuration settings:
[DEFAULT] And here's the log message I'm receiving: 06/03/2020 06:32:11 PM Waiting to logon ... Edited by CRamasamy4419 on Jun 03, 2020 09:21 PM Edited by CRamasamy4419 on Jun 03, 2020 11:54 PM Edited by CRamasamy4419 on Jun 04, 2020 08:28 AM |
||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
I also see the following event message:
20200604-14:14:31.000000000 : Connecting to api.gainfutures.com on port 9400 (Source :0) Here's my message log: 20200604-14:14:31.000000000 : 8=FIX.4.49=13835=A34=149=CRamasamy441952=20200604-14:14:31.00056=OEC_TEST554=12003=98=0108=30141=Y10=114
|
||||
CMicciche902 Posts: 367 Joined: |
Port 9400 is the SSL port. Are you using stunnel or other similar solution?
Chris M
|
||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
No, I'm not. What is the recommended one for Gain Futures FIX api?
|
||||
CMicciche902 Posts: 367 Joined: |
It's up to you what you want to use for SSL connection. Stunnel is a popular choice.
Chris M
|
||||
CMicciche902 Posts: 367 Joined: |
One of my developers advised:
QuickFIX supports SSL out of box Are you using QuickFIX framework http://www.quickfixengine.org/? Chris M
|
||||
CRamasamy4419 Posts: 19 Joined: Jun 01, 2020 |
That's good to know. Yes, I'm using the QuickFIX framework. I should be able to figure the SSL thing out.
One more thing - for MarketDataRequest, where can I find the MDReqID? To check the price for a particular symbol, is this the right template to use, or SecurityListRequest? |
||||