API Support Forum
OEC API > API Support > RequestTicks
Author Topic: RequestTicks
(5 messages, Page 1 of 1)
Moderators: VPfau
VVadim41
Posts: 12
Joined: Mar 22, 2010


Posted: May 14, 2010 @ 09:42 AM             Msg. 1 of 5
Hello.
I use RequestTicks method for history data and when all data received I try to unsubscribe this contract. Result failed with out errors and client.Subscriptions.count raised for each new request...
Sreenshot here http://img442.imageshack.us/img442/6648/ticks.png
How can I resolve it?
VictorV
Posts: 746
Joined: May 08, 2007


Posted: May 14, 2010 @ 09:55 AM             Msg. 2 of 5
Hello,

you don't need to unsubcribe requests that was sent via RequestXXX methods: they are unsubscribed automatically when all data received.
VVadim41
Posts: 12
Joined: Mar 22, 2010


Posted: May 14, 2010 @ 05:10 PM             Msg. 3 of 5
As you see on my sreenshot SubscribtionList filling FDAXM0 contact infinitely...
And not unsubscribe automatically
VictorV
Posts: 746
Joined: May 08, 2007


Posted: May 14, 2010 @ 05:13 PM             Msg. 4 of 5
Presence in this list doesn't mean that subscription is still active.
VVadim41
Posts: 12
Joined: Mar 22, 2010


Posted: May 15, 2010 @ 04:13 AM             Msg. 5 of 5
Ok, thx for support