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
However, seems the default dimension of market_book_getis 5 ask and 5 sell rows. How to change this dimension to get 20 ask and 20 sell rows, for example?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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