Topic: Subscription disappeared
(2 messages, Page 1 of 1)
Joined: Nov 09, 2015
In my own application i subscribe a symbol (for example "ESM7") to receive Price/Bid/Ask on OnPriceTick event.
Now, if i execute an order (buy or sell is the same) using OEC Trader developer, and after i exit the position using "Exit All (MKT)" button (in the position form), the subscription of "ESM7" in my own application disappears.
AutoSubscribe property is False. If i set AutoSubscribe = True the problem is solved.
Could be an API bug?
Edited by MFrasson3344 on Jun 13, 2017 03:51 PM
Joined: Oct 26, 2011
The AutoSubscribe is a hidden property with no supported documentation. It could be removed in future releases.
Do not use it.
It has true value by default.