Why MarketBookAdd failing?

Code below fails with error 4901 (ERR_BOOKS_CANNOT_ADD)
regardless of broker. But I know such a code worked some time ago.
Possible reason(s)?
string symbol = "EURUSD";
int OnInit() {
        ResetLastError();
        if(SymbolSelect(symbol, true) != false) {
                if(!MarketBookAdd(symbol))
                        printf("market book add failed (%i)", GetLastError());
        }
        else printf("symbol select failed (%s)", symbol);
        return 0;
}
void OnBookEvent(const string& _symbol) {
        printf("DOM event for %s", _symbol);
}
void OnDeinit(const int reason) {
        MarketBookRelease(symbol);
}
lollipop:
Code below fails with error 4901 (ERR_BOOKS_CANNOT_ADD)
regardless of broker. But I know such a code worked some time ago.
Possible reason(s)?
You have to choose a broker who provides Depth of Market for EURUSD.

Thanks.

Sure, this is a prerequisite.

However, I can open the DOM manually on each of the brokers I have tested (i.e. FXCM, IronFX, NordFX, MQ demo server), yet the code keeps failing!?

lollipop:

Thanks.

Sure, this is a prerequisite.

However, I can open the DOM manually on each of the brokers I have tested (i.e. FXCM, IronFX, NordFX, MQ demo server), yet the code keeps failing!?

You can open the DOM but no one of the brokers you mentioned provide DOM data.

I see.

Thanks.

angevoyageur:
You can open the DOM but no one of the brokers you mentioned provide DOM data.
Could you advise any broker who provides DOM data?

Noone can give a provider name which offer DOM datas?

Alternatively which is the keyword to search on google a provider name which offer DOM data

?

Alain Verleyen #:
You have to choose a broker who provides Depth of Market for EURUSD.

does Liteforex provide depth of market data? and if yes, Is depth of market data available for demo accounts too?

[Deleted]
George Wilhelm #: does *** provide depth of market data? and if yes, Is depth of market data available for demo accounts too?
Ask the broker. Sign up for a demo account with them and experiment with it.