Change the dimension of MARKET_BOOK market_book_get

angelinaphys  

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

Documentation on MQL5: Integration / MetaTrader for Python / market_book_get
Documentation on MQL5: Integration / MetaTrader for Python / market_book_get
  • www.mql5.com
market_book_get - MetaTrader for Python - Integration - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: