How I can get open high low and close of symbol for now using python?

 

I'm try to get High and low for XAUUSD

How I can do this?

 
Salar Dev: I'm try to get High and low for XAUUSD. How I can do this?

copy_rates_from_pos

Get bars from the MetaTrader 5 terminal starting from the specified index

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