API Support Forum
User Profile

Viewing User Profile for: RBduov


About

N/A

Sep 22, 2020 11:38 PM

Sep 22, 2020 11:38 PM



Post Statistics
RBduov has contributed to 6 posts out of 5573 total posts

20 most recent posts:

API Support » Receiving Option Greeks via .NET GFAPI Sep 22, 2020 @ 11:38 PM (Total replies: 2)

Hello.
On September 15, we observed temporary difficulty with one of our services that process requests for the Options. Now everything is working fine. Please try to request the Greeks again and let us know if you are still having trouble getting the data.
Thank you.

API Support » Receiving Option Greeks via .NET GFAPI Sep 17, 2020 @ 04:10 AM (Total replies: 2)

Hello.
Our specialist investigates the problem and will give you an answer soon.

API Support » Advanced Example on Bitbucket Aug 11, 2020 @ 02:59 AM (Total replies: 3)

Hello,

We have published a new version of the GFAPI package and updated the GF.AdvancedExample.
https://bitbucket.org/GainFuturesDev/advancedexample/commits/c551bc7347e84d2d2fc04044ac98b944ce97a97c

API Support » Advanced Example on Bitbucket Jul 29, 2020 @ 05:57 AM (Total replies: 3)

Hello multichartsDEV1,

Thank you.
We see the problem with getting data of market for '@6..' continuous contracts and working on it.
We will let you know when it will be fixed and released.

Order Execution » Error In TrailingStopLoss order type Apr 28, 2020 @ 07:52 AM (Total replies: 1)

Looks like you are trying to pass a TrailingStopData trailingStopData parameter as null.
https://gainfutures.com/GFAPI/html/M_GF_Api_Orders_Drafts_OrderDraft__ctor.htm

To create order, adjusted to the market price its need to set two components is 'price' and 'delta'.
Please use a TrailingStopData Class to set the values.
https://gainfutures.com/GFAPI/html/M_GF_Api_Orders_ExtendedData_TrailingStopData__ctor.htm

Thanks for reaching out.
_____________________________________________
Ruslan Bduov

API Support » GAIN API COM interface bugs Mar 06, 2020 @ 01:45 AM (Total replies: 4)

Scott Watson,
1) In stdafx.h, the type lib id is incorrect. It appears to reference the typelib id of the old OEC API and should replaced with:

You are right, the current GUID for importing GF.API.COM into your own project is "20A98AD2-2C0F-4192-A53D-0F6189ED5B2B".

2) The bug I cannot correct here is that in the typelib, the reserved C++ keyword "template" is used as a variable name causing the following warning to be emitted:

We are aware of this problem and going to roll out the fix soon.

At the moment, I can recommend using the #import directive with the 'rename' attribute.
https://docs.microsoft.com/en-us/cpp/preprocessor/rename-hash-import?view=vs-2019

#import "libid:20A98AD2-2C0F-4192-A53D-0F6189ED5B2B" rename("max","maximum") rename("min","minimum") rename("template","tmplt")// OEC API
#import "libid:BED7F4EA-1A96-11D2-8F08-00A0C9A6186D" rename("ReportEvent","MsReportEvent")// mscorlib


Thanks for your patience.