API Support Forum
OEC API > API Support > SubscribeBars(): docs say 4 params, COM intf only has 3
Author Topic: SubscribeBars(): docs say 4 params, COM intf only has 3
(2 messages, Page 1 of 1)
Moderators: VPfau
RAlsip6689
Posts: 2
Joined: Mar 01, 2010


Posted: Jun 07, 2010 @ 05:48 PM             Msg. 1 of 2
SubscribeBars() in the docs says it takes 4 parameters, but the OneLink API COM prototype only takes 3 (i.e., the obsolete version).

How do I get the version I want?

http://www.openecry.com/api/api/OEC.API.OECClient.SubscribeBars_overloads.html

Randy Alsip
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jun 09, 2010 @ 09:57 AM             Msg. 2 of 2
OEC COM API uses postfixes like _2 for overloaded methods. The 4-params SubscribeBars method is SubscribeBars_2 there.

Victor Vins
Software Developer