Author |
Topic: Subscribing (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
SierraChart Posts: 111 Joined: Jul 17, 2007 |
When subscribing to a contract -- either with Subscribe, SubscribeTicks, or SubscribeDOM -- how can I know if I was successfully subscribed to the contract or not?
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
If data are available - you will receive an update. If you subscribing too many contracts - you will get an error.
There is no other indication. |
||||
SierraChart Posts: 111 Joined: Jul 17, 2007 |
I assume you mean I will get an error with the OnError callback. Is there any way I can match an error in OnError with a particular subscription or contract? I need to know when I've failed to subscribe to ticks on a contract so I can continue to do proper data processing.
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
unfortunately, there is no connection between error and request available now.
|
||||