API Support Forum
User Profile

Viewing User Profile for: CMicciche902



Jun 17, 2019 09:32 AM

Jun 17, 2019 09:32 AM

Post Statistics
CMicciche902 has contributed to 214 posts out of 4426 total posts

20 most recent posts:

API Support » Demo on how to use the API from gain capital. Jun 17, 2019 @ 09:32 AM (Total replies: 1)

We offer connectivity via FIX and .NET API. Both offer access to our price feed. We provide samples of both on our Bitbucket pages: https://bitbucket.org/GainFuturesDev/

You may review documentation at: https://gainfutures.com/api/index.html

.NET API post on market data: https://gainfutures.com/api/html/4e2865e8-7ac9-457e-8d5a-6d930f3408a8.htm
Chris M

API Support » "Top Of Market" is unreachable May 28, 2019 @ 03:19 PM (Total replies: 1)

All Developers accounts come with CME Market Depth data. We unable to entitle these accounts with Top of Book data. This data plan is only available in public simulation and production environments.
Chris M

API Support » Missing Reference in COM API Sample May 28, 2019 @ 02:56 PM (Total replies: 1)

I do not replicate such issue. Did you obtain the COM sample from https://bitbucket.org/GainFuturesDev/comapisamples/src?

Please be aware that OEC API will be decommissioned in the future. We will be introducing GF API, see annoucement https://apisupport.gainfutures.com/Topic/Index/1223. If you haven't started development, it might be best to wait for new GF API details. This may be available as early as June 2019. Otherwise, if you write to OEC API, you'll need to write to GF API as well.
Chris M

API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 26, 2019 @ 03:45 PM (Total replies: 7)

This was sent to live customers (including your personal email address) on 18-Oct-2018.
Chris M

API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 26, 2019 @ 03:43 PM (Total replies: 7)


We sent customers notice about two-digit year. If you updated the DLL of the API, it now requires two-digit year, whereas older API version you used to build application can still use single-digit year for symbol.

Nuget has older API which supports single-digit year - https://www.nuget.org/packages/OECAPI/

Symbol format to require two-digit year

Dear Valued Customers

Effective October 20, 2018, the GAIN Futures trading platform will prompt
for a software update. We recommend that you perform this update.

The symbol format will change to the following:
Base Symbol + Month Code + Two-digit year

For example, the e-mini S&P format would change from ESU8 to ESU18.

If you are using third-party software, this change may not take place
until the software vendor updates to our latest API version.

If you have any questions, please contact your Introducing Broker.


GAIN Futures Client Services
Chris M

API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 19, 2019 @ 03:44 PM (Total replies: 7)

This issue has been resolved and released. Please check again.
Chris M

API Support » OnSymbolLookupReceived returns empty instruments list Mar 19, 2019 @ 03:43 PM (Total replies: 4)

This issue has been resolved and released.
Chris M

API Support » Unable to resolve symbol Feb 28, 2019 @ 12:52 PM (Total replies: 2)

If you're using latest version of API, you need to use two-digit year in symbol. Eg. ESH19 instead of ESH9.
Chris M

Announcements » New GF API coming in Q2 2019 Jan 04, 2019 @ 11:57 AM (Total replies: 4)

You will be able to use OEC COM API while GF COM API is being developed. There will not be a gap in COM API coverage.
Chris M

Announcements » New GF API coming in Q2 2019 Jan 03, 2019 @ 03:21 PM (Total replies: 4)

The GF API will be based on .NET 4.6.2. As a result, the following operating systems requirements may apply:

Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Server 2012 R2, Windows Vista Service Pack 2

....and newer

Windows XP and Server 2003 will not be supported. Neither are supported by Microsoft and considered End-of-life.

COM API support will not be introduced in the first phase. You'll be able to use OEC API until the GF API offers support for COM.

The 12 month date is not necessarily a firm date. We will detail the timeline in the future as releases occur.
Chris M

Edited by CMicciche902 on Jan 04, 2019 12:00 PM

Announcements » New GF API coming in Q2 2019 Jan 03, 2019 @ 09:25 AM (Total replies: 4)

Dear Valued Partners,

We’re excited to announce GF API, the new GAIN Futures .NET API. In the near future, we will be distributing more information regarding the release.

We plan to offer GF API in the 2nd quarter of 2019. We will support the current OEC API and COM API throughout 2019. However, no additional development or updates will be released to OEC API or COM API and they will be decommissioned after 12 months from the release date. All new development and major updates will be released to our new GF API. A new COM API will be released following the release of the new GF API. For vendors who have written to us via FIX, the new GF API will not impact your application.
Chris M

API Support » API Account Authentication Sep 12, 2018 @ 01:36 PM (Total replies: 3)

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

API Support » Introducing Broker Sep 05, 2018 @ 09:45 AM (Total replies: 1)

Sorry, this is not currently possible via API. The name of your Introducing Broker will appear on your account statement.
Chris M

New Feature Requests » Implement Market to Limit Order Type Jun 20, 2018 @ 10:14 AM (Total replies: 2)

We do not offer a Market to Limit order type in our API and I don't believe this is an exchange-supported order as well. I'll send your inquiry to our Trade Desk.
Chris M

Market Data » Receiving only 2 bars Apr 20, 2018 @ 09:47 AM (Total replies: 3)

Which contract? Does this occur with all symbols or some?
Chris M

API Support » UAT server for testing Mar 21, 2018 @ 10:01 AM (Total replies: 2)

UUID implementation details are explained in the following document for .NET based connections: https://www.gainfutures.com/api/html/fc0637f9-3fd0-407e-ad3a-51e79c4014ed.htm
Chris M

API Support » Re-syncing carried position on Allocation Block(s) Mar 08, 2018 @ 09:00 AM (Total replies: 2)

The wash account does not carry positions from one session to next. However, your Allocation Block definition may show child accounts with positions from prior session.

Acct #: WASHACCT - will show top of day trades only, then reset at market close

Block A:
Customer1 - Long 1 ES from prior session
Customer2 - Long 2 ES from prior session

Block B:
Customer1 - Short 1 NQ from prior session
Customer3 - Short 1 NQ from prior session

If no top of day trades today, WASHACCT shows no activity or positions.
Chris M

API Support » custom indicator issue...big memory usage Feb 28, 2018 @ 04:21 PM (Total replies: 2)

We'll need more information on how RAM is accumulating so high. According to Developers "Indicators are not limited in memory usage." When I open up your indicators with many charts, I do not have such issue. Can you email us the workspace file that produces this effect? Go to File > Workspaces > Save As and email me the file.
Chris M

API Support » Remove Fx account from demo accountslist (OECClient class) Feb 08, 2018 @ 03:08 PM (Total replies: 3)

If you have questions about your demo account and need a forex account removed, please talk to your Introducing Broker. Forum support is provided for Developer accounts.
Chris M

API Support » Remove Fx account from demo accountslist (OECClient class) Feb 08, 2018 @ 02:40 PM (Total replies: 3)

Your Developer user does not have a FX account, just one futures account. Please advise.
Chris M