|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
| How to decide the maximum number of bars available? |
|
[clearpicks]
|
| Post subject: How to decide the maximum number of bars available? |
Post rating: 0
|
Posted: Wed 08 Dec, 2010, 15:25
|
|
User rating: 0
Joined: Tue 12 Jan, 2010, 02:07 Posts: 5
|
|
Hello,
How to control the number of bars are loaded in JForex? How does a chart in JForex decide how many bars to load? How to decide the maximum value of "shift" in IBar getBar(Instrument instrument, Period period, OfferSide side, int shift) before getBar returns a null?
- Clearpicks
|
|
|
|
|
 |
|
[quantisan]
|
| Post subject: Re: How to decide the maximum number of bars available? |
Post rating: 0
|
Posted: Thu 09 Dec, 2010, 15:29
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
|
last time I checked a few months ago, each of the charts loads in 4000 bars you can get a lot more (hundreds of thousands) from IHistory in the API though
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: How to decide the maximum number of bars available? |
Post rating: 0
|
Posted: Thu 16 Dec, 2010, 16:50
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
Hi, There are no limitation to bar count in the getBars method. It depends how many bars stored in the server.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|