johnnyb15:
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
and the output is
How to fix it to get longer period of data?
Thanks a lot!
check with broker if they have longer period of data
also try another broker

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
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
and the output is
How to fix it to get longer period of data?
Thanks a lot!