API Support Forum
OEC API > API Support > Spread Leg Weight property is missing in OECAPICOM
Author Topic: Spread Leg Weight property is missing in OECAPICOM
(3 messages, Page 1 of 1)
Moderators: VPfau
CWeber984
Posts: 226
Joined: Apr 24, 2012


Posted: Dec 04, 2014 @ 04:21 PM             Msg. 1 of 3
I see in the api documentation this property:

Leg.Weight //Price weight of the leg

However, I am unable to access it in OECAPICOM version of the api:

OECAPICOM::ILegPtr L1 = con->Legs->GetByIndex(0);
L1-> ... no Weight property available.

I checked in the Advanced .NET Sample project. I can access Leg.Weight.

Could you create a new build of OECAPICOM that includes this Weight property? We would like it ASAP.

Thanks much,
Edited by CWeber984 on Dec 4, 2014 at 16:21:35
ZDay
Posts: 25
Joined:


Posted: Dec 09, 2014 @ 04:25 PM             Msg. 2 of 3
Done.

The new version that includes the Weight property can be downloaded from the following location:

http://futures.gaincapital.com/trading/api/documentation.cfm

Thanks,




Zachary Day
Edited by ZDay on Dec 9, 2014 at 16:25:29
Edited by ZDay on Dec 9, 2014 at 16:26:22
CWeber984
Posts: 226
Joined: Apr 24, 2012


Posted: Dec 10, 2014 @ 01:23 AM             Msg. 3 of 3
Thanks, we appreciate it!

CHW