API Support Forum
OEC API > API Support > Demo on how to use the API from gain capital.
Author Topic: Demo on how to use the API from gain capital.
(2 messages, Page 1 of 1)
Moderators: VPfau
MShahi
Posts: 1
Joined: Jun 06, 2019


Posted: Jun 11, 2019 @ 01:32 PM             Msg. 1 of 2
Hello,

As much of a rookie question as it may be, I'm trying to get live farm commodities data using gain capital. However, since I've previously only worked majorly with RESTful API / WebAPI and gainCaptial not support that. I'm confused on how to make what you guys are offering work.

Little run down of my project is, we're building a simulation app that lets the client keep track of the market. They are just going to get information enough to analyze it might be a good time to trade from how the market is moving. After that they are going to third-party app or website or whatever to make the trade.

That being said, I was just wondering if I would be able to get:
a. Live feed
b. Basic run down on how to use the .net app that you guys provide.
When I downloaded OEC API and ran it, it opened up the excel sheet and my VS and then in excel sheet when I tried to connect using my username and password it keeps saying "ActiveX component can't create objects".

Thanks you in advance for any help or tips.
CMicciche902
Posts: 367
Joined:


Posted: Jun 17, 2019 @ 09:32 AM             Msg. 2 of 2
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