Author |
Topic: Determining if ticks already subscribed (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
DBrubaker673 Posts: 55 Joined: Jul 18, 2007 |
I'm using Remoting to get ticks from one application to another. Is there a way to determine from the AIP whether SubscribeTicks() has already been called once for a given contract? I don't want to call it a second time, because then the OnTicksReceived event gets duplicate ticks for the contract.
Thanks, Dale Dale |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
you can iterate through OECClient.Subscriptions to see what subscriptions you already have.
|
||||