johnnyb15 / Publications
Forum
How to get longer historical price from mt5?
Hi everyone, I'm now using MetaTrader5 libraby for python to get history price data. However, I can't get the the price that from 2014 backward. I just able to get from 2015 to now. My code is as below usdjpy2 = MT5CopyRatesRange( "USDJPY" , MT5_TIMEFRAME_M15, datetime ( 2009 , 1 , 5 ) , datetime (