API Support Forum
OEC API > API Support > OnPriceTick question
Author Topic: OnPriceTick question
(2 messages, Page 1 of 1)
Moderators: VPfau
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Oct 12, 2011 @ 11:10 AM             Msg. 1 of 2
Hello

We have two of objects in OECAPI COM passed with 'OnPriceTick' event: 'Contract' and 'Price'. However, 'Contract' has a 'CurrentPrice As Price' property. Are passed 'Price' and 'Contract.CurrentPrice' objects identical and returns same data?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Oct 13, 2011 @ 09:25 AM             Msg. 2 of 2
Correct, Contract.CurrentPrice equals to Price argument of the event.


Victor Vins
Lead Software Developer

Edited by VictorV on Oct 13, 2011 at 09:25:36