API Support Forum
OEC API > API Support > COM API: Greeks API Subscription
Author Topic: COM API: Greeks API Subscription
(6 messages, Page 1 of 1)
Moderators: VPfau
CM4645
Posts: 33
Joined: Oct 25, 2022


Posted: Jan 02, 2023 @ 08:46 AM             Msg. 1 of 6
Is there an error in the COM API for the "GreeksChanged" event? The following declaration is produced:

Private Sub GreeksDataAPI_GreeksChanged(ByVal client As GF_Api_COM.IGFComClient, ByVal Contract As GF_Api_COM.IContract, ByVal Price As 0)

End Sub


The "ByVal Price as 0" appears to be an error and causes excel to crash when attempting to run. Manually changing this to "Price As GF_API_COM.IPrice" results in a compile error stating "Procedure declaration does not match description of event or procedure having the same name."
JSmith5611
Posts: 187
Joined:


Posted: Jan 03, 2023 @ 12:29 PM             Msg. 2 of 6
The third param should be of type GF_API_COM.IGreeks
I'll check to see if there's a problem with that event.
Jason Smith
JSmith5611
Posts: 187
Joined:


Posted: Jan 03, 2023 @ 01:21 PM             Msg. 3 of 6
There is an issue. will be fixed.
Jason Smith
CM4645
Posts: 33
Joined: Oct 25, 2022


Posted: Jan 03, 2023 @ 02:10 PM             Msg. 4 of 6
Jason,
Thanks for looking into it. Do you have target date for it to be corrected?

Thanks,
Chris
CM4645
Posts: 33
Joined: Oct 25, 2022


Posted: Feb 22, 2023 @ 08:14 AM             Msg. 5 of 6
Jason,
Any update on this?

Thanks,
Chris
JSmith5611
Posts: 187
Joined:


Posted: Feb 23, 2023 @ 07:25 AM             Msg. 6 of 6
I forgot to update you, sorry. The fix was released in 4.11.127.222 (released on 1/28)
Jason Smith