API Support » OnDisconnected: Socket error Sep 18, 2020 @ 09:18 AM (Total replies: 3) | |||||
I would suggest trying one of our sample applications: https://bitbucket.org/GainFuturesDev/ Also, I would suggest installing the latest GFAPI Nuget package. Let us know if you are still having problems. |
|||||
API Support » OnDisconnected: Socket error Sep 16, 2020 @ 08:52 AM (Total replies: 3) | |||||
Does this error occur every time? If not, how often does it occur? |
|||||
API Support » Trail Stop Order issue Aug 26, 2020 @ 03:17 PM (Total replies: 2) | |||||
This feature is not currently supported in GFAPI. I have submitted this to the business as a feature request. |
|||||
API Support » How to Add Day Order Apr 21, 2020 @ 09:53 AM (Total replies: 1) | |||||
DAY is the default for an order. Use OrderFlags.None. |
|||||
API Support » Unable to find VBS In new API Apr 20, 2020 @ 03:17 PM (Total replies: 1) | |||||
1. The PIN field is not supported in GFAPI. 2. VBS data is not supported in GFAPI. 3. In GFAPI, the BaseContract class has a property called ContractGroup. |
|||||
API Support » Error when i call GF.Api.Impl.GFApi.CreateClient() Jan 30, 2020 @ 09:54 AM (Total replies: 10) | |||||
I believe these are the DLLs embedded in the GF.Api.Impl DLL in the GF.API NuGet package. Also, a Nuget package is a ZIP file, so you can view the contents by changing the extension to .zip and viewing it as a ZIP file. GF.Api.Internal GF.Api.Msgs GF.Api.Msgs.Order.Admin GF.Api.Msgs.Order GF.Api.Msgs.Price GF.Collections GF.Domain.Common GF.Domain.FuturesPairer GF.Domain.Options.Greeks GF.Net GF.ProtoSharp GF.SimpleInjector LanguageExt.Core SimpleInjector System.ValueTuple |
|||||
API Support » Error when i call GF.Api.Impl.GFApi.CreateClient() Jan 28, 2020 @ 12:11 PM (Total replies: 10) | |||||
It sounds like you are installing your Nuget package differently. You should not have to manually add any project references or copy any DLLs. Instead, use the Nuget tools inside Visual Studio: 1. In the Solution Explorer, right click the solution. Select Manage NuGet Packages for Solution. 2. In the Nuget window, click the Browse tab. Then search for GFAPI in the search bar. 3. Select GFAPI from the search results. On the right side, select all the .NET projects where you want to install this package. Then click Install. 4. In the Solution Explorer, check the References folder under your application. You should see the GFAPI project references. |
|||||
API Support » Error when i call GF.Api.Impl.GFApi.CreateClient() Jan 28, 2020 @ 09:02 AM (Total replies: 10) | |||||
In your VB application, are you using .NET Framework or .NET Core? Currently, GFAPI does not support .NET Core. |
|||||
API Support » Error when i call GF.Api.Impl.GFApi.CreateClient() Jan 28, 2020 @ 07:21 AM (Total replies: 10) | |||||
I was able to reproduce this problem using your steps. (It was not necessary for me to copy any DLLs.) This seems to only affect .NET Core applications. I will investigate the problem further. |
|||||
API Support » Error when i call GF.Api.Impl.GFApi.CreateClient() Jan 27, 2020 @ 07:37 AM (Total replies: 10) | |||||
How are you installing GFAPI? Are you using the Manage Nuget Packages for Solution window in Visual Studio? I installed GFAPI 4.0.3.16 in my solution using this method and was able to call GF.Api.Impl.GFApi.CreateClient() without errors. |
|||||
API Support » GF.Api.Subscriptions.Ticks issue - Duration.Create(DateTime, Int32) Jan 14, 2020 @ 12:18 PM (Total replies: 4) | |||||
I have confirmed the behavior of the API that you are seeing. This appears to be caused by a bug in GFAPI. A fix for this bug will be released this Friday. |
|||||
API Support » GF.Api.Subscriptions.Ticks issue - Duration.Create(DateTime, Int32) Jan 14, 2020 @ 09:45 AM (Total replies: 4) | |||||
Could I see your working code using the other overloads for ITickDurationFactory.Create? Also, what DateTime are you using in your tick subscription request? |
|||||
API Support » Unable to request/lookup contract for Liffe Robusta Coffee Jan 06, 2020 @ 09:02 AM (Total replies: 5) | |||||
Which environment are you using? API/Dev or SIM/Demo? |