Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 18035

Why does copy_rates_range() return only 1 or 0 bar most of the time in MetaTrader5?

$
0
0

I am using MetaTrader 5 for python and regardless of the specified range, symbol and timeframe, copy_rates_range() almost always returns 0 or 1 bars. In the docs they say it's normal for the first call and that the requested data will be ready for subsequent calls but it just never is.


Viewing all articles
Browse latest Browse all 18035

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>