setMinBars question

jibanes

Member
Joined
Jul 16, 2019
Posts
23
Likes
0
What is the behavior of setMinBars, does it query the broker for historical data? Then we can compare against series.size() to figure out how much historical data was made available, or is there another way to retrieve historical data from a broker?
 

jibanes

Member
Joined
Jul 16, 2019
Posts
23
Likes
0
Can I just do that to retrieve 1000 bars from the broker?

@Override
public int getMinBars() { return 1000; }
 
Top