Author |
Topic: Unsubscribing request fail (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
VVadim41 Posts: 12 Joined: Mar 22, 2010 |
Hello.
Few days ago I see a problem with unsubscribing instruments. I have Tick and Dom subscription and when I send request to unsubscribe this, Tick is not unsubscribed... Result of request and subscription list on my log: 04.06.2010 17:51:17 FDAXM0Dom Unsubscribed, Tick unsubscribing FAIL and request code:
Edited by VVadim41 on Jun 4, 2010 at 10:05:47 |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
client.Unsubscribe(contract); unsubscribes quotes, not ticks. More accurately, it tries to unsubscribe quotes:
- if you have a position, you will not be able to unsubscribe its quotes; - there is a reference counter for quote subscriptions: if you have subscribed twice for a contract, you need to unsubscribe also twice. Victor Vins Software Developer |
||||
VVadim41 Posts: 12 Joined: Mar 22, 2010 |
ok, thx
|
||||