Author |
Topic: DOM subscribes limits (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CChen15 Posts: 121 Joined: Jul 23, 2009 |
Hello. Is there in API function that returns max DOM subscribes limit?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chen Hua, Russia |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
There is a collection "Properties" in OECClient. You can use it this way to get DOM limit (in the case of OEC COM API):
_bstr_t value = OECAPI()->Properties->Item("DOMs"); log << "DOM limit: " << value << std::endl; Other useful related properties: MaxBars - number of bar subscriptions MaxTicks - tick subscriptions Quotes - futures-related quote subscriptions QuotesEquity - equity-related quote subscriptions (if you have equity account) QuotesFX - FX quote subscriptions (if you have forex account) Victor Vins Software Developer |
||||
CChen15 Posts: 121 Joined: Jul 23, 2009 |
Thank you very much. I'll try it.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chen Hua, Russia |
||||