Change the dimension of MARKET_BOOK market_book_get

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear,
In python, using import MetaTrader5, I found that market_book_get returns a tuple from BookInfo featuring Market Depth entries for the specified symbol. See
https://www.mql5.com/en/docs/integration/python_metatrader5/mt5marketbookget_py
However, seems the default dimension of market_book_get is 5 ask and 5 sell rows. How to change this dimension to get 20 ask and 20 sell rows, for example?
Greetings,
Angel